Search Header Logo

C++ Internal Assessment

Authored by Srijana Shet

Computers

University

Used 4+ times

C++ Internal Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of creating a new variable without value

declaration
naming
instantiation
assigning

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct comment?

*/ Comments */

** Comment **

/* Comment */

{ Comment }

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When a class is derived from a base class it gets access to:

Private

Protected

Private and Protected

Protected and Public

Private, Protected and Public

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a class the access specifiers are _______ by default:

Private

Protected

Public

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When class B is inherited from class A, what is the order in which the destructors are called.

Class A first Class B next

Class B first Class A next

Class B's only as it is the child class

Class A's only as it is the parent class

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The compiler creates an instance of a function template in memory as soon as it encounters the template.

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

There can only be one catch block in a program

True

False

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?