




















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!





















ASSIGNMENT 2 FRONT SHEET Qualification BTEC Level 5 HND Diploma in Computing Unit number and title PROG102: Procedural Programming Submission date 30/6/2021 Date Received 1st submission Re-submission Date 4/7/2021 Date Received 2nd submission Student Name Vo Minh Quoc Student ID GCD Class GCD0904 Assessor name Phan Thanh Tra 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 (^) Quoc Grading grid P 4 P 5 M3 M4 D
o <string.h> : To adjust a variety of character ranges. Figure 2. Declare libraries
Figure 5. Function input information of students
Figure 9 .Finding max grade..
Test case ID Task name Task description Start date End date Estimated Efforts(Hrs/day) 1 The number of student (int a) (3<a<50) Enter valid data and invalid data into the number of student 30/06/2021 30/06/2021 1 Hour 2 Grade of students (float grade[100]) Range: 0 to 10 Enter valid data and invalid data into the number of student 3 ID of students (int ID[100]) Enter valid data and invalid data into the number of student 4 Menu option. Range: 0 to 5 (Test five option) Enter valid data and invalid data into the number of student
4.2 Test log Test case ID Test case Input data Expected results Actual results Evaluation 1 The number of student (int a) (3<a<50) Letter: A, b, c, … The program will run infinitely. As in the screenshot below. Pass Special character: !, @, ?, … The program will run infinitely. As in the screenshot below. Pass
Integer outside the condition The program will notify users that they have entered it incorrectly and invite them to re- enter it. As in the screenshot below Pass Decimal: 1.1, 1.2, … The program will run infinitely. As in the screenshot below Pass 2 Grade of students Letter: A, b, c, … The program will run infinitely. As in the screenshot below Pass
(float grade[100]) Range: 0 to 10 Special character: !, @, ?, … The program will run infinitely. As in the screenshot below Pass