Which of these is an example of a String datatype?, Hello, 123, "Yay", yay123, "a", Which operator do we use to declare a variable?, =, >, <, ==, ( ), print, Python counts myVariable="X" and myvariable="X" as the same variable. True or False?, True, False, Which datatype would x = 3.141 be?, String, Boolean, Integer, Float, Char, What values can a Boolean datatype be?, True/False, A single character (letters, numbers, etc.), Any sequence of letters/numbers, 1 or 0, Any number, Any whole number, Which operator compares if one variable is greater than or equal to another variable?, ==, <=, >=, >, !=, Which if statement returns True when the variables have the same value?, if x == y:, if x = y:, if x is equal to y:, if x != y:, What key word do we use when we want to have more than 2 conditions in an if statement?, else, elif, for, if, while, else if, Does a while loop use definite or indefinite iteration?, Definite, Indefintie, What is wrong with this code?, While should have a capital W, The print statement needs an =, Nothing, but it is an infinite loop, Yay doesn't need speech marks, What does iteration mean?, When code doesn't work, A part of your code that repeats an action/process, The code runs for a fixed number of times, If I have to repeat an action for a fixed number of times, is it better to use a for loop or while loop?, For loop, While loop, If I am repeating my code until the user types a valid input, is it better to use a for loop or while loop?, For loop, While loop, Which for loop will print the numbers 1, 2, 3, 4, 5 once each?
0%
Recapping Programming
Kongsikan
Kongsikan
oleh
Rtandy
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edit Kandungan
Cetakan
Benamkan
Lebih lagi
Tugasan
Papan mata
Paparkan banyak
Paparkan sedikit
Papan mata ini berciri peribadi pada masa ini. Klik
Kongsikan
untuk menjadikannya umum.
Papan mata ini telah dilumpuhkan oleh pemilik sumber.
Papan mata ini dinyahdayakan kerana pilihan anda berbeza daripada pemilik sumber.
Pilihan untuk Kembali
Kuiz
ialah templat terbuka. Ia tidak menjana skor untuk papan mata.
Log masuk diperlukan
Gaya visual
Fon
Langganan diperlukan
Pilihan
Tukar templat
Paparkan semua
Buka keputusan
Salin pautan
Kod QR
Padam
Pulihkan autosimpan:
?