C++ Operators

C++ Operators

6th - 8th Grade

12 Qs

quiz-placeholder

Similar activities

C++ While Loops

C++ While Loops

6th - 8th Grade

15 Qs

C++ Functions

C++ Functions

6th - 8th Grade

11 Qs

C++ Recursion

C++ Recursion

8th - 12th Grade

12 Qs

main.cpp

main.cpp

7th - 12th Grade

16 Qs

Kuis Percabangan

Kuis Percabangan

1st - 10th Grade

12 Qs

The Ultimate C++ Quiz

The Ultimate C++ Quiz

5th Grade - Professional Development

7 Qs

แบบทดสอบการเขียนโปรแกรม C++

แบบทดสอบการเขียนโปรแกรม C++

7th - 9th Grade

16 Qs

C++ test

C++ test

1st - 10th Grade

10 Qs

C++ Operators

C++ Operators

Assessment

Quiz

Science, Computers, Mathematics

6th - 8th Grade

Medium

Created by

Natalia Fumero

Used 135+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these operators increments an integer variable by one?

" * "

" - - "

" + + "

>

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these operators gets the remainder of dividing two numbers?

#

&

%

==

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Fill in the blank to get 1 outputted from this code:


int main() {


int a = 2;

int b = 13;


cout<< b _ a <<endl;


}

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

True or False. This code will output 0


cout<< 23 % 2 <<endl;

True

False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

True or False. This code will output 1


cout<< 55 % 2 <<endl;

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank to get 0 outputted from this code:


int main() {


cout<< 12 ___ 12 <<endl;


}

-

+

==

%

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Fill in the blank to get 0 outputted from this code:


int main() {


cout<< 12 ___ 3 <<endl;


}

-

+

==

%

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?