April
1999 QUESTION 1 (Compulsory) Total Marks: 20 Marks |
Click here to access other
questions
GRADE A
|
(a) | Write down, in correct order, the five tasks performed in requirements analysis. | [3] |
|
||
(b) | The information domain contains three different views of data and control. Identify and explain each one of them briefly. | [6] |
The three different
views of data and control are:
|
||
(c) | For each of the following statements, identify which design activity it is referring to: | [4] |
(i) The design activity that involves the modular arrangement of parts and structure in the software program. | ||
Architectural design
|
||
(ii) The design activity that concerns the interaction mechanisms of program systems within the software. | ||
Interface design
|
||
(iii) The design activity that concerns the creation of valid and usable data structures within the software. | ||
Data design
|
||
(iv) The design activity that is concerned with the series of steps taken to accomplish some function in the program. | ||
Procedural design
|
||
(d) | Consider the following pseudo-code. /* Program to count letter grades */
|
|
(i) Derive a flow-graph based on the pseudo-code above. Indicate the True/False remarks where applicable in the graph. | [2] | |
The flow graph of the
pseudo code is:
|
||
(ii) Based on the flow-graph, calculate the value of V(G) using all three methods of calculation. | [3] | |
|
||
(iii) Write down the test paths you would use to comprehensively test this program. | [2] | |
The test paths chosen
are :
|