c++

c++

University

22 Qs

quiz-placeholder

Similar activities

ITN_Explore the networks_1.1 Globally connected

ITN_Explore the networks_1.1 Globally connected

11th Grade - University

20 Qs

Artificial Intelligence CT-1

Artificial Intelligence CT-1

University

20 Qs

Micro Arch - CPUs & Fetch-Execute

Micro Arch - CPUs & Fetch-Execute

University

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Pra UPS 2

Pra UPS 2

University

20 Qs

DWDM-2

DWDM-2

University

20 Qs

IGH Test de Entrada

IGH Test de Entrada

University

20 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

c++

c++

Assessment

Quiz

Computers

University

Practice Problem

Hard

Used 792+ times

FREE Resource

AI

Enhance your content in a minute

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

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What happens if an exception is thrown in a function, but not caught?

The program continues executing and it is ignored.

The function that throws the exception is exited.

The program terminates.

The compiler will find the error and the program would not compile.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between an array and STL, Standard Template Library, array?

They are the same thing.

STL array is a dynamic array

Array size must be known at compile time but, STL array size does not.

Array is a data structure and STL array is an instance of a class.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

There can only be one catch block in a program

True

False

4.

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

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When a class becomes a friend of another class they are additionally getting access to:

Private

Protected

Public

None of the above

6.

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

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a class the access specifiers are _______ by default:

Private

Protected

Public

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?

Discover more resources for Computers