Unit 2.1 Algorithms Flashcards

(22 cards)

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 simplify 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 specific 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 a graphical format the steps needed to solve a
problem.

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 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 or 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.

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

Search

A

Finding a value or piece of information within a set of data.

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

Binary Search

A

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

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

Advantage of binary search

A

Is more effective and time efficient for searching long lists

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

Disadvantage of binary search

A

Can only work on ordered lists.

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

Linear Search

A

A way of searching through a list items, checking them one at a time until the required value is found.

17
Q

Disadvantage of linear search

A

Is very time consuming to search long lists and big data sets

18
Q

Advantage of linear search

A

Somewhat effective and works on any list

19
Q

Sort

A

A way of placing information into a certain order, such as alphabetically or by number

20
Q

Bubble sort

A

A way of sorting a list by comparing the items in a list, two at a time, and changing the order, bubbling through until sorted.

21
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 is ordered

21
Q

Insertion Sort

A

A way of sorting a list by working through the items one at a time and inserting them in the correct position into an empty ‘sorted’ list.