Computational Thinking Flashcards

1
Q

Decomposition

A

The process of breaking down a problem into smaller sub-problems

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

Abstraction

A

the process of removing unnecessary details and focusing on important ones

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

Algorithm

A

A precice method/set of instructions for solving a specific problem

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

Sequence

A

the order in which the statements are executed.

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

Selection

A

picking a path based on input

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

Repetition

A

the part of the code that loops until a certain bit is true

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

Iteration

A

a function that repeats a block of code in a specified order, often until a specific result occurs

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

Count-controlled

A

A definite loop that repeats a certain amount of time

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

Condition controlled

A

A loop that keeps looping until a condition is met

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

Variable

A

Holds a value that can change

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

Constant

A

A variable that does not change, eg. Pi, VAT, Gravity

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

One-dimensional data structure

A

data in a list (provided that the data is of the same data type)

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

Two-dimensional data structure

A

A collection of data elements arranged in a grid-like structure with rows and columns

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

Arithmetic operator

A

+ - / * **

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

Relational operators

A

< >

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

Logical operators

A

AND, OR, NOT

17
Q

Syntax error

A

Syntax errors are mistakes in the use of the Python language, and are analogous to spelling or grammar mistakes in a language like English

18
Q

Logic error

A

They occur when the program runs without crashing, but produces an incorrect result. The error is caused by a mistake in the program’s logic.

19
Q

Runtime error

A

A run-time errorhappens when Python understands what you are saying, but runs into trouble when following your instructions.

20
Q

Overflow error

A

when the result of a calculation is too large to be represented in the number of bits allocated

21
Q

Bubble sort

A

repeatedly gioing through a list, comparing adjacent items and swapping the items if in the wrong order.

22
Q

Linear search

A

an algorithm that involves checking each item in a list or sequence of items one at a time in order (hence, linear) to see if it’s the right item.

23
Q

Binary search

A

A binary search checks the middle number each time.

24
Q

Logical reasoning and test data

A
25
Q

Robust software

A

Can handle errors without crashing.

26
Q

Audit trails

A

keeping track of who made what changes (and when) during development.