Chapter 1 Flashcards Preview

Computer Science > Chapter 1 > Flashcards

Flashcards in Chapter 1 Deck (11):
1

What is a sequence?

An ordered set of instructions.

2

What is an algorithm?

A precise method for solving a problem. It consists of a sequence of step-by-step instructions.

3

What is unambiguous?

This means that the instructions cannot be misunderstood. Simple saying 'turn' would be ambiguous because you could turn left or right.

4

What is High-level programming language?

A programming language that resembles natural human language.

5

What is a flowchart?

A graphical representation of an algorithm. Each step in the algorithm is represented by a symbol. Symbols are linked together with arrows showing the order in which steps are executed.

6

Pseudo-code

A structured, code-like language that can be used to describe an algorithm.

7

Variable

A 'container' used to store data. The data stored in a variable is referred to as a value.

8

Identifier

Unique name given to a variable or a constant. (Easier to read)

9

Arithmetic Operator

an Operator that performs a calculation on two numbers

10

Constant

A 'container' that holds a value that never changes. Like variables constants have unique identifiers.

11

Construct

A component from which something is build. Letters and numbers are the constructs we use to build our language and convey meaning. Bricks and cement are the basic constructs of a building.