DAY-2 DSA BOOTCAMP

DAY-2 DSA BOOTCAMP

University

10 Qs

quiz-placeholder

Similar activities

BCSC0006 - Quiz 1 - Arrays

BCSC0006 - Quiz 1 - Arrays

University

10 Qs

Quiz 8: Arrays&Vector

Quiz 8: Arrays&Vector

University

10 Qs

Arrays and Pointers in C

Arrays and Pointers in C

University

15 Qs

C++ Quiz

C++ Quiz

University

10 Qs

Android App Development

Android App Development

University

12 Qs

C Programming Array Concepts

C Programming Array Concepts

University

15 Qs

PHP

PHP

University

10 Qs

Arrays C++

Arrays C++

University

12 Qs

DAY-2 DSA BOOTCAMP

DAY-2 DSA BOOTCAMP

Assessment

Quiz

Computers

University

Hard

Created by

ATHARVA GALNE

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not correct for virtual function in C++ ?

Must be declared in public section of class.

Virtual function can be static.

Virtual function should be accessed using pointers.

Virtual function is defined in base class

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Identify the scope resolution operator.

:

;

: :

| |

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not the member of class?

Static function

Friend function

Const function

Virtual function

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many instances of an abstract class can be created?

0

Equal to number of class objects created

Abstract Value

Infinite

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why reference is not same as a pointer?

A reference can never be null.

A reference once established cannot be changed.

Reference doesn't need an explicit dereferencing mechanism.

All of the above.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can we declare an array size as negative?

Yes, you can declare an array size as negative in certain programming languages.

No, you cannot declare an array size as negative in any programming language.

It depends on the programming language, some allow negative array sizes while others do not.

Negative array sizes are only allowed in advanced data structures, not in regular arrays.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

Pccoe_Pune

GFGPCCOE

PGcFcGoPeC_CPOuEne

Pccoe_PuneGFGPCCOE

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?