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
Which symbol is used to end a statement in C++?
:
;
,
.
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
15 questions
PBO Kelas XI | Mengenal Tipe Data pada Java

Quiz
•
12th Grade
25 questions
Python - Chapter 3 Practice Quiz

Quiz
•
12th Grade
16 questions
Quiz sobre Vetores e Matrizes

Quiz
•
12th Grade
16 questions
Examen primera unidad Progra 5to Baco/PC

Quiz
•
12th Grade
16 questions
Kuis Uji Pemahaman Python Variabel, Sintaks Dasar, Type Data

Quiz
•
11th Grade - University
15 questions
Python Battle Royale: Who Will Survive in the End?❤️🤔

Quiz
•
9th - 12th Grade
15 questions
programmazione fino ai cicli 3C

Quiz
•
11th Grade - University
20 questions
Основи програмування Екз

Quiz
•
12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade