UP TO 15 % DISCOUNT

Get Your Assignment Completed At Lower Prices

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now
ICT133: Structured Programming Assignment, SUSS, Singapore Effective 15 December 2021, the government announced additional cooling measures for property buyers
 University Singapore University of Social Science (SUSS) Subject ICT133: Structured Programming
Posted on: 19th Aug 2023

# ICT133: Structured Programming Assignment, SUSS, Singapore Effective 15 December 2021, the government announced additional cooling measures for property buyers

• Effective 15 December 2021, the government announced additional cooling measures for property buyers. Stamp duty is imposed on the price of the property purchased. Buyers of properties have to pay Buyer’s Stamp Duty and Additional Buyer’s Stamp Duty. BSD is imposed on any property purchased and is calculated based on the following table.

For example, a property bought for \$1,200,000 will incur BSD of
(1% x 180,000) + (2% x 180,000) + (3% x 640,000) + (4% x 200,000) = \$32,600

In addition to BSD, ABSD is imposed based on the following table.

Express a sequence of statements based on computational logic and write a program that helps a buyer calculate the BSD and ABSD. The program reads in the citizenship status, current number of properties owned, price of property and displays the BSD and ABSD. Sample program executions are as follows:

• Write a program to solve computational problems using structured programming. The program allows a user to practice addition, subtraction and multiplication of numbers.

The scope of the program is as follows:

1. Allow user to input the highest level to achieve. Highest level is 5.
2. Each level consists of 3 questions to add, subtract or multiply 2 numbers. The
operators for the 3 questions appear in random sequence.
3. Addition. For level 1, both operands consists of single digits 1 to 9. For level 2, both operands are double digits and for level 3, both operands are 3 digits and so on. All the numbers should be randomly generated.
4. Subtraction. The number of digits for the operands for each level are the same as addition, except that the second operand must be less than the first, so that the result of subtraction will always be greater than 0.
5. Multiplication is the same as addition in terms of the number of digits for the first operand at each level. For level 1, the first operand should not start with 1. The second operand will always be a single digit from 2 to 9 for all levels.
6. The exercise starts at level 1, with questions from each of the 3 operators, but in random order.
7. At the end of a level, if there are errors in the answers, the user has to repeat that level. If all the answers are correct, program proceeds to the next level.
8. When the highest level is completed, the program ends.

i) Implement a function get Expression that has one integer parameter representing a level and another string parameter representing the arithmetic operator. The function generates a string expression, and the answer based on the requirements for the level. For example, get Expression(2, ‘-‘) may return ’23 – 17 = ‘, 6. Both the string expression and the result value are returned.
ii) Apply structured programming and implement the program. Include a
screenshot of a program execution.

##### Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers

• This question is similar to question 2, but with multiple players competing against each other.

You are to develop an application to address practical requirements and rules as follows:

1. There are multiple players. Players shall be named A, B, C and so on.
2. The expressions generated are the same as Question 2, except that for a level, the same operator is used for all players.
3. The operator is randomly selected for a level.
4. Game starts at level 1. A player gets eliminated if the wrong answer is given.
However, if all the players answer incorrectly for a level, they repeat the same level again.
5. Game progresses to next level for the remaining players who answer correctly.
6. The lone player who gets the correct answer is the winner.

i) Implement a function get Players() that prompts for the number of players. The number must be at least 2. The function returns the players names as a list using letters A, B, C, D etc. depending on the number of players input. A sample run of this function is as follows:

Enter number of players: 1
Please enter at least 2 players.
Enter number of players: 4
4 players [‘A’, ‘B’, ‘C’, ‘D’]

ii) Employ structured programming principles to develop the program. Make use of the get Expression() function in question 2(a). Paste a screenshot of a program execution that covers all scenarios.

##### Hire a Professional Essay & Assignment Writer for completing your Academic Assessments

Get Help By Expert

Elevate your academic journey at the National University of Singapore (NUS) with our comprehensive services! Tackle challenges like the ICT133: Structured Programming Assignment seamlessly. From TOA (Take-Home Assignments) to expertly crafted individual assignments, we offer a top-notch assignment writing service Singapore tailored to your needs. Our experts are here to guide you through your coursework, even offering Online Exam Help. When success is a priority, trust us. Pay for expert assistance and thrive in your studies at NUS, Singapore. Join us today and open the door to academic achievement!

Categories:-
##### No Need To Pay Extra
• Turnitin Report

\$10.00

\$9.00
Per Page
• Consultation with Expert

\$35.00
Per Hour
• Live Session 1-on-1

\$40.00
Per 30 min.
• Quality Check

\$25.00
##### Free

New Special Offer

## Get 30% Off

UP TO 15 % DISCOUNT

Get Your Assignment Completed At Lower Prices

Plagiarism Free Solutions
100% Original Work
24*7 Online Assistance
Native PhD Experts
Hire a Writer Now
My Assignment Help SG Services
My Assignment Help SG