2.1 (computational thinking)

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

what is computational thinking?

problem solving methods to break down and solve complex problems

2
New cards

what is abstraction?

ignoring insignificant details of a problem

3
New cards

what is decomposition?

breaking down a problem into smaller problems

4
New cards

benefits of abstraction?

it simplifies the problem

5
New cards

benefits of decomposition?

it is simplified and multiple parts of problem can be worked on at once

6
New cards

what is algorithmic thinking?

finding a solution by identifying the steps to it

7
New cards

benefits of algorithmic thinking

solutions are automated

8
New cards

what is pattern recognition?

finding similarities in decomposed problems

9
New cards

benefits of pattern recognition?

problems are solved faster as they have similar solutions

10
New cards

what are the 2 types of search algorithms?

binary and linear

11
New cards

how does a binary search work?

  1. it finds the midpoint of an organised list

  2. it asks if the input if higher or lower

  3. if higher, it discards the left side of the list

  4. this is continued until input is found

12
New cards

benefits of a binary search?

efficient on large data sets and midpoint can be found quickly

13
New cards

disadvantages of a binary search?

it must be in chronological order before hand

14
New cards

how does a linear search work?

it compares the input with every item in the list from the beginning, in consecutive order

15
New cards

benefits of a linear search?

works on small data sets / if input is at the start of list and in any order

16
New cards

disadvantages of a linear search?

slow on large data sets

17
New cards

what are the 3types of sorting algorithms?

merge, bubble and insertion sort

18
New cards

how does merge sort work?

  1. it halves the list until all items are individual

  2. individual items are then put back into pairs and sorted

  3. the algorithm continues to merge the mini data sets and sort them

  4. this is done until all lists are sorted and are merged into a full sorted list

19
New cards

how do bubble sorts work ?

  1. from the beginning of the list, the first item is compared with the next consecutive item in the list

  2. if item is bigger than the next, it is sorted

  3. this is continued until the first item is fully sorted

  4. this is repeated until items are sorted

20
New cards

how does an insertion sort work?

  1. the first value is linearly compared with the next consecutive value in the list and is swapped if it is bigger

  2. it is focused on this item until it is in its correct place of the list

  3. once one item is sorted, the list is expanded and this process repeats