
Quiz 1
Authored by RAFIZAH MOHD HANIFA
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Who invented C++?
Dennis Ritchie
Ken Thompson
Brian Kernighan
Bjarne Stroustrup
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is C++?
C++ is an object oriented programming language
C++ is a procedural programming language
C++ supports both procedural and object oriented programming language
C++ is a functional programming language
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a correct identifier in C++?
VAR_1234
$var_name
7VARNAME
7var_name
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following type is provided by C++ but not C?
double
float
int
bool
5.
MULTIPLE CHOICE QUESTION
2 mins • 3 pts
What is the value of p in the following C++ code snippet?
12
0
2
16
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is used to terminate the function declaration in C++?
;
]
)
:
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which concept allows you to reuse the written code in C++?
Inheritance
Polymorphism
Abstraction
Encapsulation
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?