What does the following code fragment write to the monitor?
C++ IF statements

Quiz
•
Computers
•
8th - 12th Grade
•
Hard
Anna Niewodniczanska
Used 128+ times
FREE Resource
Student preview

14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2 + 2 == 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a free account and access millions of resources
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade