Object-Oriented Programming Fundamentals

ExpansiveMandolin avatar
ExpansiveMandolin
·
·
Download

Start Quiz

Study Flashcards

18 Questions

What is the term for the insulation of data from direct access by the program?

Data Hiding

What is the concept of wrapping up data and functions into a single unit called?

Encapsulation

What are the functions that operate on the data members of a class called?

Member Functions

What is the mechanism of deriving a new class from an old class called?

Inheritance

What is the concept of representing the essential features without including background details called?

Data Abstraction

What are the components of a class that hold the information called?

Data Members

What is the main objective of using functions in a program?

To save memory space

What is the term for the ability of an operation to provide different behaviors in different situations?

Polymorphism

What is the process of making an operator provide different behavior in different situations called?

Operator Overloading

What is the purpose of an inline function in C++?

To eliminate the cost of function calls

What is unique to each derived class?

Only the features that are unique to it

What is the primary purpose of a class in object-oriented programming?

To group similar objects together with their associated data and functions

What is the result of adding two strings using the addition operator?

A third string by concatenation

What is the term for the concept of hiding data and its associated functions from external use?

Data encapsulation

What is the term for the process of creating objects from a class definition?

Instantiation

What is the purpose of the public access modifier in a class definition?

To allow access to the data and functions of the class

What is the term for the ability of an object to take on multiple forms?

Polymorphism

What is the term for the process of sending messages between objects?

Message passing

This quiz covers the basics of object-oriented programming, including features of derived classes and polymorphism. Learn about how operations can have different behaviors depending on the types of data used.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free
Use Quizgecko on...
Browser
Browser