3.1 Algorithms Flashcards

1
Q

Abstraction

A

Selecting the important and relevant information in a problem

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

Algorithm

A

Step by step set of rules or instructions used to solve a problem or complete a task

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

Algorithmic thinking

A

Developing an algorithm to solve a problem

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

Computational thinking

A

The steps taken to find the best solution to a problem

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

Decomposition

A

Breaking down a complext problems into smaller sub-problems which can be solved individually

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

Pseudocode

A

A method of writing an algorithm shwoing the different steps. It must be readable and easy to interpret. IT IS NOT A PROGRAMMING LANGUAGE

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

Flowcharts

A

A method of writing an algorithm which uses different shapes to represent different commands. Flowcharts can show sequences, selection and iteration.

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

Search algorithm

A

Used to look for items. The two main types are binary and linear.

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

Binary search

A

Used to look for items in an ordered list. Sometimes called ‘divide and conquer’ as the list is halved each time.

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

Linear search

A

Used to look for items by checking each item in turn. The list does not need to be in order as every item is checked.

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

Sorting algorithm

A

Used to sort a list into order. The main types are bubble and merge sorts.

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

Bubble sort

A

Looks at the first two items in a list and puts them in the right order if necessary. It then works through the list comparing each of the numbers. When it gets to the end of the list it starts again. Each time it goes through the list this is called a pass.

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

Merge sort

A

Divide and conquer algorithm which splits the list in half into sub-lists and continues doing this until there is only one item in each sub-list. It then merges pairs of sub-lists putting the items in the right order until all the sub-lists are merged into one final ordered list.

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