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
Share
Share
by
Rtandy
Secondary
Computing
Programming Fundamentals
Programming Techniques
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Quiz
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
Open results
Copy link
QR code
Delete
Continue editing:
?