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:
Buy Custom Answer of This Assessment & Raise Your Grades
- 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:
- Allow user to input the highest level to achieve. Highest level is 5.
- Each level consists of 3 questions to add, subtract or multiply 2 numbers. The
operators for the 3 questions appear in random sequence. - 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.
- 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.
- 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.
- The exercise starts at level 1, with questions from each of the 3 operators, but in random order.
- 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.
- 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:
- There are multiple players. Players shall be named A, B, C and so on.
- The expressions generated are the same as Question 2, except that for a level, the same operator is used for all players.
- The operator is randomly selected for a level.
- 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. - Game progresses to next level for the remaining players who answer correctly.
- 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
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!
- CVE2322 Recyclable Gantry Design Assignment Project: Sustainable Civil Engineering Model Challenge
- BMG706 Strategic Quality Change Assignment Report: Enhancing Operational & Quality Management at any Organization
- CVE2323 Structural Systems Report: Analytical & Computational Study of Portal and Frame Structures
- BMK3015 Major Project Assignment Report: Real-World Marketing Solutions for Industry Client Using Research Insights
- BCLO001 Business Statistics Assignment: Exercise Duration Analysis Among Temasek Polytechnic Students
- BM4364 Customer Experience Management Report: Evaluating CX Practices Through Employee Interview in the Service Industry
- GSFM7514 Financial Decision-Making Assignment: Analysis of Costing, Budgeting, and Investment Strategies for SAC, MEMC, and CCID
- BM0973 Crisis Management Assignment: BCRM Analysis of the 2022 Genting Highlands Landslide Disaster
- AC0779 Strategic Management Assignment Essay: Culture’s Role in Shaping Healthcare Strategy and Organisational Outcomes
- ComfortDelGro Organisational Structure Assignment: Analysis for UNGC-Aligned Sustainable Transport Strategy
UP TO 15 % DISCOUNT