| University | Harvard University (HU) |
| Subject | Introduction to Computer Science |
Introduction to Computer Science – Part 1
Construct a solution algorithm for the following problems. Your solution should contain:
▪ A defining problem
▪ A pseudo code algorithm
▪ A desk check of the algorithm
Three test cases for each question. Two valid and one error test case
Question 1
The Next-Day Delivery Service Provider provides the parcel delivery service within Singapore. The delivery charge is calculated based parcel weight shown below in the table,

Design an algorithm that will prompt for, receive the parcel weight, calculate the delivery charge and print the value. The program is to repeat the processing until a sentinel weight of 0 is entered.
Question 2
If you buy a property, you must pay the Buyer’s Stamp Duty (BSD). It is calculated by multiplying the purchase price of the property with the stamp duty rate based on either residential or non-residential property as shown below in the table.

For example, if the purchase price of a non-residential property is $500,000, the BSD would be $500,000 x 2.5% = $12,500. Design an algorithm that will prompt for and receive the purchase price of a property and property type (residential or non-residential) and calculate the buyer’s stamp duty and print the value.
Question 3
There is a mid-year bonus scheme in a sales organisation based on the sales performance for the first half of the year and only payout if the sales performance is on target or more (100% or more). The mid-year bonus is
computed using the formula below,

Employees’ salary details are maintained in a file that contains employee ID, employee name and employee salary. Design an algorithm that will prompt for and receive the sale performance in percentage and compute the mid-year bonus for each employee in the file and print the employee ID, employee name and bonus.
Buy Custom Answer of This Assessment & Raise Your Grades
Introduction to Computer Science – Part 2
Implement the three questions algorithm in Part 1 into Java programming. Your code should contain appropriate validations and must focus on code optimisation. You need to submit:
- Three Java code
- For each question explain (100-150 words) how the logic works.
- Three sample output screenshots
- Two normal and one error test cases
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
Get help with your computer science assignments in Singapore! Our service offers affordable assignment writing help. Need assistance right away? We provide cheap assignment writing services instantly. Trust our experts to be the best computer science assignment helper for you. Whether it's an Introduction to Computer Science assignment or any other task, we're here to help. Just pay our experts, and we'll guide you through your course. Simplify your studies and succeed with us today!
Looking for Plagiarism free Answers for your college/ university Assignments.
- PSBA300CA / PSBA300CW Academic Writing 3: Writing Skills for Dissert and Res Prj (Engineering) PT Assignment
- MGT557 Leading the Company of the Future End-of-Course Assessment – January Semester 2026
- PSS304 Psychological Perspective to Public Safety Assignment Questions 2026 | SUSS
- PSS309 Cybercrime Tutor-Marked Assignment 01, Jan 2026 Presentation | SUSS
- CMM315 Peacebuilding and Security Tutor-Marked Assignment – 01, January 2026 Presentation
- S2470C Behaviour Change Coursework Asessment 2026 | Republic Polytechnic
- S3470C Nutrition Care Process Coursework Assessment 2026 | Republic Polytechnic
- PSY371 Performance Psychology Tutor-Marked Assignment – 01, January 2026 Presentation
- CM2015 Programming with Data Midterm Coursework Assignment 2026
- CM2030 Graphics Programming Assignment Brief 2026 | UOL
