12A and C version 1 Final Semester 1 Exam

Quiz
•
Information Technology (IT)
•
12th Grade
•
Easy
Dina Sharawy
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare an integer variable in C++?
int num;
integer num;
var num;
num int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? int x = 5, y = 10; cout << x + y;
10
15
50
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following loops executes at least once, regardless of the condition?
for loop
while loop
do-while loop
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? int a = 8; if (a % 2 == 0) cout << "Even"; else cout << "Odd";
Even
Odd
8
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code? for (int i = 0; i < 3; i++) cout << i << " ";
0 1 2
1 2 3
0 1 2 3
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for multiplication in C++?
/
*
%
#
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following code executes? int x = 5; x += 10;
5
10
15
50
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quizz Informatika Analisis Data Kelas 9

Quiz
•
9th Grade - University
15 questions
แข่งขันcodingม.ปลาย

Quiz
•
12th Grade - University
15 questions
Fungsi Input dan Output dalam C

Quiz
•
12th Grade
16 questions
9 Weeks Test

Quiz
•
9th - 12th Grade
15 questions
codingม.ต้น

Quiz
•
12th Grade - University
16 questions
Sistematizacija gradiva IX

Quiz
•
9th Grade - University
20 questions
Quizizz SIOTICS #2

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

Quiz
•
12th Grade
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