
C++ IF statements
Authored by Anna Niewodniczanska
Computers
8th - 12th Grade
Used 131+ times

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?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade