Decomposition & Abstraction unit1 Flashcards

(12 cards)

1
Q

What is computational thinking?

A

Allows us to take a complex problem, understand what the problem is and develop solutions.

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

What is decomposition in computing?

A

Breaking a large, complex problem into smaller, manageable sub-problems.

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

Why is decomposition useful?

A

It makes solving large problems easier and more organised by handling one part at a time.

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

What is abstraction in computing?

A

Removing unnecessary details to focus on the important parts of a problem.

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

Give an example of abstraction in real life.

A

Modelling traffic flow without including car colour or driver age—only focusing on vehicle count, speed, etc.

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

What should be identified at the start of designing a solution?

A

The inputs, outputs, processing, and any initialisation required.

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

What is meant by “inputs” in a program?

A

The data that is entered or provided to the system.

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

What is meant by “outputs” in a program?

A

The information or result that comes out of the system after processing.

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

What is meant by “processing” in a program?

A

The actions or steps the program takes to convert input into output.

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

What does “initialisation” mean in a program?

A

Setting starting values for variables or systems before processing begins.

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

How can abstraction help in programming?

A

By simplifying real-world problems, making them easier to model and code.

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

What does it mean to “program abstractions of real-world examples”?

A

Creating simplified code models of real-life scenarios, like simulating traffic or inventory.

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