2.1.3 Thinking Procedurally Flashcards

You may prefer our related Brainscape-certified 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 a 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 problems.

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 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 or module to be used.

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

State two 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