Chapter 8 - Programming

• Created by: Jack498
• Created on: 11-02-19 15:05
What is a Sequence?
The order in which instructions need to occur in algorithm is known as a sequence. [Dependant on condition]
1 of 13
What is a Condition?
A condition is a feature within the algorithm that is either met or not met, deciding what action will next be carried out.
2 of 13
What is Selection?
When writing a program, it may be nessessary to create a way for the program to follow different paths. The method for doing this is known as selection.
3 of 13
What is a Iteration?
Sometimes, a program will need to repeat the same instruction more than once. we do this by putting the chosen instruction inside of a loop.
4 of 13
What are Loops?
A sequence of of instructions that is continually repeated a set number of times, or until a condition is met.
5 of 13
What are Vaibles?
A named storage location that contains a value that can change during the execution of a program.
6 of 13
What is a Constant?
A named storage location that contains a value that does not change during the execution of a program.
7 of 13
What is an Assignment?
This is setting/restting a value to a data location, such as a varible.
8 of 13
What is a Dynamic Array?
An array that doesn't have a fixed length applied to it when it is declared.
9 of 13
What is a Static Array?
An array that has a fixed length applied to it when it is delcared.
10 of 13
What is a Exponential (^)?
When one number increases exponentially (the number of times) to another. - 2^3 = 8 (2 * 2 * 2 = 8)
11 of 13
What is Modulus (MOD)?
The remainder that is left over when a number is divided. - 10 MOD 3 = 1
12 of 13
What is Quotient (DIV)?
The number of times a number can be divided by another. - 10 DIV 3 = 3
13 of 13

Other cards in this set

Card 2

Front

A condition is a feature within the algorithm that is either met or not met, deciding what action will next be carried out.

Back

What is a Condition?

Card 3

Front

When writing a program, it may be nessessary to create a way for the program to follow different paths. The method for doing this is known as selection.

Card 4

Front

Sometimes, a program will need to repeat the same instruction more than once. we do this by putting the chosen instruction inside of a loop.

Card 5

Front

A sequence of of instructions that is continually repeated a set number of times, or until a condition is met.