
C++ Operators
Authored by Natalia Fumero
Science, Computers, Mathematics
6th - 8th Grade
Used 137+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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;
}
-
+
==
%
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Networking Quiz
Quiz
•
8th - 9th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
15 questions
Absolute Value and Integers
Quiz
•
6th - 7th Grade
13 questions
Lekcja14 7-8
Quiz
•
7th - 8th Grade
15 questions
Números Enteros y Expresiones algebraicas PRIMERO
Quiz
•
7th Grade
15 questions
Repaso Examen trimestral 3
Quiz
•
8th Grade
9 questions
Tin học 8
Quiz
•
8th Grade
10 questions
TOÁN 8_KHỞI ĐỘNG MỞ ĐẦU VỀ PHƯƠNG TRÌNH
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
33 questions
Grade 6 Quarter 3 PMA 5 Review
Quiz
•
6th - 8th Grade
85 questions
Midpoint D1 Review
Quiz
•
8th Grade
20 questions
Rocks and The Rock Cycle
Quiz
•
6th Grade
12 questions
Ecological Succession
Quiz
•
7th Grade
12 questions
Newton's Laws of Motion
Lesson
•
6th - 8th Grade
10 questions
Exploring the Rock Cycle: Types and Formation
Interactive video
•
6th - 8th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
20 questions
Pure Substances & Mixtures
Quiz
•
8th Grade