WorksheetsTelebort Prog F - Conditional Statement
Total questions: 10
Worksheet time: 5mins
Identify the output:
The number is between 0 and 10
The number is more than 10
No output
Error occurs
What is the input should we enter to show the output: "You are not allowed to watch this movie"?
18
8
30
56
What syntax should we use in the red rectangle shown in the code so that the output becomes "False"?
!=
<
<=
>=
What will be the output of the code?
True
False
No output
Error occurs
Based on the code, what is the value of X should we use to obtain a grade A or B in quiz?
X = 84
X = 44
X = 54
X = 64
Which of the following sentence will NOT show in output if the input we use is 32?
Good job!
Don't get discouraged and you will be better next time!
Pretty good!
None of the above
What is the output?
First statement is TRUE
First statement is TRUE
Third statement is TRUE
First statement is TRUE
Second statement is TRUE
Error occurs
Which of the following is the syntax we use in the red rectangle so that the output will become TRUE?
>
>=
!=
<
In the code, there is an error when running this code cell. Which of the following is the correct code that can solve this problem?
What is the output of this code?
A
A
B
C
D
A
B
C
D
F
Error occurs
