C++ was developed by ________.
Thomas Kushz
John Kemney
Bjarne Stroustrup
James Goling
Identify the correct extension of the user-defined header file in C++.
.cpp
.h
.header
.hf
Identify the incorrect constructor type.
Friend Constructor
Parameterized Constructor
Copy Constructor
Default Constructor
Which of the following data type is supported in C++ but not in C?
int
double
bool
float
Identify the correct syntax for declaring arrays in C++.
array arr[5]
array[5]
int arr
int arr[5]
Which one of the following is a keyword?
Size
Key
Switch
Jump
_____ is the smallest individual unit in a program.
Variable
Token
Character
Control
What is a constant that contains a single character enclosed within single quotes?
Numeric
Fixed
Floating Point
The modulus operator uses ________ character.
!
M
//
%
Every variable should be separated by __________ separator
Dot
Colon
Comma
Semicolon
Signed, unsigned, long and short are some of the ____.
Void
Data
Derived Data
Modifiers
Logical AND (&&) and Logical OR (||) are ________ operators.
Logical
Equality
Class member
Functional
Variable names must begin with ____
#
$
Number
Letter
In which year, the name of the language was changed from "C with classes" to C++?
1979
1972
1983
1986
C++ language is a successor of which language?
B
C
Java
C#
C++ language is a __________.
Object Oriented Language
Procedural Oriented Language
Structural Oriented Language
None of the above
C++ follows _________.
Top-Down Design approach
Bottom-Up Design approach
Both of the above
C++ is a __________.
High-level language
Medium level language
Low-level language
None of these
How many keywords are in C++?
32
98
95
80
Which of the following statement is correct about identifiers in C++?
Identifiers are the combination of alphanumeric characters that can be used for function and variable names.
Identifiers are a combination of alphanumeric characters that can be used for looping statements.
Which of the following is used for single-line comment in C++?
\\
/* */
Which of the following is used for multi-line comments in C++?
'''
##
Which of the following language translator is used in C++?
Assembler
Interpreter
Compiler
Both Interpreter and Compiler
C++ is case sensitive language?
True
False
Which of the following is not the basic type in C++?
array
char