At the start of each year, a list of units offered by a university is provided its students.
The students check the units available, and enrol in the units that are part of their degrees.
The timetable of classes for each unit is provided by the Class Management office.
Each unit has a few available classes that run at different days during the week.
Students check the class schedule and register for a class of their choice. They get a
confirmation after they have registered for their classes.
The academic staff members coordinating units check the class registrations during class
registration week. They inform the Class Management office to open or close classes if
needed. They also get a list of students registered in each of their classes once registrations
are closed. They also get a list of students enrolled in each of their units at census date.
Question 2 (Marks: 50)
The system to be developed for Williams and Son needs to produce the following slip for a
customer once the sale has been concluded.
Please note: For the purpose of this assignment, assume that a customer will only purchase one
unit of each item.
Q.2.1 Write the pseudocode that will produce a slip similar to the one illustrated at
the beginning of the question. Your solution should satisfy the following
The solution must illustrate the use of good programming practices;
The solution must make use of a loop;
The loop must make use of a sentinel value.
Q.2.2 The mainline logic of almost every procedural program consists of three parts
namely housekeeping tasks, detail loop tasks and end-of-job tasks. By making
use of flowcharts, show how these parts can be implemented in your solution
for Question 2.1.
Q.2.3 All of your solutions should be structured. Explain why your solution can be
considered a structured solution.
Going back to school after summer vacation is not the easiest thing to do. In fact, it takes more mental…
APPROVED BY CLIENTS
Dear Assignment Expert!
Thank you so much. Your service is really great, and experts are smart as well, they know their job. Excellent job. I checked the assignment, it seems it works perfectly as the requirements. I will give it a final check on Tuesday, and if i need anymore help, i will message you. And yes , you are right. it wasn’t in my mind that for dynamic array, I don’t need that pre-condition. Thanks