C++ OOP

C++ OOP

University

15 Qs

quiz-placeholder

Similar activities

UNIX Commands2

UNIX Commands2

University

10 Qs

SQL4-Join/aggregate functions/group by

SQL4-Join/aggregate functions/group by

University

19 Qs

Seatwork 5 - HCI 101

Seatwork 5 - HCI 101

University

20 Qs

Chapter 6 DATABASE  Part 1

Chapter 6 DATABASE Part 1

University

15 Qs

Joins and Set operators

Joins and Set operators

University

20 Qs

INTRODUCTION TO OOPS

INTRODUCTION TO OOPS

University

10 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

Python Basics 4

Python Basics 4

University

20 Qs

C++ OOP

C++ OOP

Assessment

Quiz

Computers

University

Medium

Created by

Marilyn Villoso

Used 14+ times

FREE Resource

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

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?