
C++ Introduction Quiz
Authored by Chandrika Chandrika Binti Mohd Jayothisa
Computers
University
Used 7+ 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 C++?
C++ is a programming language
C++ is a type of car
C++ is a mathematical equation
C++ is a type of coffee
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed C++?
Bjarne Stroustrup
Dennis Ritchie
Linus Torvalds
Bill Gates
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic data types in C++?
int, float, double, char, bool
number, string, boolean, object
integer, decimal, character, boolean
string, array, pointer, void
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between C and C++?
C is a procedural programming language while C++ is a multi-paradigm programming language that supports both procedural and object-oriented programming.
C++ is a newer version of C with additional features.
C is an object-oriented programming language while C++ is a procedural programming language.
C and C++ are the same programming language.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for declaring a variable in C++?
variable_name = data_type;
variable_name data_type;
variable_name = data_type
data_type variable_name;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'cout' object in C++?
The purpose of the 'cout' object in C++ is to output data to the standard output stream.
The purpose of the 'cout' object in C++ is to handle file input/output operations.
The purpose of the 'cout' object in C++ is to perform mathematical calculations.
The purpose of the 'cout' object in C++ is to input data from the standard input stream.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'cin' object in C++?
To write output to the console
To perform mathematical calculations
To create graphical user interfaces
To read input from the user
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?