
Conditionals and Comparisons Quiz
Authored by srishti ahuja
Other
KG - 12th Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you write the statement that will check if a is less than or equal to b?
if a <= b:
if a < b
if a less than b:
if a > b
if a < b:
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do you write the statement that will check if a is equal to b?
if a equals b:
if a === b:
if a == b:
if a = b:
if a == b
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print?
"that statement is incorrect"
"5 is less than 5"
nothing
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What would print?
"A"
"B"
"C"
"B"
"C"
"A"
"C"
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
what would it print?
"A"
"A"
"D"
"B"
"C"
it will be an error
I really don't know
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?