
C++ Exit slip Quiz 2 on Operators and Loops 12A

Quiz
•
Education
•
12th Grade
•
Easy
Dina Sharawy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet?
A) 5
B) 10
C) 15
D) 20
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical operator in C++?
A) +
B) ==
C) &&
D) %
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The modulus operator % can only be used with integer values.
True
False
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the output of the following code:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
A) a is greater
B) b is greater
C) No output
D) Error
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In a for loop, the __ operator is commonly used to increment the loop counter by 1.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following loop execute?
A) 4 times
B) 5 times
C) 6 times
D) Infinite times
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Soal Ekonomi LCC 2

Quiz
•
9th - 12th Grade
10 questions
UH1 Semester 2 Informatika kelas 8

Quiz
•
12th Grade
12 questions
Основи Python

Quiz
•
7th - 12th Grade
6 questions
Magnetic Circuits

Quiz
•
10th - 12th Grade
10 questions
WINDOWS

Quiz
•
9th - 12th Grade
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
10 questions
EXAMEN

Quiz
•
6th Grade - University
14 questions
8º ano . Algoritmos e Simulações

Quiz
•
8th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade