Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
35 Cards in this Set
- Front
- Back
What do we call a variable that is used to pass information to a function? |
a parameter |
|
____________ have two capabilities: they do things and they remember things. |
Objects |
|
Computer programming is... (select the best definition) |
instructing a machine to perform a task. |
|
Which of the following is not associated with object-oriented programming? |
resolution |
|
A(n) __________ is a special method in a class—it is executed automatically when a new object is instantiated. |
constructor |
|
|
intent error |
|
A ____________ is a block of code that has been assigned a name. |
method or procedure |
|
A ______________ is used to translate a computer program into machine language so it can be executed. |
interpreter or compiler |
|
The steps in developing a computer program are |
analysis, design, coding, and testing |
|
What is the relationship between A and B in the UML class diagram below? |
inheritance |
|
An object is often referred to as a(n) ___________ of the class from which it was constructed. |
instance |
|
|
inheritance |
|
___________ is an ordered collection of unambiguous, executable steps that defines a terminating process. |
an algorithm |
|
The part of a computer program that says what the instructions of the language mean is called ______________. |
semantics |
|
A divide and conquer approach to problem solving is called _____________. |
top down design / stepwise refinement |
|
A(n) __________ is a special method in a class—it is executed automatically when a new object is instantiated. |
constructor |
|
Below is a method that extends the UrRobot, allowing it to turn right, but the code won't compile. What is wrong? |
The variable robot cannot be used in this method. |
|
The for statement in Java... |
executes a block of code many times. |
|
Boolean variables... |
are useful for controlling program flow. |
|
The part of a computer program that says what the instructions of the language mean is called ______________. |
semantics |
|
____________ have two capabilities: they do things and they remember things. |
Objects |
|
What is the relationship between A and B in the UML class diagram below? |
inheritance |
|
The part of a computer program that says what the instructions of the language mean is called ______________. |
semantics |
|
Which of the following is an example of a language that is based on the imperative programming paradigm? |
C |
|
The method that creates an object based on a class definition is called ____________. |
a constructor |
|
The for statement in Java... |
executes a block of code many times. |
|
A(n) __________ is a special method in a class—it is executed automatically when a new object is instantiated. |
constructor |
|
Which of the following is an example of a language that is based on the object oriented programming paradigm? |
Java |
|
A variable differs from a constant in that |
a variable's value can change during a program, but a constant's value must remain the same. |
|
The part of a computer program that says how the instructions of the language can be put together is called ______________. |
syntax |
|
The part of a computer program that says how the instructions of the language can be put together is called ______________. |
syntax |
|
allows method calls to be interpreted by the object that receives the call |
Polymorphism |
|
a way of restricting access to the internal components of an object |
Encapsulation |
|
Variable within an object; Holds information within the object |
Instance Variable |
|
Procedure within an object; Describes the actions that the object can perform |
Method |