






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
Prog102: Procedural Programming
Typology: Schemes and Mind Maps
1 / 12
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 4 / 6 / 2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Ngô Thanh Tùng Student ID GCH Class GCH1104 - Prucedural Programming 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 P1 P2 P3 M1 M2 D
Grade: Assessor Signature: Date: Lecturer Signature:
Based on the given scenario, it is much required a small application to assist with managing the student information. The biggest flaw of manual management is that with a huge amount of data will leaving a lot of room for errors, not to mention it will be much more time consuming. A simple application can be capable to resolve these problems with function such as calculate min, max, average, etc.
that student’s grade. In the end, that variable will become the lowest grade. Same goes for the highest.
A Work Breakdown Structure (WBS) is a hierarchical outline of the tasks required to complete a project. The WBS “breaks down” the structure of a project into manageable deliverables. Each
This flow chart using the switch – case nested inside the do – while loop to continuously display the menu option for the user after finish execute a function until the user decide to exit the program. The switch – case divide the program into multiple section to run more efficiently and easy to understand.
The flow char depicts sequential steps to input variable into arrays using loop. I create a variable then start a loop that implements the input data to the array and increment the variable by 1 after finished every loop. The function stops when the condition is no longer meet.
4. Evaluation (D1)
Overall, I think the program will be able to run and complete given tasks quite efficient without having errors. However, some of the function can be improve by using object-oriented programming as it also helps the code much more flexible.
With using procedural programming, I able to solve the problem quite effortlessly. The sequential steps help the program navigate the source of information and make it relatively easy to understand and follow. In my opinion, the main disadvantage of my program is lack of reusability. There are many lines of code need to be type multiple time make the code running inefficient. Therefore, function should be created to reduce the amount of code need to type and increase the readability of the program.
5. Reference