Using the sample solution algorithms provided in this chapter, design a solution algorithm for the following programming problems. Your solution should contain:
• a defining diagram
• a hierarchy chart
• a pseudocode algorithm
• a desk check of the solution.
ABC University requires a single-level control break program to produce a lecturer information report by lecturer from the university’s course file. Design an algorithm that will read the course file and create the lecturer information report as shown below.
Each record on the course file contains details of a lecturer’s teaching load – that is, the lecturer’s number, name, the course number of the course being taught, the credit hours for that course and the class size. There may be more than one record for each lecturer, depending on the number of courses he or she teaches. The course file has been sorted into ascending sequence of lecturer number.
Your program is to read the course file sequentially, calculate the lecturer’s contact hours ((class size/50) * credit hours), and produce the lecturer information report. On change of lecturer number, print control total lines showing the total contact hours for each lecturer. Print headings and column headings at the top of each page, allowing for 40 detail lines per page.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.