2.1 - algorithms Flashcards

1
Q

Computational thinking

A

The process of thinking about a problem using computational means in order to create a solution which a computer can implement.

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

Abstraction

A

The process of removing irrelevant or unnecessary information from the problem in order to better understand the basic parts of it.

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

Decomposition

A

The process of breaking a problem down into smaller parts to make it easier to solve

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

Algorithmic thinking

A

The process of working out the individual steps needed to solve a problem in order to produce an algorithmic solution

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

Algorithm

A

A sequence of logical instructions to carry out a particular task

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

Structure Diagram

A

A diagram which shows in graphical format the steps needed to solve a
problem. There are several different types of structure diagram: for example a flow chart

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

Pseudocode

A

A way of writing out algorithms or other computer programs in a way which sits somewhere between full sentences and computer code.

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

Flowchart

A

A way of using pictures and shapes to represent the steps needed to solve a problem or that a program will take.

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

Programming Language

A

A language which can be understood by computers to produce computer software.

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

Error

A

Something wrong in computer code which causes it either to not run at all or to produce an incorrect output.

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

Trace table

A

A table which records the values stored in each of a program’s variables at each stage through the program. It is a useful tool when trying to find errors in the code.

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

Binary search

A

A way of searching an ordered list by looking at the middle item in the list, then comparing the items above or below depending on if the required value is higher or lower. This process repeats until the value is found or the end of the list is reached

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

Linear search

A

A way of searching through a list items, checking them one at a time in order of how they appear in the list until the required value is found or the end of the end is reached.

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

Bubble Sort

A

A way or sorting a list by comparing the items in a list, two at a time, and changing the order if needed. The process repeats until the list is in the correct order.

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

Merge sort

A

A way of sorting a list by dividing it in two until each item is separated individually. Pairs of items are compared and placed in order until the list as a whole is ordered.

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

Insertion sort

A

A way of sorting a list by working through the items one at a time and placing them in the correct position in the list.