Key Definitions - 2.1 Flashcards

1
Q

Algorithm

A

A set of instructions that are all in order to complete a task

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

Computational thinking

A

Thinking critically and logically when solving a problem. Being able to analytically solve a problem.

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

Decomposition

A

Breaking down a complex problem into smaller problems so it is more manageable to solve

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

Abstraction

A

Removing the unnecessary parts of a program so that you only focus on the necessary parts

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

Searching Algorithm

A

A type of algorithm used to search through a data set to find a specific piece of data

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

Binary Search

A

A type of searching algorithm. The data set must be in order

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

Linear Search

A

A type of searching algorithm where the data set doesn’t need to be in order

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

Sorting Algorithm

A

A type of algorithm used to sort a data set into a specific order.

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

Bubble Sort

A

A type of algorithm used to sort a data set into a specific order. The data set is passed through, and
two pieces of data are looked at in turn. The process does not stop until a pass is completed without moving any data.

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

Merge Sort

A

A type of algorithm used to sort a data set into a specific order. The data set is broken up into pairs. Each pair is reorganised in turn. Pairs are then merged together and reorganised. This process is repeated until the whole data set is merged and reorganised.

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

Insertion Sort

A

A type of algorithm used to sort a data set into a specific order. A new, temporary list is created, and each piece of data is placed into the correct place in
the new list.

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

Pseudocode

A

A midpoint between programming syntax and written
language. It is not syntax specific therefore can easily be converted to programming code in any language.

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

Flow Diagram

A

A way of representing algorithms using shapes. All shapes connect up creating a flow

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

Terminator (flow diagram)

A

Used to stop and start

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

Process (flow diagrams)

A

Used to give an instruction

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

Decision (flow diagram)

A

Asks a yes/no question

16
Q

Data (flow diagram)

A

Used to show input/output within a flow diagram

17
Q

Sub-Program (flow diagram)

A

Created as a separate flow diagram, which is then called in the main flow diagram

18
Q

Trace Table

A

Used to test an algorithm for logic errors by simulating the flow of execution