









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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 NgĆ“ Thanh Tùng Student ID GCH Class PROG102^ Assessor name Äįŗ·ng Trįŗ§n Long 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 Tung Grading grid P 4 P 5 M3 M4 D
Grade: Assessor Signature: Date: Lecturer Signature:
A math teacher wants to manage grades of a class. He asks you to help him to write a small application to do that. He needs to enter student IDs, studentās grades and store these information into 2 separate arrays (integer array for IDs and float array for grades). Then he needs to print all student IDs together with their grades. Finally, he needs to know which student has highest grade and lowest grade. Your program should be menu based with the options above. When an option is done, the program should go back to the main menu so he can choose another option. There should be an option to quit program.
ļ· It is difficult and more labor intensive to calculate and sort out the student information manually. Moreover, with large amount of student information, mistakes are likely to occur. ļ· A system needs to be created to solve to drawback of doing it manually ļ· Some of the function will be included is the program is input, display, calculate, max, min and exit the program
ļ· Write the program using procedural programming ļ· Variables and arrays to store information and select functions ļ· Various function for input, print, find the highest and lowest score and exit
ļ· Declaration section
ļ· Function āmenuā
A test is present base on the requirements of the problem given to check if the program functioning properly:
ID Test Description Test steps Test Data Expected Results Actual Results Pass/Fail 1 Check input option with valid data