• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/35

Click to flip

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


A __________ occurs whenever the program successfully terminates but does not successfully complete the task.


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


The object-oriented feature called __________ allows one class to extend the properties or methods of another class.

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?
01 public void turnRight()
02 {
03 robot.turnLeft();
04 robot.turnLeft();
05 robot.turnLeft();
06 }

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