April 2000
SE203 : SOFTWARE ENGINEERING

QUESTION 4

Total Marks: 15 Marks

Click here to access other questions

SUGGESTED SOLUTIONS
Solutions and allocated marks are indicated in green.
Return to
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 ]
Diagram of the ReportCorrect Identification of Report Header, Body and Footer: 1 mark
Correct Identification of three main types of records:Credit, Debit, Account
Description: 2 marks.
Correct Identification of records existing in each type: 1 mark.


(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 ]
Any of the two advantages (1 mark each, total 2 marks)
• Enable correct programs to be produced.
• Provide a method that is “workable ”within the intellectual limitations of the average programmer.
• Techniques that can be taught in an academic fashion.
• Facilitates the organised control of software projects. (Answers indicating that “JSP is easy to use ”are not to be awarded any marks)