DB section has been updated to add some SQL code.
Analysis is an attempt to understand a given problem clearly and exactly in order to generate a solution. It is crucial that the needs of the client are identified as soon as and in as much detail as possible. The primary outcome for the analysis phase is a requirements specification.
The purpose is the reason for a system to exist. The functional requirements are a set of statements that will detail every function that the new system will perform. These will have to be designed and tested and will form the basis for evaluating fitness for purpose
What are the inputs?
What are the processes?
What are the outputs?
A teacher needs a program that will process the prelim and coursework marks for their class of 20 pupils. They will also need to calculate and display the percentages .
To input 20 pupil names, their prelim marks and their assignment marks. Calculate the percentage, and then find and display the name and percentage.
These are defined in terms of the inputs, processes and outputs. All inputs are from a keyboard and all outputs displayed on the screen.
The program is activated by opening the program and then selecting “Run” from the menu.
The inputs, processes and output required are shown below:
1 Inputs:
1.1 User inputs the Pupil Name, Prelim Mark , Assignment Mark
2 Processes
2.1 Calculate the percentage for each pupil (prelim mark + assignment mark/160)
3 Output
3.1 Display the name of each pupil with their prelim and coursework mark
3.2 Display the pupil's percentage