Which function is used to accept a string input from the user?, input(), str(), int(), print(), What is the result of the expression 5 + 3 * 2?, 16, 11, 13, 10, Which keyword is used to make a decision in Python?, while, for, if, def, Which comparison operator is used to check if two values are equal?, <, >, =, ==, What does the random.randint(a, b) function do?, It generates a random float between a and b., It generates a random integer between a and b., It generates a random boolean value., It generates a random string between a and b., How can you jump out of a loop early in Python?, stop(), return, break, exit(), What does the modulo operator (%) do?, It performs division and returns the quotient., It returns the remainder of division., It performs exponentiation., It checks for equality., How can you loop through code 3 times?, for i in range(3):, for i in sequence(3):, for i in range(len(3)):, for i in 3:, Which function is used to accept an integer input from the user?, input(), print(), str(), int(), What is the output of this code snippet?, Greater than 10, Greater than 7, Less than or equal to 7, None of the above.
0%
Python Quiz 1
Bagikan
Bagikan
Bagikan
oleh
Karenahmed81
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edit Konten
Cetak
Menyematkan
Tambah
Tugas
Papan Peringkat
Tampilkan lainnya
Tampilkan lebih sedikit
Papan peringkat ini saat ini bersifat pribadi. Klik
Share
untuk menjadikannya publik.
Papan peringkat ini telah dinonaktifkan oleh pemilik sumber daya.
Papan peringkat ini dinonaktifkan karena opsi Anda berbeda dengan pemilik sumber daya.
Opsi Pemulihan
Kuis
adalah templat terbuka. Ini tidak menghasilkan skor untuk papan peringkat.
Diperlukan login
Gaya visual
Font
Diperlukan langganan
Pilihan
Berganti templat
Tampilkan semua
Format lainnya akan muncul saat Anda memainkan aktivitas.
)
Buka hasil
Salin tautan
Kode QR
Hapus
Pulihkan simpan otomatis:
?