Assignment CPCP2101 Computer Programming 1 PDF

Title Assignment CPCP2101 Computer Programming 1
Author Hakim Attan
Course information technology
Institution Open University Malaysia
Pages 7
File Size 239 KB
File Type PDF
Total Downloads 407
Total Views 510

Summary

BACHELOR OF INFORMATION TECHNOLOGY WITH HONOURSSEMESTER MAY 2021CBCPCOMPUTER PROGRAMMING 1MATRICULATION NO: 900919016985001IDENTITY CARD NO. : 900919016985TELEPHONE NO. : 0129191935E-MAIL : [email protected] LEARNING CENTRE : SHAH ALAM LEARNING CENTERINSTRUCTIONS Do not copy the assignment questio...


Description

BACHELOR OF INFORMATION TECHNOLOGY WITH HONOURS

SEMESTER MAY 2021

CBCP2101

COMPUTER PROGRAMMING 1

MATRICULATION NO:

900919016985001

IDENTITY CARD NO.

:

900919016985

TELEPHONE NO.

:

0129191935

E-MAIL

:

[email protected]

LEARNING CENTRE

:

SHAH ALAM LEARNING CENTER

0

INSTRUCTIONS  Do not copy the assignment question and instructions to your answer.  Prepare your assignment answer following the layout of the ASSESSMENT CRITERIA shown in the RUBRICS provided for the course. Where RUBRICS are not provided, follow the instructions/guidelines specified by the Open University Malaysia (OUM) for the assignment concerned.  Your assignment should be written according to the number of words outlined in the assignment instruction EXCLUDING references.  Type your answer using 12 point Times New Roman font and 1.5 line spacing.  Show the number of words at the end of your assignment.  Tables and figures where provided, should be appropriately titled.  List your references separately in the APPENDIX page.

1

I.

ANALYSIS OF THE PROBLEM AND IDENTIFICATION OF REQUIRED ITEMS

From the question grading application, it is important to get the total number of students for the grading process to continue, hence there should be an integer variable that will store the total number of students for whom the application will calculate the grades. The application should contain an integer that will contain the number of courses that for every student. After the application ask for the student ID and marks in the different courses the application will calculate the average marks for every student. The program will check the marks and condition in each course and determine grade for each of them. At the end of the program if the stored average value become greater or equal to 40 then the program will print “Proceed to next Semester”. Otherwise, the program will display “Fail”.

2

II.

Algorithm in a Pseudo Code

Step 1: Start Step 2: Read total number of students Step 3: Read the number of courses for the semester. Step 4: Read the student ID Step 5: Read the marks for the different course for the student Step 6: show grades for the courses.

If (marks >=80 and marks =70 and marks =60 and marks =50 and marks =40 and marks =80 and =70 and =60 and =50 and =40 and...


Similar Free PDFs