C++ Bootcamp 2k24

C++ Bootcamp 2k24

University

20 Qs

quiz-placeholder

Similar activities

C - Strings

C - Strings

University

20 Qs

Programming in C(1)

Programming in C(1)

University

20 Qs

Quiz #1

Quiz #1

University

16 Qs

C Programming (Unit- 1) Quiz

C Programming (Unit- 1) Quiz

University

20 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

ROUND 1

ROUND 1

University

20 Qs

Common errors in C programming

Common errors in C programming

University

15 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

C++ Bootcamp 2k24

C++ Bootcamp 2k24

Assessment

Quiz

Computers

University

Hard

Created by

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

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?