April 1999
SE203: SOFTWARE ENGINEERING

QUESTION 1 (Compulsory)

Total Marks: 20 Marks

Click here to access other questions

Click to access
SAMPLE STUDENT'S SOLUTIONS
for Question 1

 

(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]
(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.
(ii) The design activity that concerns the interaction mechanisms of program systems within the software.
(iii) The design activity that concerns the creation of valid and usable data structures within the software.
(iv) The design activity that is concerned with the series of steps taken to accomplish some function in the program.

 

(d) Consider the following pseudo-code.

/* Program to count letter grades */
initialize grade = 0;
initialize confirm = 0;
print("Enter the Letter Grades");
print("Enter the End of File Character to End Input");
do {
       process_counts;
       print("Letter Grades:");
       print("Anymore?);
   } while (grade not_equal_to End of File)
print("Good Bye")

 

(i) Derive a flow-graph based on the pseudo-code above. Indicate the True/False remarks where applicable in the graph. [2]
(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]