
C++ Basics Quiz
Authored by Thi (Artist)
Computers
9th - 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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is #include ?
An object
A header file library
A namespace
A function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C++ is case-sensitive: 'main' and 'Main' has different meaning.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++, each code statement must end with a semicolon (;)
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a single character in C++?
char
int
bool
float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What operator is used with cin to read input?
>> (extraction operator)
% (modulus operator)
<< (insertion operator)
== (comparison operator)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code? cout << "Hello World!"
Hello World!
cout
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which character can be used to insert a new line in your output?
\c
\n
\i
\l
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
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
ICT 9 Quiz 1
Quiz
•
9th Grade
10 questions
Tin học 10 _ Bài 16 _Định dạng văn bản
Quiz
•
10th - 12th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
15 questions
KD 3.1_Aplikasi Pengolah Angka / Spreadsheet
Quiz
•
10th 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