NEW
Font size
WorksheetsStepwise Refinement
Total questions: 13
Worksheet time: 6mins
Which of these design methodologies involves taking a main problem and breaking it down into sub-problems?
Top-down Design and Rapid Application Development
Agile and Top-down Design
Top-down Design and Stepwise Refinement
Only Top-down Design
Stepwise refinement is:
Identifying the main steps needed in your program
Breaking down each step until it becomes easy to code
Which of the following is an advantage of good program design?
Helps avoid coding errors
Saves time because less errors need to be found and fixed
Shows you understand the problem before you start
All of the above
Which of these is not a reason for breaking problems down into modules
Reusability
Easier to test and debug
Allows only one programmer to work on a solution
Individual modules are easier to maintain.
A solid black arrow represents
Boolean data
Non Boolean data
Iteration
Selection
A white (unfilled) arrow represents
Boolean data
Non Boolean data
Selection
Iteration
A diamond attached to a module represents
Data flow
Iteration
Selection
None of the options
A structure chart does NOT show which of the following peices of information
Iteration
Selection
Hierarchy
Data types
The arrows in a structure chart demonstrate
Parameters
Non Boolean data
Boolean data
The data type
A graphical representation of the modular structure of a solution is a
Structure chart
Modular diagram
Top down design
Identfier table
What is the name of this function?
PROCEDURE Calculatewage <Hours : Integer, Hourlywage: Real>
Procedure
Calculatewage
Hours
Hourly wage
How many parameters does this function receive
PROCEDURE Calculatewage <Hours : Integer, Hourlywage: Real>
1
2
3
4
Isit possible to derive pseudocode from a structure chart?
Yes
No
