
Logical operators
Authored by Whizara Teacher
Computers
4th - 12th Grade
Used 3+ 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
30 sec • 5 pts
What does the following code print to the console?
print(4 == 99)
4
99
False
True
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code print to the console?
print(11 == 11)
11
11 == 11
False
True
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code print to the console?
print("mouse" != "mouse")
mouse != mouse
mouse
False
True
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code print to the console?
print(not True)
not True
True
False
none of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following code print to the console?
print("lion" == "cat" or 99 != 88)
lion 99
cat 88
True
False
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?