What is #include ?
C++ Basics Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Thi (Artist)
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
C - Language Quiz

Quiz
•
12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
15 questions
Class 12 Skill Competition 2023-24

Quiz
•
12th Grade
15 questions
UTS SMT Genap PBO 11 RPL

Quiz
•
11th Grade
10 questions
String Methods

Quiz
•
9th - 12th Grade
15 questions
Basic Programming Concepts

Quiz
•
9th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
10 questions
AP Computer Science-Quiz 2(G10)

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade