C++ Bootcamp 2k24

Quiz
•
Computers
•
University
•
Hard
Harshavardhan Bamane
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Who developed C++ programming language?
Dennis Ritchie
Prajwal Shah
James Gosling
Bjarne Stroustrup
Answer explanation
C++ was developed by Bjarne Stroustrup, as an extension to C language.
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What are the features of C++? (Multiple correct)
Object Oriented Programming Language
Standard Template Library (STL)
Very very simple language
Worst memory management
Answer explanation
Advantages of C++ Language:
I)Object Oriented Programming Language.
II)Standard Template Library (STL).
III)Better memory management.
Disadvantages of C++ Language:
IV)Complex programming language.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is not a Keyword in C++ Language?
free
auto
if
int
Answer explanation
In C++, the term "free" is commonly associated with memory management functions, particularly with the free function.
So it is a function not keyword!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is a Derived Data Type?
int
float
pointer
char
Answer explanation
I) int-primitive data type
II)class - user-defined data type
III) Structure - user-defined data type
IV) pointer-derived data type
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct identifier in Cpp?
INT_1234
7VAR_NAME
$var_name
5variable
Answer explanation
INT_1234 - Correct identifier
7VAR_NAME - Incorrect identifier (starts with a digit)
$var_name - Incorrect identifier (contains a dollar sign, which is not allowed)
5variable - Incorrect identifier (starts with a digit)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is more effective while calling the C++ functions?
call by surname
call by name
call by reference
call by value
Answer explanation
Call by reference implement pointers i.e.
do not copy data before operations!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output (if possible)?
Compilation Error
We Love C Plus Plus
We Love C Plus Plus
0
WeLoveCPlusPlus0
Answer explanation
endl : used to print new line in output
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Coding club Summit Online Quiz

Quiz
•
University
20 questions
C Programming Quiz(session 1)

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
15 questions
Milking Minds 2 17-01-24

Quiz
•
University
15 questions
Java Bootcamp Day 4

Quiz
•
University
25 questions
GNIDOC ROUND 1

Quiz
•
University
20 questions
Pointers

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade