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
25 questions
SAS Dasar Program Keahlian RPL Kelas X

Quiz
•
10th Grade - University
15 questions
Mobile Devices and Networking Concepts Quiz

Quiz
•
12th Grade
15 questions
Mastering Pointers and Functions

Quiz
•
12th Grade
15 questions
C++ Quiz 1

Quiz
•
12th Grade
15 questions
Quiz sobre el ornitorrinco y la programación

Quiz
•
8th Grade - University
22 questions
Java Programming Quiz

Quiz
•
12th Grade
17 questions
Quiz sobre Vetores em Programação

Quiz
•
12th Grade
25 questions
XI LAT. SOAL 1 PSAS INF XI F

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area

Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO

Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)

Quiz
•
9th - 12th Grade