














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An assignment for a BTEC Level 5 HND Diploma in Computing student in the unit PROG102: Procedural Programming. The assignment requires the student to write a program to manage student grades, including inputting student information, displaying student information, finding the highest and lowest grades, and handling errors. figures and explanations for each function.
Typology: Essays (university)
1 / 22
This page cannot be seen from the preview
Don't miss anything!















Qualification BTEC Level 5 HND Diploma in Computing Unit number and title PROG102: Procedural Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID Class Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P4 P5 M3 M4 D
Grade: Assessor Signature: Date: Lecturer Signature:
▪ Function input information of students: Helps you check if you have entered the recently entered ID, use for loop to check in the array ID. ▪ Input student’s ID and check if the ID is duplicated or not. If it is duplicated, the user need to input again. ▪ Input student’s grades and check if the grades is valid or not. If it is not valid, the user need to input again. Figure 2 : Input information of student. ▪ Function display information of student: Helps you print information of student to the screen.
Figure 3 : Print information of student to the screen. ▪ Function find highest grades of student: Helps you find the student has highest grades and print to the screen, ▪ Max=grades[0], max ID=IDs[0]. ▪ I from 0 to students - 1. ▪ If max < grades[i] then max=grades[i], max ID=IDs[i]. ▪ Prints the result on the screen. Figure 4 : Find the highest grades of student
Figure 6 : Menu Options of the program I.
II. Result Figure 7 : Menu Options of the program 2.
Figure 8 : Menu Options.
Figure 10 : Display information of the students.
Figure 11 : Find the highest grades of student.
Figure 12 : Find the lowest grades of student.
Figure 13 : Exit program.
Before going in the work, a test plan should be made base on the requirements of the problem given. The test plan will come with the measure for achievements:
Input student grades Float grades Try to input boundary data, typical data, bad data A,b.c.*,& Error Accepted Typical data (1,2,3..) Accepted Accepted Pass Decimal in typical data(1.1,1.2…) Accepted Accepted Pass 5 Function of printing information of student Selection 2: None Display all information(ID, grades) student was entered. Accepted Pass 6 Function ofprinting student has highest grades Selection 3: None Display the student has highest grades(grades,ID) Accepted Pass 7 Function of printing student has lowest grades Selection 4: None Display the student has lowest grades(grades,ID) Accepted Pass
+Duplicate: