Chapter 1 Flashcards

0
Q

What is an Aggregator Variable?

A

Stores a list of values built up over time and remembers separate individual values

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

What is an accumulator variable?

A

Maintains a running total.

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

What is an Agile Design?

A

A method of software development that emphasizes frequent client input to produce better end products.

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

What is an Algorithm?

A

A step-by-step procedure, like a recipe, but often involving decisions.

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

What is a best so far variable?

A

It Keeps track of a record best or worst and updates when a new record best or worst has been reached.

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

What is a Boolean expression?

A

Evaluates to either true or false; used in the conditional of an if-structure.

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

What is a bug?

A

Part of a program that causes an error or undesired output.

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

What is a Central Processing Unit (CPU, or core)

A

The part of the computer that executes one instruction at a time.

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

What is code?

A

Instructions in a program.

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

What is conditional?

A

The Boolean expression in an if-structure that is evaluated to determine which branch of code to execute.

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

What is debugging?

A

The process of figuring out why code doesn’t behave as expected and eliminating bugs to make it work as desired.

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

What is encapsulation?

A

Keeping details (like data and procedures) together in one part of a program so that programmers working on other parts of the program don’t need to know about them.

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

What is an event?

A

A “trigger” from the user or from a program that causes a specific part of the program to execute.

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

What is an event handler?

A

A piece of code that responds to an event.

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

What is it to execute?

A

To run a program or a single instruction.

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

What is a fixed variable?

A

Stores a value that will not change over the course of the entire program.

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

What is an if instruction?

A

Evaluates a Boolean expression and executes some code if the expression is true (and possibly other code if it is false).

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

What is an input?

A

Data that is used by a program.

18
Q

What is an integrated development environment (IDE)?

A

Provides a developer with a way to create a program, run the program, and debug the program all within one application.

19
Q

What is an iteration?

A

Repeating a step-by-step procedure several times; also used to refer to single execution of that repetitive procedure.

20
Q

What is memory?

A

The parts of computer that can store data or instruction, including volatile memory (lost when the computer is turned off) and non-volatile memory (retained when the computer is turned off).

21
Q

What is meta-information?

A

Information about a program or data file, including date created and author information.

22
Q

What is a method?

A

A set of instructions grouped together to do something to or with an object.

23
Q

What is a method call?

A

An instruction to use a method.

24
What is a moduler code?
A group of instructive code that exists as an independent unit, which is easy to use with other code as needed.
25
What is a most recent variable?
Stores user input or stores information about a program’s state that changes unpredictably.
26
What is a one way flag variable?
Stores whether a condition has been true yet; reset before iteration and possibly raised during iteration.
27
What is an output?
The effect that a program has on its environment.
28
What is a Product backlog?
A prioritized list of user stories, showing both short- and long-term goals of a software development team.
29
What is pseudocode?
An outline of the basic ideas behind how algorithms will work.
30
What is script?
A set of instructions. In Scratch a script is a single stack of blocks belonging to one sprite or to the stage.
31
What is a scrum?
The most common framework for Agile Development.
32
What is a sprint task list?
list of small specific tasks to be completed during the current sprint in the scrum method of software development.
33
What is a sprite?
A graphics object that can be moved on top of or behind a background.
34
What is a state?
Data that describes everything about how a program exists at a given time; a snapshot of a program.
35
What is a state diagram?
Shows the ways that a program could progress from each state to other states.
36
What is a stepper variable?
A variable that counts in an arithmetic sequence, usually counting by ones starting at 0 or 1.
37
What is a syntax?
Precise rules defining how the letters, words, and punctuation of a programming language are required to be used together.
38
What is turing test?
One method of determining the strength of artificial intelligence, in which a human tries to decide if the intelligence at the other end of a text chat is human.
39
What is user stories?
Plain-language description of a user’s need for the software under development, usually phrased as “(who) wants to (do what within the software) so that they can (do what in real life)”.
40
What are variable roles?
Describe why a variable is being used in a program.
41
What is a walker variable?
Stores one item from a list at a time during iteration.
42
What is a water fall design?
A method of software development that emphasizes completing each stage of the design process before beginning the next stage.