2.1.3 thinking procedurally Flashcards

1
Q

what is the first stage of thinking procedurally?

A

taking the problem defined by the user and breaking it down into its constituent parts

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

what is the purpose of problem decomposition?

A

to make complex problems easier to solve and more manageable by allowing tasks to be divided between a group of people according to individual skill sets

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

state another name given to top down design

A

stepwise refinement

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

what is the purpose of top down design?

A

continually break problems down into subproblems until each subproblem can be represented as a single task and ideally self contained subroutine

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

what are the benefits of using top down design?

A

problems can be solved and modules developed by different people, tasks can be tested separately, modules are self contained

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

what sort of problems is top down design suited to?

A

large complex programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
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
8
Q

how can the lowest level subproblems in top down design in code?

A

as self contained modules or subroutines

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

what do software developers need to be consider when recombining components of a solution?

A

the order in which subroutines are executed, and how they interact with each other, based on their role in solving the problem

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

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

A

see whether it is possible for an already existing subroutine of module to be used

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

state 2 advantages of utilising reusable components

A

more reliable than newly coded components as they have already been tested. this saves time, money and resources.

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