
C++ Language Quiz
Authored by Noam Ben-Zion
Computers
10th Grade
Used 28+ 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
Which programming language is often considered one of the first high-level programming languages?
C++
Java
Python
HTML
Scratch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'include
It includes the input/output stream library
It includes the math library
It includes the graphics library
It includes the string library
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'do-while' loop in C++?
To execute a block of code at least once and then repeatedly until a specified condition is true
To execute a block of code repeatedly until a specified condition is true
To execute a block of code repeatedly as long as a specified condition is true
To execute a block of code at least once and then repeatedly as long as a specified condition is true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'Vectors' in C++?
To store a collection of elements of the same type
To store a collection of elements of different types
To store a collection of elements with fixed size
To store a collection of elements with dynamic size
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'Classes' in C++?
To define a collection of data members and member functions
To define a collection of objects
To define a collection of variables
To define a collection of functions
6.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
Which programming language shares similar attributes with C++ for conditional statements?
JavaScript
Ruby
Python
Swift
Fortnite engine
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'if-else' statement in C++?
To execute a block of code at least once and then repeatedly as long as a specified condition is true
To execute a block of code repeatedly as long as a specified condition is true
To execute a block of code based on a specified condition
To execute a block of code repeatedly until a specified condition is code
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?