Object Oriented Programming Terminology

1.

_________________ is a programming language that allows the programmer to use objects to accomplish his goals.

   A.) Structured programming language
   B.) Object-oriented programming language
   C.) Top-down programming language
   D.) Bottom-up programming language

Answer: Option 'B'

Object-oriented programming language

An object-oriented programming language is a language that allows the programmer to use objects to accomplish a program’s goal. Recall that an object is anything that can be seen, touched, or used. In other words, an object is nearly any thing. The objects used in an object-oriented program can take on many different forms.

DigitalOcean Referral Badge

2.

An object is the _____________ of the class.

   A.) Instance
   B.) User
   C.) Object
   D.) Class

Answer: Option 'A'

Instance

Using object oriented programming (OOP) terminology, objects are instantiated (created) from a class, and each object is referred to as an instance of the class. A button control, for example, is an instance of the Button class. The button is instantiated when you drag the Button tool from the toolbox to the form.

DigitalOcean Referral Badge

3.

_______________ are the characteristics that describe the object.

   A.) Attributes
   B.) Instances
   C.) Objects
   D.) Classes

Answer: Option 'A'

Attributes

Every object has attributes, which are the characteristics that describe the object. Attributes are also called properties. Included in the attributes of buttons and text boxes are the Name and Text properties. List boxes have a Name property as well as a Sorted property.

DigitalOcean Referral Badge

4.

____________ are the actions to which an object can respond.

   A.) Methods
   B.) Instances
   C.) Events
   D.) Attributes

Answer: Option 'C'

Events

An object’s behaviors include methods and events. Events are the actions to which an object can respond. A button’s Click event, for instance, allows it to respond to a mouse click.

DigitalOcean Referral Badge

5.

A class ______________ all the behavior and attributes of an object.

   A.) Encapsulates
   B.) Inherits
   C.) Instantiate
   D.) Abstracts

Answer: Option 'A'

Encapsulates

A class contains—or, in OOP terms, it encapsulates—all of the attributes and behaviors of the object it instantiates. The term “encapsulate” means “to enclose in a capsule.” In the context of OOP, the “capsule” is a class.

DigitalOcean Referral Badge

6.

Objects are ____________ from a class.

   A.) Instantiated
   B.) Outdated
   C.) Evaluated
   D.) Printed

Answer: Option 'A'

Instantiated
Using object oriented programming (OOP) terminology, objects are instantiated (created) from a class, and each object is referred to as an instance of the class. A button control, for example, is an instance of the Button class. The button is instantiated when you drag the Button tool from the toolbox to the form. A String variable, on the other hand, is an instance of the String class and is instantiated the first time you refer to the variable in code.

DigitalOcean Referral Badge

7.

An object’s _______________ include methods and events.

   A.) Attribute
   B.) Method
   C.) Behavior
   D.) Instance

Answer: Option 'C'

Behavior

An object’s behaviors include methods and events. Methods are the operations (actions) that the object is capable of performing. For example, a button can use its Focus method to send the focus to itself. Events are the actions to which an object can respond. A button’s Click event, for instance, allows it to respond to a mouse click.

DigitalOcean Referral Badge

8.

____________ are operations that the object is capable of performing.

   A.) Methods
   B.) Instances
   C.) Attributes
   D.) Events

Answer: Option 'A'

Methods

An object’s behaviors include methods and events. Methods are the operations (actions) that the object is capable of performing. For example, a button can use its Focus method to send the focus to itself.

DigitalOcean Referral Badge

9.

________________ are the characteristics that describe the object.

   A.) Classes
   B.) Attributes
   C.) Instances
   D.) Objects

Answer: Option 'B'

Attributes

Every object has attributes, which are the characteristics that describe the object. Attributes are also called properties. Included in the attributes of buttons and text boxes are the Name and Text properties. List boxes have a Name property as well as a Sorted property.

DigitalOcean Referral Badge

10.

An object is the _____________ of the class.

   A.) Instance
   B.) Object
   C.) User
   D.) Class

Answer: Option 'A'

Instance

Using object oriented programming (OOP) terminology, objects are instantiated (created) from a class, and each object is referred to as an instance of the class. A button control, for example, is an instance of the Button class. The button is instantiated when you drag the Button tool from the toolbox to the form.

DigitalOcean Referral Badge

11.

Each object used in a object oriented programming is created from _____________

   A.) Class
   B.) Instance
   C.) Object
   D.) User

Answer: Option 'A'

Class
Every object used in an object-oriented program is created from a class, which is a pattern that the computer uses to create the object. Using object oriented programming (OOP) terminology; objects are instantiated (created) from a class.

DigitalOcean Referral Badge

Object Oriented Programming Terminology Download Pdf

Recent Posts