ITS70104 Principle of Programming Assignment 1
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
ITS70104
Principle of Programming
Assignment 1
Assessment Criteria
Assessment Task |
Weightage |
MLO Assessed |
Formative / Summative |
Assessment Instrument |
Topics |
Week |
MCQ2.0 |
Practical Assessment 1 |
15% |
MLO 1 |
Formative |
Individual Assignment Hands-on |
1,2 |
2 |
C1, C3A |
Objectives / Module Learning Outcomes (MLO 1)
The objective of this assessment is to enable the students to:
Generate solution to problem using knowledge of the principles of programming and functional programming.
Scenario
An international cosmetics company is looking for a solution to its global individual commission calculation system specifically for its global e-commerce sales agent. You are to select your own remuneration system that has its own unique commission system and other income characteristics. It should have a commission structure table, and any necessary bonus and penalty deductions. The table below is an example of a commission structure table with FOUR (4) commission brackets with few bonuses and deductions.
Based on net monthly sales |
|
Equal or less than $5000 |
No commission |
Next $5,000 (5,001 to 10,000) |
10% |
Next $10,000 (10,001 to 20,000) |
20% |
Above $20,000 |
30% |
Bonus |
|
Highest monthly regional sales |
$3000 |
Sales penalty deductions |
|
Dissatisfied product refund |
1.5x refund amount |
Example
For a sales agent with the highest regional gross monthly sales of $41500, and a product return value of $1000, the commission amount is
Net Sales
Gross Commission
Net Commission
= $41,500 – ($1,000 x 1.5) = $40000
= 0.1 x $5,000 + 0.2 x $10,000 + 0.3 x $20,000
= $500 + $2,000 + $6,000 = $8,500
= $8,500 + $3,000 = $11,500
Input
Your input should capture the agent id, monthly gross sales, bonus items, penalty deductibles items, and all relevant details to enable the accurate calculations. Your input should be a fair combination of various data types such as integers, floating points numbers, string, and boolean. The program should continuously calculate the net commission for different agent until the user type the word "QUIT".
Output
Your output should be ALL the details captured by your input along with the total deduction, gross sales, total bonus and net commission amount. Demonstrate at least THREE (3) individual agent commission calculation with various combination of bonuses and deductions.
Task Part 1 (5%) ANALYSIS and DESIGN
Conduct an in-depth analysis and design of the solution to the problem above. Specifically, you need to provide the followings:
1. The sales commission structure table of your chosen company with minimum of FIVE (5) sale commission brackets/levels.
2. List of the deductions, the required input for their calculation, and their descriptions. You are required to provide minimum of FOUR (4) deductions including the example given.
3. List of the bonuses, the required input for their calculation, and their descriptions. You are required to provide minimum of TWO (2) bonuses including the example given.
4. Pseudocode for the commission calculation algorithm with a looping structure.
Deliverables
A well-structured and properly formatted academic document that contains the items listed in Task 1, and any associated assumptions. Ensure that your submission includes a proper cover page which shows your name, student ID and assignment name.
All submission should be in pdf format (Asgn1Part1_StudentNo_FirstName.pdf).
Submission Due Date: 1155pm 14/09/2022 submit via times.taylors.edu.my submission link.
Task Part 2 (10%) IMPLEMENTATION
Based on your design in Task 1, create a simple Python program that provides the solution to the above problem in a single Python program file. It should demonstrate the followings:
1. Input of relevant details.
2. Output of total bonus and deductions.
3. Output of calculated gross and net sales and commission.
4. Ability to calculate the next agent’s commission without quitting from the program.
Deliverables
A well-structured and properly formatted academic document that provides brief description of your program, and the source code of your Python file created for the program along with sample screenshots of your program’s output. Please follow proper coding style, use proper names for your identifiers, indent the code, and comment the code where appropriate. Ensure that your submission includes a cover page which shows your name, student ID and assignment name. All submission should be in pdf format (Asgn1Part2_StudentNo_FirstName.pdf).
Submission Due Date: 1155pm 21/09/2022 submit via times.taylors.edu.my submission link.
Ethics
Students should submit original work. Proper citations should be provided if any references to publicly accessible materials are used. Students who are found to be plagiarized will receive severe penalties.
2022-09-25