Computational Thinking Flashcards

1
Q

What is decomposition?

A

Breaking something down into smaller parts

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

What is abstraction?

A

Removing or hiding any unnecessary details

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

What is an array?

A

A data structure that can store multiple items of the same data type, called elements

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

What is a record?

A

A collection of data objects where each field can be a different data type

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

What is a syntax error?

A

When the rules of programming language are not followed e.g. misspelling a command word

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

What is a runtime error?

A

When the processor is asked to perform an impossible operation e.g. 0/0

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

What is a logic error?

A

When there is a flaw in the design of the program which produces an unexpected result

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

What is linear search?

A

When the algorithm starts at the beginning of a list and moves through, item by item until it finds the matching item or reaches the end of the list

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

What is bubble sort?

A

When the algorithm compares adjacent data items and orders them

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

What is merge sort?

A

When the algorithm breaks a list into two until there is one value in each list. The items are then reassembled in the same way but ascending order

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