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
20 questions
python basics

Quiz
•
9th - 12th Grade
22 questions
Internet and App script

Quiz
•
5th Grade - University
15 questions
PBO Kelas XI | Mengenal Tipe Data pada Java

Quiz
•
12th Grade
15 questions
Spreadsheets Knowledge Check

Quiz
•
9th - 12th Grade
25 questions
Unity part_1

Quiz
•
9th - 12th Grade
15 questions
Python Programming Quiz

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

Quiz
•
12th Grade
22 questions
Java Basics

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade