
C++ Programming Quiz
Authored by MUHAMED (KKJEL)
Computers
12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used with cin for input in C++?
<<
>>
:=
::
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The endl manipulator is used to move the output cursor to the next line.
True
False
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
The statement cout << "Helo"; will display ______ on the screen.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the error: cout >> "Enter your name: "; cin << name;
No error
Input operator used incorrectly
Output operator used correctly
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Write a line of code to output the variable score to the screen.
Evaluate responses using AI:
OFF
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code display?
int x = 10; cout << "x = " << x << endl;
x = 10
10
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid declaration of a constant?
const int MAX = 100;
constant int MAX = 100;
final int MAX = 100;
static const = 100;
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
19 questions
программирование
Quiz
•
9th Grade - University
19 questions
Логические выражения и функции
Quiz
•
10th Grade - University
20 questions
Sjmit-Q2-[Workshop-MAR-25]
Quiz
•
12th Grade - University
16 questions
Hour_of_Code
Quiz
•
5th - 12th Grade
20 questions
Hoja de Calculo
Quiz
•
12th Grade
20 questions
TN +2 -LESSON1 FUNCTIONS
Quiz
•
12th Grade
20 questions
HTML
Quiz
•
10th - 12th Grade
20 questions
S4 SDD Revision
Quiz
•
11th - 12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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