Exam 7: Object-Oriented Programming

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

A class definition can contain four parts.

Free
(True/False)
4.9/5
(31)
Correct Answer:
Verified

False

For a language to be considered object-oriented,it must include ____.

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

B

Although at first,OOP seems to add a layer of complexity to programming logic,after you master it,understanding program logic and working with programs become easier.

Free
(True/False)
4.9/5
(42)
Correct Answer:
Verified

True

By ____ the data,you pass one argument.

(Multiple Choice)
4.9/5
(31)

Why do object-oriented programmers usually specify that their data fields will have private access?

(Essay)
4.9/5
(35)

____ is the ability to create classes that take on the attributes and methods of existing classes,but with more specific features.

(Multiple Choice)
4.8/5
(37)

It is possible to create a lengthy chain of inheritance.

(True/False)
4.7/5
(29)

Declaring a class creates actual objects.

(True/False)
4.8/5
(38)

List the three parts of a class definition.

(Essay)
4.7/5
(43)

In object-oriented design,you usually want any outside programs or methods to be able to alter your class's data fields at any time to ensure that the program works.

(True/False)
4.8/5
(37)

____ methods pass the data stored in a field back to a client program.

(Multiple Choice)
4.9/5
(34)

Write the pseudocode for a class named Product that holds a product name.Include methods to get and set the value for each data field.

(Essay)
5.0/5
(41)

For a language to be considered object-oriented,it must support polymorphism,____,and encapsulation.

(Multiple Choice)
4.9/5
(37)

The syntax used to declare a class differs among programming languages.

(True/False)
4.8/5
(48)

Each data variable that exists for every object is called a(n)____ variable.

(Multiple Choice)
4.8/5
(28)

Object-oriented programming uses few of the concepts you are familiar with from modular,procedural programming.

(True/False)
4.7/5
(39)

____ describes a language's ability to process objects differently depending on each object's data type.

(Multiple Choice)
4.8/5
(36)

____ programming is a style of programming that focuses on an application's data and the methods you need to manipulate that data.

(Multiple Choice)
4.8/5
(40)

A class that inherits from a base class is a ____ class.

(Multiple Choice)
4.9/5
(30)

A method ____ the version in the base class when it has the same name and parameter list.

(Multiple Choice)
4.7/5
(35)
Showing 1 - 20 of 50
close modal

Filters

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