Search Header Logo

C++ Bootcamp 2k24

Authored by Harshavardhan Bamane

Computers

University

Used 3+ times

C++ Bootcamp 2k24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Media Image

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

Media Image

Advantages of C++ Language:

  1. I)Object Oriented Programming Language.

  1. II)Standard Template Library (STL).

  1. 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

Media Image

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

Media Image

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

Media Image

  1. INT_1234 - Correct identifier

  2. 7VAR_NAME - Incorrect identifier (starts with a digit)

  3. $var_name - Incorrect identifier (contains a dollar sign, which is not allowed)

  4. 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

Media Image

Call by reference implement pointers i.e.

do not copy data before operations!

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output (if possible)?

Compilation Error

We Love C Plus Plus

We Love C Plus Plus

0

WeLoveCPlusPlus0

Answer explanation

Media Image

endl : used to print new line in output

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?