Search Header Logo

Computer Science C++ Quiz

Authored by Ramesh R

Computers

1st Grade

Used 8+ times

Computer Science C++ Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which allows you to create a derived class that inherits properties from more than one base class?

Multilevel inheritance

Multiple inheritance

Hybrid Inheritance

Hierarchical Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature in OOP allows reusing code?

Polymorphism

Inheritance

Encapsulation

Data hiding

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that changes the state of the cout object is called a(n) _____

member

adjuster

manipulator

operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does C++ append to the end of a string literal constant?

a space

a number sign (#)

an asterisk (*)

a null character

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array element is accessed using

a first-in-first-out approach

the dot operator

a member name

an index number

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To hide a data member from the program, you must declare the data member in the _____ section of the class

concealed

confidential

hidden

private

restricted

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

External documentation includes

a printout of the program's code

flowcharts

IPO charts

pseudo code

All of the above

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?