























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!
























Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 0 : Procedural Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Dong Minh Quan Student ID GCH Class GCH0905 Assessor name Nguyen Dinh Tran 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 Quan Grading grid P1 P2 P3 M1 M2 D
Grade: Assessor Signature: Date: Lecturer Signature:
Task I. Introduction to Procedural Programming
A. Features of Procedural Programming
B. Advantages and Disadvantages of Procedural Programming a) Advantages
There are also some rules for naming C variable:
A variable declaration assures the compiler that there is only one variable of the given type and name, allowing the compiler to continue compiling without needing all of the variable's details. A variable declaration only has meaning when the program is being compiled; the compiler requires actual variable definition when the program is being linked.
Data types in c refer to an extensive system used for declaring variables or functions of different types. The type of a variable
determines how much space it occupies in storage and how the bit pattern stored is interpreted. There are 13 types of primitive data types: - short int - unsigned short int
If users want to input students’ information, they should choose option 1. And choose option 2 to print it on screen. With this function, my program can have more functions that users need to do with their information, ex: finding the highest mark and who has that.
Output:
Example: Output: