CH 2 Flashcards

2
Q

algorithm

A

Step-by-step procedure or list of actions to perform a task or solve a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

argument

A

information sent to a method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

asSeenBy argument

A

makes an object move relative to another object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

bug

A

errors in computer program, program doesn’t do what it is supposed to do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

comment

A

statements in a program that are overlooked when the program is compiled and help the user understand what the program does

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

control structure

A

Controls the flow and order of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Do in order

A

control structure that executes instructions sequentially

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Do together

A

control structure that executes instructions simultaneously

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

duration argument

A

how much time it takes for an instruction to be performed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

flowchart

A

graphical representation of a program using shapes and symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

instruction

A

one statement in a computer program telling the computer what to do

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

method

A

Manipulates an object, actions performed by an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

move to method

A

this action moves the center of one object to the center of another object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

nesting

A

One program statement is written inside another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

orient to method

A

changes the direction of an object to have the same orientation/direction as another object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

program

A

sequence of instructions that tell a computer what to do

18
Q

property (of an object)

A

values associated with an object such as color and size

19
Q

pseudocode

A

program-like step by step instruction

20
Q

runtime

A

when program is running

21
Q

scenario

A

Problem or task that needs to be solved.

22
Q

state

A

a snapshot of a scene

23
Q

storyboard

A

part of planning process of writing a program, creates a visual or textual way of representing a program

24
Q

style argument

A

describes how a method will be performed

25
Q

syntax

A

the set of rules that define the combinations of symbols that are considered to be correct in a language

26
trial-and-error
process of trying a piece of code, then executing it and fixing any mistakes there might be
27
turn to face method
turns an object to look at another object
28
vehicle property
synchronizes the movement of two objects so that they move or turn together