Tutor Quora

CBCP2101 Computer Programming

Academic Anxiety?

Get an original paper within hours and nail the task

156 experts online

Free Samples

CBCP2101 Computer Programming

.cms-body-content table{width:100%!important;} #subhidecontent{ position: relative;
overflow-x: auto;
width: 100%;}

CBCP2101 Computer Programming

23 Downloads2 Pages / 401 Words

Course Code: CBCP2101
University: Open University Malaysia

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Malaysia


You are required to design a program for a simple grading system. At the beginning of the system, you need to input number of students and number of courses that have been marked. Then, you need to enter the student’s identification number (ID) and marks for each course. While entering the marks, you have to determine their respective grades and display the grades based on the following table:
The system must show the grade for each of the courses,  the total marks and the average marks of the courses. If the average mark is greater than or equal to 40, the respective student can proceed to the next semester. Otherwise, the student will get a failure status. The example of output is given as follows:
Based on the above programming problem:
i.Analyse the problem to identify required items to be used in designing algorithm
ii.Write an algorithm in a pseudo code
iii.Draw a flowchart based on the pseudo code
iv.Produce a tracing table to show the projected values


Analysis of the problem and identification of required items
 For the student grading application, at first it is important to get the total number of student for whom the grading process will continue.  Therefore, at first there should be a integer variable that will store the total number of   students for whom the application will calculate the grades. More over the application will also contain an integer that will contain the number of courses that for every student.
 In the next stage, the application will ask for the student ID and marks in the different courses to calculate the average marks for every student.  Now for marks in each course the program will check conditions to determine and show grade for each of them. At the end 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”.
Algorithm in a pseudo code
Following is the pseudocode for the grading application,
Step1: Start
Step2: Read total number of students
Step3: Read the number of courses for the semester.
Step4: Read the student ID.
Step5:  Read the marks for the different courses for the student.
Step6: show grades for the courses.
If (marks 80 ≤ marks ≤ 100) show Grade A.
Else If (marks 70 ≤ marks ≤ 79) show Grade B.
Else  If (marks 60 ≤ marks ≤ 69) show Grade C.
Else If (marks 50 ≤ marks ≤ 59) show Grade D.
Else If (marks 40 ≤ marks ≤ 49) show Grade E.
Else (show Grade F.)
Step 7: Show average marks for all the courses.
Step 8: IF average marks are less than 40 display “Failed”.
Print “Proceed to next Semester”
Ask for Next student ID
Go to step 4;
If (reached maximum number of student)
Flowchart based on the pseudo code

Figure 1: Flow chart for the Student grading program
Tracing table

Number of Students

Student ID

Number of Courses

Marks in sub1

Marks in sub2

Marks in subject n

Grade for  subject

Final result





























Table 1: Trace table for Student Grading program

Free Membership to World’s Largest Sample Bank

To View this & another 50000+ free samples. Please put
your valid email id.


Yes, alert me for offers and important updates


Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

UploadUnique Document

DocumentUnder Evaluation

Get Moneyinto Your Wallet

Total 2 pages


*The content must not be available online or in our existing Database to qualify as

Cite This Work
To export a reference to this article please select a referencing stye below:


My Assignment Help. (2021). Computer Programming. Retrieved from https://myassignmenthelp.com/free-samples/cbcp2101-computer-programming/penyerahan-dan-penilaian-tugasan.html.

“Computer Programming.” My Assignment Help, 2021, https://myassignmenthelp.com/free-samples/cbcp2101-computer-programming/penyerahan-dan-penilaian-tugasan.html.

My Assignment Help (2021) Computer Programming [Online]. Available from: https://myassignmenthelp.com/free-samples/cbcp2101-computer-programming/penyerahan-dan-penilaian-tugasan.html[Accessed 18 December 2021].

My Assignment Help. ‘Computer Programming’ (My Assignment Help, 2021) accessed 18 December 2021.

