Computational thinking Flashcards

1
Q

what is computational thinking

A

a problem solving technique

  • takes a complex problem
  • understand it
  • develop possible solutions that can be presented in a way that a computer or a human or both can understand
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is abstraction

A

focusing on important information only

ignoring irrelevant detail like your dad

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

what is Decomposition

A

breaking down a complex problem into smaller more manageable parts. like trying to eat a large cake by cutting it into slices so it fits in your mouth easier

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

what is pattern recognition

A

looking for similarities among and within problems

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

what is algorithmic thinking

A

algorithm and algorithmic thinking is the process of developing step by step solutions to a problem

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

what are the basic building blocks for designing algorithms

A
  1. Sequence - the specific order in which instructions are performed
  2. Selection - allows us to include more than one path through the algorithm
  3. iteration - allows algorithms to be simplified by stating that certain steps repeat until told otherwise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are the two main ways to represent algorithms

A

pseudocode - (not a programming language) simple way of describing a set of instructions

flowchart - a diagram that shows a process made up of boxes representing steps , decisions, inputs and outputs

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

how are the different elements of pseudocode usually written

A

instructions are written in uppercase
variables are written in lowercase
messages in sentence case

in pseudocode INPUT asks a question
OUTPUT prints a message on the screen

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

what are the different types of search

A

linear - also known as serial searching. this searches for keywords in sequence (one by one) until a match is found

binary - divides data in half at each step until a match is found. this method only works if the data has been pre-sorted

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

what are different types of sorting

A

bubble - compares two sets of data and swaps the order if required. can take a long time to perform as it can take several passes to process one set of data

bucket - separates data into buckets
empty buckets are set up and filled with the relevant data. each bucket is sorted the data is then put back into a list

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