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
15 questions
Quiz Pemrograman Arduino

Quiz
•
10th Grade - University
15 questions
Python for loop/lists

Quiz
•
9th Grade - University
15 questions
Quiz sobre el ornitorrinco y la programación

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

Quiz
•
12th Grade
15 questions
แข่งขันcodingม.ต้น

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

Quiz
•
12th Grade
22 questions
Java Programming Quiz

Quiz
•
12th Grade
20 questions
12A and C version 2 Final Semester 1 Exam

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Information Technology (IT)
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University