







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
Procedural Programming greenwich
Typology: Essays (university)
1 / 13
This page cannot be seen from the preview
Don't miss anything!








Unit Number and Title Unit 0: IT Fundamental & Procedural Programming Academic Year 2021 Unit Tutor Assignment Title Analysis and Design a solution for procedural programming problem Issue Date Submission Date 27/6/ IV Name & Date Learning Outcomes and Assessment Criteria Pass Merit Distinction LO1 Understand the principles of procedural programming LO2 Be able to design procedural programming solutions P1 Provide an introduction to procedural programming M1 Discuss on characteristics and features of procedural programming D 1 Critically evaluate the design of your solution against the characteristics and features of procedural programming. P2 Identify the program units and data and file structures required to implement a given design M2 Review the design of a procedural programming solution. P3. Design a procedural programming solution for a given problem Assignment Brief Scenario: 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. Task 1 To prove your programming ability to be appointed to this small project, please prepare an illustrated guide on programming in general and a particular emphasis on procedural programming. Here you will need to include introduction to computer programming languages and discuss key features of procedural programming. Task 2 Your next task is to do the analysis for the scenario mentioned above by doing the following subtasks
I. Introduce This post written about understanding of Procedural Programming. How to use the C language in your opinion. II. Body
1. Procedural Programming ✓ Fundamentally, the procedural code is the one that directly instructs a device on how to finish a task in logical steps. This paradigm uses a linear top-down approach and treats data and procedures as two different entities. Based on the concept of a procedure call, Procedural Programming divides the program into procedures, which are also known as routines or functions, simply containing a series of steps to be carried out. Simply put, Procedural Programming involves writing down a list of instructions to tell the computer what it should do step-by-step to finish the task at hand [1] Figure 1 : Procedural Programming [2] ✓ Characteristics - A large program is broken down into small manageable procedures or functions - Functions can change global data - Top-down methodology.[ 3 ] ✓ Advantages of Procedural Programming
IV. Design 3.1 WBS
Show menu Choose options Choose service
Input name of student Storage name’s student Input student's grade Storage grade’s student View all information
Show result
Close program Diagram 1 : Software
3.2 Flow charts Use-case Diagram 2 : Use-case
Diagram 4: Print IDs and grade
Diagram 5: Find Highest grade
V. Conclusion Consumer, It is necessary to understand algorithms and procedural programming in order to write code easily and logically. Besides, it is also very important to break the problem down into small problems References [1] : Sagar Bhatia, 2021, >hackr.io, Procedural Programming [Definition], Available at: https://hackr.io/blog/procedural-programming (06/2021) [ 2 ]: 2021, Learn Computer Science, Procedural Programming, Available at : https://www.learncomputerscienceonline.com/procedural-programming/ (06/2021) [ 3 ]: Lightbringer, 2019, Tuan Nguyen’s Blog, Programming paradigms – what is procedural programming?, Available at: https://www.tuannguyen.tech/2019/05/programming-paradigms-what- is-procedural-programming/ (06/2021) [4]: Lightbringer, 2019, Tuan Nguyen’s Blog, Programming paradigms – what is procedural programming?, Available at: https://www.tuannguyen.tech/2019/05/programming-paradigms-what- is-procedural-programming/ (0 7 /2021) [5]: Lightbringer, 2019, Tuan Nguyen’s Blog, Programming paradigms – what is procedural programming?, Available at: https://www.tuannguyen.tech/2019/05/programming-paradigms-what- is-procedural-programming/ (0 7 /2021) [ 6 ]: CPP, 2016, <#EXAINCLUDE>, Procedure-Oriented Programming Language(POP), Available at : http://www.hexainclude.com/procedure-oriented-programming-language/ (06/2021)