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
Programming B
0
%
0
0
0
Back
Restart
Variable names are case-sensitive (age, Age and AGE are three different variables).
True
Oops!
Okay!
The Python program below has been written as part of an age confirmation check for an online game. Match each letter to the correct description.
comment, user-defined variable, function
Oops!
Okay!
Can you predict what shapes the code will draw?
A. Square B. Triangle
Oops!
Okay!
Can you predict what shape the code will draw?
Rectangle
Oops!
Okay!
Here is some code. Which of these describes what the code is saying?
B
Oops!
Okay!
Please mention the data type of the line.
List
Oops!
Okay!
Rectangle shape is used to represent a process or calculation in a flowchart algorithm.
True
Oops!
Okay!
State the meaning of this operator: != ......................
not equal to
Oops!
Okay!
A variable name can start with a number.
False
Oops!
Okay!
Which of the following would be considered good advice for naming a variable?
B
Oops!
Okay!
There is an error in the code. Identity the line number of the error.
Line 1
Oops!
Okay!
Match the algorithmic terms to the lines of code.
Iteration, Sequence, Selection
Oops!
Okay!
A student has written a program that calculates the area of a rectangle. However, the program has some errors. State the three errors in the program.
", int, *
Oops!
Okay!
State the name of the variable in Line 3.
MathMark
Oops!
Okay!
The program below asks the user about the weather and then offers some simple advice. State the name of the missing statement in line 4.
else
Oops!
Okay!
The operator, ==, represents greater than.
False
Oops!
Okay!
Your experience on this site will be improved by allowing cookies.
Allow cookies