Chapters 11 - 13 Programming Logic And Design (Joyce Farrell)

25 July 2022
4.7 (114 reviews)
30 test answers

Unlock all answers in this set

Unlock answers (26)
question
_____ is the detailed specification of how all the parts of a system will be implemented and coordinated.
answer
System Design
question
The term ____ is applied to situations in which you define multiple methods with a single name.
answer
Overloading
question
You use a(n) ____ diagram to illustrate the names, attributes, and methods of a class or set of classes.
answer
Class
question
You use a(n) ____ variation when a case can be part of multiple use cases.
answer
Include
question
The purpose of ____ is to set or change the values of data fields within the class.
answer
Set Methods
question
Code that has already been tested and used in a variety of situations is said to be ____.
answer
Reliable
question
A derived class always ____ case or instance of the more general base class.
answer
Is-a
question
A(n) ____ in a class diagram indicates public access.
answer
Plus sign
question
In addition to their attributes, class objects have methods associated with them, and every object that is an instance of a class possesses different methods.
answer
False
question
When you draw a flowchart or write pseudocode, your purpose is to illustrate the individual steps in a(n) ____.
answer
Process
question
Object-oriented programs employ a more specific group of techniques for handling errors called ____.
answer
Exception Handling
question
When a data field within a class is ____, no outside class can use it-including a child class.
answer
Private
question
Object-oriented programmers sometimes say an object is one ____ of a class.
answer
Instantiation
question
Each variation in the sequence of actions required in a use case is a ____.
answer
Scenario
question
When you think in an object-oriented manner, every object is a member of a ____.
answer
Class
question
The ____ diagram shows how a business works from the perspective of those who actually interact with the business.
answer
Use case
question
In some programming languages, such as C#, Visual Basic, and Java, every class you create is a child of one ultimate base class, often called the ____ class.
answer
Object
question
By using ____, you can use reasonable, easy-to-remember names for methods and concentrate on their purpose rather than on memorizing different method names.
answer
Polymorphism
question
In OOP languages, a default constructor is created automatically by the compiler for every class you write.
answer
True
question
A ____ is a set of program statements that lists the characteristics of each object and the methods each object can use.
answer
Class Definition
question
The concept of a class is useful because of its ____
answer
Reusability
question
Methods in object-oriented programs use sequence, selection, and looping structures and make use of arrays.
answer
True
question
Any constructor you write must have the same name as the class it constructs, and it cannot have a return type.
answer
True
question
Programmers use the phrase ____ to describe what happens when worthless or invalid input causes inaccurate or unrealistic results.
answer
GIGO (Garbage In/Garbage Out)
question
An abstract class is one from which you can create any concrete objects and from which you can inherit.
answer
False
question
Class diagrams are a type of Unified Modeling Language (UML) diagram.
answer
True
question
The purpose of a(n) ____ is to return a value to the world outside the class.
answer
Get Method
question
You cannot provide parameters to a destructor; it must have an empty parameter list.
answer
True
question
____ methods are those for which no object needs to exist.
answer
Static
question
The ____ allows you to envision systems with an object-oriented perspective, breaking a system into subsystems, focusing on the big picture, and hiding the implementation details.
answer
UML