Toggle Navigation
Games
Blog
Class PIN
Join for Free
Sign in
Toggle Navigation
Games
PIN
Join for Free
Blog
Pricing
Contact us
Help center
Sign in
Study
Algorithm & Programming
0
%
0
0
0
Back
Restart
What is the purpose of an if statement?
Decision making
Oops!
Okay!
What symbol is used in python to assign values to a variable?
equals =
Oops!
Okay!
When does a while loop stop running?
When the condition is false
Oops!
Okay!
Which data type is used to store: "D"
String
Oops!
Okay!
Which data type is used to store: TRUE
Boolean
Oops!
Okay!
What will this code output?
1,2,3,4,5,6,7,8,9
Oops!
Okay!
This data type is used to store whole numbers
Integer
Oops!
Okay!
What is the word (command) used to display numbers and text on the screen?
Print
Oops!
Okay!
Which keyword is used to repeat code while a condition is true?
While Statement
Oops!
Okay!
Which loop is best when the number of repetitions is known in advance?
For statement
Oops!
Okay!
Which Data Type would the following be stored as:--- " Biscuit "
String
Oops!
Okay!
Which loop is more suitable for processing each item in a list?
For Statement
Oops!
Okay!
The number or word we give to a variable
Value
Oops!
Okay!
Which of these would work as a piece of code?
if answer=="Yes" :
Oops!
Okay!
Which data type is used to store: 100
Integer
Oops!
Okay!
What does break do in a loop?
stop the execution
Oops!
Okay!
When is break most appropriately used?
Condition is MET
Oops!
Okay!
Which control structure is best to check multiple conditions?
if–elif–else
Oops!
Okay!
Which of the following is an integer?
2
Oops!
Okay!
A price such as £3.65 should be saved as which data type?
Float
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies