12A and C version 2 Final Semester 1 Exam

12A and C version 2 Final Semester 1 Exam

12th Grade

20 Qs

quiz-placeholder

Similar activities

Table,Image formatting

Table,Image formatting

5th Grade - University

15 Qs

ELEMEN INFORMATIKA

ELEMEN INFORMATIKA

9th - 12th Grade

20 Qs

ÔN TẬP TH4 CK2

ÔN TẬP TH4 CK2

4th Grade - University

16 Qs

PENCEGAHAN DAN PENANGANAN MALWARE

PENCEGAHAN DAN PENANGANAN MALWARE

9th Grade - University

20 Qs

Kelas 8 - Halaman 10 (UH Bab 1)

Kelas 8 - Halaman 10 (UH Bab 1)

8th Grade - University

20 Qs

Quiz về Lập trình máy tính và Ngôn ngữ Python

Quiz về Lập trình máy tính và Ngôn ngữ Python

6th Grade - University

20 Qs

Kuis Ms Word 1

Kuis Ms Word 1

7th Grade - University

20 Qs

Quiz Roblox Studio 2

Quiz Roblox Studio 2

4th Grade - University

20 Qs

12A and C version 2 Final Semester 1 Exam

12A and C version 2 Final Semester 1 Exam

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Medium

Created by

Dina Sharawy

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?