
C++ Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
MUHAMED (KKJEL)
Used 4+ times
FREE Resource
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;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Data Structures

Quiz
•
University
25 questions
Introduction to Java

Quiz
•
University
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
15 questions
Bootcamp Day 3 - Java Array

Quiz
•
University
15 questions
Java Math

Quiz
•
9th - 12th Grade
15 questions
Quiz 2 - CS110

Quiz
•
University
20 questions
Quizz C++ ^_^

Quiz
•
University
20 questions
C - Strings

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade