C++ Bootcamp 2k24

C++ Bootcamp 2k24

University

20 Qs

quiz-placeholder

Similar activities

DWDM-2

DWDM-2

University

20 Qs

Kuis Artificial Intelligence

Kuis Artificial Intelligence

University

15 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Artificial Intelligence CT-1

Artificial Intelligence CT-1

University

20 Qs

Pra UPS 2

Pra UPS 2

University

20 Qs

STM 2013 : FORMATIF T3-FORM & REPORT

STM 2013 : FORMATIF T3-FORM & REPORT

University

20 Qs

From Binary To Denary Conversion - IGCSE

From Binary To Denary Conversion - IGCSE

7th Grade - Professional Development

20 Qs

Redes Vlan

Redes Vlan

University

15 Qs

C++ Bootcamp 2k24

C++ Bootcamp 2k24

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Harshavardhan Bamane

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?