Problem Solving Flashcards

1
Q

Decomposition definition

A

Breaking a complex problem into smaller parts until solvable units are reached

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

Abstraction defintion

A

Removing unnecessary detail and simplifying a problem to change a humanly expressed problem to one that can be dealt with by the computer

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

What comes first, abstraction or decomposition

A

Abstraction

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

What happens after a complex problem has been simplified (by abstraction and decomposition)

A

It’s split into modules/subroutines/functions

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

How to simplify a problem

A

abstraction and decomposition

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

What do modules/subroutines/functions contain

A

interfaces which allow the value of variables to pass in and out of them

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

documentation definition

A

notes written by the programmer to explain the code/each module

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