Thinking Procedurally Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the Elements of Thinking Procedurally

A
  • Decomposition
  • Order of Steps
  • Components of a Process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Problem Decomposition

A

A large, complex problem is continually broken down into smaller subproblems which can be solved more easily

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

What is a Top-Down Design

A
  • You start with a big problem and break it down into smaller and smaller problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the aim of Top-Down Designs

A
  • Keep splitting problems into subproblems until each subproblem can be represented as a single task
  • Each task can then be solved and developed as a subroutine by a different person
  • Once programmed, subroutines can also be tested separately, before being brought together
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you identify the components of a solution

A
  • In order to identify the components of the solution, each programmer must evaluate the component of the problem allocated to them and assess how it can best be solved
  • For example through a procedure, function or database search
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you find the order of steps needed to solve a problem

A
  • Some programs might require certain inputs to be entered by the user before the processing can be carried out
  • Some inputs may require preconditions to be checked before hand
  • Some subroutines may be able to be executed simultaneously within a program, and programmers must identify where this is possible by looking at the required inputs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly