basic operations c++

basic operations c++

206 Qs

quiz-placeholder

Similar activities

APLIKASI OFFICE

APLIKASI OFFICE

7th Grade

208 Qs

CUESNTIONARIO CALIFICABLE 10

CUESNTIONARIO CALIFICABLE 10

10th Grade

209 Qs

QUIZZIZ 7  MEI 2025

QUIZZIZ 7 MEI 2025

7th Grade

210 Qs

ICT test

ICT test

University

201 Qs

GCSE Computing, Paper 1, the big quiz.

GCSE Computing, Paper 1, the big quiz.

8th - 10th Grade

202 Qs

JUNIT & MULTI THREADING

JUNIT & MULTI THREADING

University

202 Qs

July

July

University

204 Qs

Final

Final

University

210 Qs

basic operations c++

basic operations c++

Assessment

Quiz

Computers

Hard

Array

Standards-aligned

Created by

Rizal Firdaus

FREE Resource

206 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these characters is used for multiplication?

+

-

*

/

x

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int c = 4;

int d = 2;

cout << c*d;

6

2

8

16

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code output?

int g = 2;

int h = 2;

int j = 3;

cout << (g + j) * h;

10

8

12

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this code output?

int r = 2;

int s = 3;

int t = 5;

cout << r + s * t;

11

17

25

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int x = 5;

x = 3;

cout << x;

3

5

15

2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int x = 3;

x = x + 2;

cout << x;

5

2

3

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int x = 4;

int y = 2;

y = x * y;

cout << y;

8

16

2

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?