









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
Assignment 2-PROG102 for PASS.
Typology: Assignments
1 / 16
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 Trần Văn Tưởng Student ID GCH Class GCH1107 Assessor name Manhdd 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 Tuong Grading grid P4 P5 M3 M4 D
Summative Feedback: Resubmission Feedback: Grade: Assessor Signature: Date: Lecturer Signature:
Test number What is being tested Predicted results Real results Result 1 Choice number 1 from menu Display the number of students you want to enter ask the user for the number of students to enter pass (^2) Choice number 1 from menu Enter id and grade (^) Ask the to enter id and grade pass 3 Choice number 2 from menu Display id and grade of grade Display score and id on screen pass 4 Choice number 3 from menu Display highest grade Display the number of students you want to enter pass 5 Choice number 4 from menu Display lowest grade Display the number of students you want to enter pass 6 Choice number 0 from menu Exit the program The program has exited pass 7 Enter choice from Menu > 4 Choice again Please choice again pass 8 Enter letters in id The program still prints id normally Data accepted fail (^9) Enter decimal number in id The program still prints id normally Data accepted fail 10 Enter student 1 id = 1, grade = 2 Enter student 2 id = 2, grade = 2 Save ids and grades of 4 student in array Student 1 :id = 1, grade = 2 Student 2 :id = 2, grade = 2 pass
Enter student 3 id = 3, grade = 5 Enter student 4 id = 4, grade = 5 Student 3 :id = 3, grade = 5 Student 4 :id = 4, grade = 5 were saved in array 11 Print id and grade of users Display the user's entered id and grade Print to the screen: Id grade 1 2. 000 2 2. 3 5. 4 5. pass 12 Print the students with the highest scores Show id and grade of students has highest grade Print to the screen: grade = 5, id = 3 grade = 5, id = 4 pass 13 Print the students with the lowest scores Show id and grade of students has lowest grade Print to the screen: grade = 2 , id = 1 grade = 2 , id = 2 Pass 14 Enter letters in grade The program still prints id normally Data accepted fail 15 Enter letters in choice The program still prints id normally Data accepted fail
Index of comments 2.1 Based on the actual presentation and the report, the student presents parts : Write a program that implements the designed solution; Test the program with a proper test plan (Page 13-14) The student needs to evaluate more about the program, validation, analyse test, state lessons learnt, advantages, disadvantages, difficulties and future improvements... (P4, P5) Powered by TCPDF (www.tcpdf.org)