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 Wayground
17 questions
Kiểm Tra Môn Tin Học 10

Quiz
•
10th Grade - University
15 questions
C++ Quiz 1

Quiz
•
12th Grade
15 questions
Eval. 3B Bloque 1

Quiz
•
9th Grade - University
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
25 questions
XI LAT. SOAL 1 PSAS INF XI F

Quiz
•
9th - 12th Grade
17 questions
Экзамен C++ ОП

Quiz
•
9th - 12th Grade
21 questions
Unit 3: Basic Python & Console Interaction

Quiz
•
9th - 12th Grade
15 questions
C++ Тест

Quiz
•
12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade