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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
CodeHS Principles of Computing 6.8.1 The Internet Quiz
Quiz
•
9th - 12th Grade
15 questions
แข่งขันcodingม.ต้น
Quiz
•
12th Grade - University
15 questions
Quiz Pemrograman Arduino
Quiz
•
10th Grade - University
15 questions
All About Copyright
Quiz
•
9th - 12th Grade
21 questions
E5-1 Data Processing CE2
Quiz
•
9th Grade - University
25 questions
3 Tri C# 3
Quiz
•
12th Grade
25 questions
3 Tri C# 2
Quiz
•
12th Grade
15 questions
MakeCode Arcade Questions
Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
11 questions
Halloween Trivia #2
Quiz
•
12th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
21 questions
Halloween & Math
Quiz
•
8th - 12th Grade
