Search Header Logo

C++ OOP

Authored by Marilyn Villoso

Computers

University

Used 14+ times

C++ OOP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

OOP is about creating and/or writing procedures or functions that perform operations on the data.

True

False

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

For every objects created, they will inherit all the variables and functions from the class.

True

False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It defines how members of a class can be accessed.

File Handling

Abstraction

Access Specifier

Methods

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What do you call when variables are declared within a class?

Methods

Attributes

Inheritance

No correct answer

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

It is an instance of a class which has a state, behavior and identity.

Access specifier

Attributes

Object

No correct answer

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

An object has its own data members and methods.

True

False

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In the given example, identify the attribute/s:
class Name{
string fname;
int age;
};

string fname

int age

int age & string fname

class Name

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