
C++ If
Authored by Thomas Martinez
Computers
8th - 12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code fragment write to the monitor?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code fragment write to the monitor?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank so people 18 years and older are told to vote. if ( age _________ 18 ) cout<<"too young!"; else cout<<"GO VOTE!";
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
How many choices are possible when using a single if-else statement?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression:
2 + 2 == 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which expression below would determine if a number was odd?
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?