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

Ôn tập HKI Tin học - Khối 5

Ôn tập HKI Tin học - Khối 5

5th Grade - University

19 Qs

Pensamiento Computacional

Pensamiento Computacional

9th - 12th Grade

17 Qs

UlANGAN TENGAH SEMESTER INFORMATIKA BY JENIFER

UlANGAN TENGAH SEMESTER INFORMATIKA BY JENIFER

12th Grade

15 Qs

Jenis dan Dampak Malware Informatika Kelas 9

Jenis dan Dampak Malware Informatika Kelas 9

9th Grade - University

20 Qs

Quiz sobre la Historia de la Computadora

Quiz sobre la Historia de la Computadora

9th Grade - University

15 Qs

QUIZ 2 (FINALS)

QUIZ 2 (FINALS)

12th Grade

20 Qs

Quiz Keamanan Data dan Informasi

Quiz Keamanan Data dan Informasi

9th Grade - University

20 Qs

Quiz tentang App Inventor

Quiz tentang App Inventor

11th Grade - University

21 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

Medium

Created by

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

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?