1.4 Algorithms

?
  • Created by: Emily
  • Created on: 27-05-14 14:14
Name four processes within an algorithm
Selection, iteration, assignment, sequence
1 of 11
Selection
A decision making step
2 of 11
Iteration (repetition)
A step/sequence of steps that repeats until a condition is satisfied (loop)
3 of 11
Assignment
An operation which assigns a value to variable
4 of 11
Sequence
Consecutive steps processed one after the other
5 of 11
Name three ways in which an algorithm can be written
Pseudocode, Structured English, Flowcharts
6 of 11
Pseudocode
A language for expressing algorithms that resembles a programming language but uses less strict syntax
7 of 11
Flow chart
A diagram to show a SEQUENCE of OPERATIONS
8 of 11
Structured English
A very restricted subset of the English language
9 of 11
Name three ways in which to verify an algorithm
Hand trace, desk check, dry run
10 of 11
What are: hand trace, desk check, and dry run?
Step by step simulations on paper of how a computer might execute an algorithm
11 of 11

Other cards in this set

Card 2

Front

Selection

Back

A decision making step

Card 3

Front

Iteration (repetition)

Back

Preview of the front of card 3

Card 4

Front

Assignment

Back

Preview of the front of card 4

Card 5

Front

Sequence

Back

Preview of the front of card 5
View more cards

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Fundamentals of computer systems resources »