Chapter 1 Flashcards
What is an Aggregator Variable?
Stores a list of values built up over time and remembers separate individual values
What is an accumulator variable?
Maintains a running total.
What is an Agile Design?
A method of software development that emphasizes frequent client input to produce better end products.
What is an Algorithm?
A step-by-step procedure, like a recipe, but often involving decisions.
What is a best so far variable?
It Keeps track of a record best or worst and updates when a new record best or worst has been reached.
What is a Boolean expression?
Evaluates to either true or false; used in the conditional of an if-structure.
What is a bug?
Part of a program that causes an error or undesired output.
What is a Central Processing Unit (CPU, or core)
The part of the computer that executes one instruction at a time.
What is code?
Instructions in a program.
What is conditional?
The Boolean expression in an if-structure that is evaluated to determine which branch of code to execute.
What is debugging?
The process of figuring out why code doesn’t behave as expected and eliminating bugs to make it work as desired.
What is encapsulation?
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.
What is an event?
A “trigger” from the user or from a program that causes a specific part of the program to execute.
What is an event handler?
A piece of code that responds to an event.
What is it to execute?
To run a program or a single instruction.
What is a fixed variable?
Stores a value that will not change over the course of the entire program.
What is an if instruction?
Evaluates a Boolean expression and executes some code if the expression is true (and possibly other code if it is false).