My Assignment Help. Computer Programming [Internet]. My Assignment Help. 2021 [cited 18 December 2021]. Available from: https://myassignmenthelp.com/free-samples/cbcp2101-computer-programming/penyerahan-dan-penilaian-tugasan.html.

.close{position: absolute;right: 5px;z-index: 999;opacity: 1;color: #ff8b00;}


Thank you for your interest
The respective sample has been mail to your register email id


$20 Credited
successfully in your wallet.
* $5 to be used on order value more than $50. Valid for
only 1

Account created successfully!
We have sent login details on your registered email.



Citation becomes a problem specially when you have multiple sources to refere to for creating your research papers. We guide you how to write a research paper, provide you with a proper research paper outline, good research paper topics. We also help you with writing a research proposal and various research project ideas. We strictly adhere to the standard guidelines and conventions. Owing to our quality and sucess ratio of students we are one of the best paper writing service in the industry.

Latest Management Samples

div#loaddata .card img {max-width: 100%;

MPM755 Building Success In Commerce
Download :
0 | Pages :

Course Code: MPM755
University: Deakin University

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

The process of developing a successful business entity requires a multidimensional analysis of several factors that relate to the internal and external environment in commerce. The areas covered in this current unit are essential in transforming the business perspective regarding the key commerce factors such as ethics, technology, culture, entrepreneurship, leadership, culture, and globalization (Nzelibe, 1996; Barza, 2…

SNM660 Evidence Based Practice
Download :
0 | Pages :

Course Code: SNM660
University: The University Of Sheffield

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: United Kingdom

Critical reflection on the objective, design, methodology and outcome of the research undertaken Assessment-I
Smoking and tobacco addiction is one of the few among the most basic general restorative issues, particularly to developed nations such as the UK. It has been represented that among all risk segments smoking is the fourth driving purpose behind infections and other several ailments like asthma, breathing and problems in the l…
Australia Maidstone Management Business management with marketing University of New South Wales Masters in Business Administration 

BSBHRM513 Manage Workforce Planning
Download :
0 | Pages :

Course Code: BSBHRM513
University: Tafe NSW

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

Task 1
1.0 Data on staff turnover and demographics
That includes the staffing information of JKL industries for the fiscal year of 2014-15, it can be said that the company is having problems related to employee turnover. For the role of Senior Manager in Sydney, the organization needs 4 managers; however, one manager is exiting. It will make one empty position which might hurt the decision making process. On the other hand, In Brisba…

MKT2031 Issues In Small Business And Entrepreneurship
Download :
0 | Pages :

Course Code: MKT2031
University: University Of Northampton

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: United Kingdom

Entrepreneurial ventures
Entrepreneurship is the capacity and willingness to develop, manage, and put in order operations of any business venture with an intention to make profits despite the risks that may be involved in such venture. Small and large businesses have a vital role to play in the overall performance of the economy. It is, therefore, necessary to consider the difference between entrepreneurial ventures, individual, and c…
Turkey Istanbul Management University of Employee Masters in Business Administration 

MN506 System Management
Download :
0 | Pages :

Course Code: MN506
University: Melbourne Institute Of Technology

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

An operating system (OS) is defined as a system software that is installed in the systems for the management of the hardware along with the other software resources. Every computer system and mobile device requires an operating system for functioning and execution of operations. There is a great use of mobile devices such as tablets and Smartphones that has increased. One of the widely used and implemented operating syste…
Australia Cheltenham Computer Science Litigation and Dispute Management University of New South Wales Information Technology 


Need an essay written specifically to meet your requirements?

Choose skilled experts on your subject and get an original paper within your deadline

156 experts online

Your time is important. Let us write you an essay from scratch

Tips and Tricks from our Blog

11174 Introduction To Management

Free Samples 11174 Introduction To Management .cms-body-content table{width:100%!important;} #subhidecontent{ position: relative; overflow-x: auto; width: 100%;} 11174 Introduction

Read More »