You are on page 1of 1

A202_TST1024_Assignment 01_v1.

doc TST1024/A202/ASGMT_01

SEMESTER 2, ACADEMIC SESSION 2020/2021


TST1024 – COMPUTING 2

ASSIGNMENT 1

Solving Problem: Flowchart & Algorithm / Pseudo-code

IMPORTANT DATES:
Assignment Start: Week 1
Written Assignment Submission: Week 3

❖ Part of 10% Practical Assignments.


❖ For all problems below, write the pseudo-code / algorithm, and draw the flowchart.
Question 1.1: A student will be placed on probation if his CGPA falls below 2.0 in an
exam. Write the flowchart and algorithm that reads a student’s CGPA from
the user and prints whether he is on probation or not.
Question 1.2: Calculates and prints the sum of the even integers from 10 to 60.
Question 1.3: Reads a student’s mark for a single subject and prints out the
corresponding grade for that mark. The mark ranges and corresponding
grades are:
Grade Marks Range
A 90 and above
B 80 – 89.9
C 70 – 79.9
D 60 – 69.9
E 50 – 59.9
F Below 50

❖ Submit the assignment (ONLY in the Microsoft Office Word (docx, doc) or PDF format)
through GOALS.
❖ Any additional information relating to this assignment (if any) will be given from time to
time.
END OF QUESTIONS

You might also like