Exam 10: Developing Object-Oriented Php

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Although the destructor function is always called, a constructor function is only called when you instantiate a new class object.

Free
(True/False)
4.8/5
(29)
Correct Answer:
Verified

True

Information contained within variables is called ____.

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

B

Use the ____ comparison operator to determine whether an object is instantiated from a given class.

Free
(Multiple Choice)
4.7/5
(42)
Correct Answer:
Verified

A

The term, garbage collection, refers to cleaning up, or reclaiming, memory that is reserved by a program.

(True/False)
4.8/5
(37)

The principle of information hiding states that any class members that other programmers, sometimes called clients, do not need to access or know about should be hidden.

(True/False)
4.8/5
(36)

Objects are encapsulated, which means that all code and required data are contained within the object itself.

(True/False)
4.9/5
(43)

The term object specifically refers to programming code and data that can be treated as an individual unit or component.

(True/False)
4.9/5
(33)

Methods and properties that are required for a source program to communicate with an object are referred to as a(n) ____.

(Multiple Choice)
4.9/5
(37)

Serialization refers to the process of converting an object into binary data that you can store for reuse.

(True/False)
4.9/5
(47)

____ are the functions and variables defined in a class.

(Multiple Choice)
4.8/5
(39)

Objects are often called ____.

(Multiple Choice)
4.8/5
(49)

____________________ stores both data members and member functions into strings.

(Short Answer)
4.8/5
(38)

The term object-oriented programming (OOP) refers to the concept of merging related variables and functions into a single interface.

(True/False)
4.9/5
(35)

Class variables are referred to as data members or member variables.

(True/False)
4.8/5
(36)

____________________ can be referred to as components.

(Short Answer)
4.8/5
(43)

A destructor function cleans up any resources allocated to an object after the object is destroyed.

(True/False)
4.9/5
(39)

When you use an object in your program, you create a(n) ____________________ of the class of the object.

(Short Answer)
4.8/5
(33)

Class functions are referred to as data members or member data.

(True/False)
4.9/5
(33)

A(n) ____________________ is a template that serves as the basis for new objects.

(Short Answer)
4.9/5
(30)

Accessor functions are private member functions that a client can call to retrieve or modify the value of a data member.

(True/False)
4.8/5
(41)
Showing 1 - 20 of 79
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)