April 2000
SE203 : SOFTWARE ENGINEERING

QUESTION 4

Total Marks: 15 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 4

A program is required to print a report of each detailed record contained in a transaction file. Each record has an indication of the record type, called its batch ; thus, records in the transaction file are grouped into batches.There are three types of batches: credits, debits, and account descriptions. There may be any number of batches and they may occur in any order in the file. The report itself has the standard report structure of header/body/footer. The report will print these records sorted by batches. Each batch has a batch header, followed by any number of detailed records belonging to that batch.


(a)Draw a fully labelled sketch of what the report should look like, labelling clearly each section of the report.[4 marks ]


(b)Making use of Jackson ’s notation, draw the logical data structure for the transaction fie.[9 marks ]


(c)Write down two of the advantages of using the Jackson Structured Programming technique.[2 marks ]