A set of steps for solving a problem in a finite amount of time using a finite amount of data
2
New cards
What are the four phases of the computer problem solving process?
Analysis & Specification Phase
Algorithm Development
Implementation Phase
Maintenance Phase
3
New cards
What do you do during the Analysis and Specification Phase?
In this phase you analyze and understand the problem, and specify the problem your program is trying to solve.
4
New cards
What do you do during the Algorithm Development Phase?
In this phase you develop a logical sequence of steps to be used to solve the problem. Then you follow those steps to see if it truly solves the problem.
5
New cards
What do yo do during the Implementation Phase?
In this phase you translate the algorithm into a programming language. Then you test the code, check the results, and make corrections when needed.
6
New cards
What do you do during the Maintenance phase?
In this phase you use the program and modify the program to meet changing requirements or to correct any errors.
7
New cards
What is a simple variable?
A simple variable is a variable that holds simple components and cannot be broken down into further elements. They occupy one storage location in memory.
8
New cards
What are some examples of simple variables?
Some examples of them are integers, strings, boolean values, and floating point numbers.
9
New cards
What is a count controlled loop?
A loop that repeats a process for a specific amount of times.
10
New cards
What are the three parts of a count controlled loop?
Loop Controlled Variable,
Testing
Incrementation
11
New cards
What is a Loop Controlled Variable?
A variable initialized to a starting value that is incremented in the body of a loop and checked at its beginning.
12
New cards
What is the Testing part of a count controlled loop?
This is when the while loop tests to see whether a loop controlled variable has reached a set limit.
13
New cards
What is the Incrementation part of a count controlled loop?
This is when the loop controlled variable is incremented towards its limit every time the program is ran.
14
New cards
What is an Event Controlled Loop?
A loop in which the number of repetitions is controlled by an event that occurs within the body of the loop itself.
15
New cards
What are the three aspects of an Event Controlled Loop?
Initializing the event
Testing the event
Updating the event
16
New cards
What is a Composite Variable?
A variable that can hold multiple values or collection of values.
17
New cards
What is an array?
A named collection of homogenous items in which items are accessed by their place within the collection.
18
New cards
What is a record?
A named collection of heterogenous items in which items are accessed by their name. Good for bundling items that relate to the same object.