2.1.3 Thinking Procedurally Flashcards

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

What is meant by thinking procedurally?

A

Identifying the individual parts of a bigger problem

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

What is a top down modular design (structure diagram)?

A

Breaking down a problem into smaller subproblems until each subproblem can be represented as a single task (ideally a self-contained subroutine)

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

What is decomposition?

A

Breaking down a complex problem into smaller more manageable parts

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

MDP

What are the advantages of decomposition?

A
  • Makes problems easier to solve
  • Different people can work on different parts of the problem at the same time (reducing development time)
  • Program components developed in one program can easily be used in other programs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the first stage of thinking procedurally?

A

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

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?

A

Identifying components of a solution

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

How can the lowest level of subproblems in a structure diagram be coded as?

A

Self contained modules or sub routines

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

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

A

The order in which the 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
9
Q

RT

State two advantages of utilising reusable components

A
  • More reliable than newly coded components as they have already been tested
  • Saves time, money and resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

TRM

What are the advantages of procedural programming?

A
  • Easier to test and debug code
  • Subroutines can be called many times, reducing the amount of repeated code
  • Subroutines can manipulate shared data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly