Algorithms Flashcards

1
Q

What are algorithms for

A

They are used to decide what to do, for example computers deciding what aeroplanes should land at an airport. Algorithms are run in the background

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The definition of an algorithm is

A

A step by step procedure for solving problems
Is something which can be followed by computers and humans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the simplest wag of expressing an algorithm

A

A list algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a sequence

A

A basic instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a selection

A

A choice or decision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is iteration

A

Repeating something a set number of times or until a condition is met

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What makes a successful algorithm

A

It has to be correct and efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Correctness

A

How successfully it solves the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Efficiency

A

How quickly it solves the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly