2.1.3. Thinking Procedurally Flashcards

(9 cards)

1
Q

What is the first stage of thinking procedurally?

A

breaking a problem defined by a user, into its constiuent parts

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

What is the purpose of decomposition?

A

to make more complex problems more manageable and easier to solve by dividing tasks between a group of people based on individual skill sets

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

What is the other name given to a top-down design?

A

stepwise refinement

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

What are 2 benefits of using a top-down design?

A
  1. problems can be solved by different people
  2. tasks can be tested separately as modules are self contained
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of problems are top-down design suited to?

A

large, complex problems

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

What is the second stage of thinking procedurally in software development?

A

identifying components of a solution

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

What can the lowest level subproblems in top-down design be made as in code?

A

a self contained module of subroutine

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

What 2 things does a software developers need to consider when recombining components of a solution?

A
  1. the order in which the subroutines are executed
  2. how they interact with each other
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What must a software developer do before designing a subroutine to solve a particular problem?

A

identify if an existing subroutine or module can be used

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