








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
The math teacher wants to manage class grades. He asks you to help write a small application to do that. He needs to enter the student ID and student grades and store this information in two separate arrays: an integer array of IDs and a float array of grades. Next, you need to print all student IDs along with your grades. Finally, he needs to know which students have the highest and lowest grades. The program must be menu-based with the above options.
Typology: Assignments
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Date:3/3/ 2022
Class: GCS1003B | ID: GCS
ASIGNMENT 2
ASSIGNMENT 2 FRONT SHEET 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 TRAN THE HAO Student ID GCS Class GCS1003B Assessor name: LE NGOC THANH 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
Assignment Brief 2 (RQF)
Unit Number and Title Procedural Programming Academic Year 2021 Unit Tutor Assignment Title Analysis and Design a solution for procedural programming problem Issue Date Submission Date IV Name & Date Learning Outcomes and Assessment Criteria Pass Merit Distinction LO3 Be able to implement procedural programming solutions LO4 Be able to test procedural programming solutions P4 Write a program that implements the designed solution. M3 Program is written following coding standards, input data are validated D2 Evaluate your program, state lessons learnt and future improvements. P5 Test the program with proper test plan. M4 Analyse test results for future maintenance. Assignment Brief Scenario: Please refer to scenario in Assignment 1. Tasks 1 Your next task is to implement the software that you designed in previous steps. You need to implement the software designed in assignment 1 using C programming language. Your code must make use of programming standards, including file headers and effective code commenting. You need to provide screenshots of your program when running. During the development of your program, if you make any changes to the original design, state them with reasons in report. Your code listings must be included as an appendix. Task 2 Test your program by making a test plan, execute it and log results. Your test plan should include data validation and program operations based on requirements. Test results (passed or failed) should be analysed to help the program in future maintenance. Task 3 Write an evaluation and conclusion of the whole development. The evaluation of your program should be based on its running and its test result. You should mention about lessons learnt and future improvement. Also evaluate how procedural programming is applied in your program, state benefits, disadvantages or difficulties. A final report of these 3 tasks must be submitted in PDF format to CMS. Submission Format The submission is in the form of a Word document. You are required to make use of appropriate structure, including headings, paragraphs, subsections and illustrations as appropriate, and all work must be supported with research and referenced using the Harvard referencing system.
B. RESULT: I. Result for the case data 1: Enter the appropriate information in this situation. First, the system displays a menu with five choices. You need to select one of them (options 1 through 5) and add it to the menu. For example, pressing number 1 will create a list containing all student IDs and grades. After that, you will need to enter the number of students in the class, ID, and grades. Figures 1 : Enter option 1 Figures 2 : Enter the number of students in class
Finally, press number 5 to exit program Figures 7: End the program II. Result for the case data 2: In case 2, I’ll go through some of the most typical errors that people make. To begin, I’ll choose wrong selection. For example, if the user don’t select choice 1 to choice 5, system will require the user to input again. Figures 8: Choosing an invalid option When you input duplicated IDs, the user need input again. Figures 9: Entering duplicated IDs When you type negative number in grade, user need to tap right number. Figures 10: Entering negative grade
C. TEST AND RUN (P5) : Test case Step Test data Expected result Actually result Pass/ Fail Fix
E. Reference: