Which symbol is used to end a statement in C++?
12A and C version 2 Final Semester 1 Exam

Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Dina Sharawy
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
:
;
,
.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? int a = 3, b = 7; cout << a * b;
10
21
37
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop checks the condition before executing the body?
do-while loop
for loop
infinite loop
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? int n = 15; if (n % 5 == 0) cout << "Divisible"; else cout << "Not Divisible";
Divisible
Not Divisible
Error
15
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this loop execute? for (int i = 1; i <= 5; i++) cout << i;
4
5
Infinite
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct operator to compare two values for equality?
=
==
!=
=>
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of y after this code executes? int y = 8; y -= 3;
3
5
8
11
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Introduction to C# Programming

Quiz
•
10th Grade - University
15 questions
Selection Programming_If condition

Quiz
•
8th Grade - University
25 questions
Quizizz JavaScript Attempt 2 Review

Quiz
•
9th - 12th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
15 questions
Quiz Pemrograman Python

Quiz
•
10th Grade - University
15 questions
C++ Тест

Quiz
•
12th Grade
20 questions
Video Game Programming and Design Questions

Quiz
•
9th - 12th Grade
15 questions
Test wiedzy: Tablice jednowymiarowe w C++

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University