1
Deakin College
SIT105 Thinking Technology and Design
Major Assignment – Trimester 2 2018
This assignment is to be completed individually. It is worth 25% of overall marks. It is due on or
before 11.50 pm Friday September 14.
Objectives:
There are several goals for the assignment:
• To demonstrate your understanding of some of the concepts behind programming;
• To demonstrate a methodical approach to solving problems; and
• To design and develop algorithms using sequence, selection and iterative constructs and
modularisation.
Tasks:
• Carefully read all the questions and provide solutions to all four questions.
• Word process your solution and submit a word file in “Major Assignment” Link.
• Submit your assignment in the assignment submission tool available in Moodle (Week 10).
Late submissions will be penalised. Note: The assignment is marked out of 50 marks but is
worth 25 marks i.e. 25%
• Your assignment will be assessed on how well your solutions have addressed the problem
and met the requirements, and on the overall “correctness” of your solutions. Use of
appropriate constructs; appropriate messages/error messages; suitable formatting of
output; and use of appropriate modularisation techniques are further assessment criteria.
• NOTE: Your assignment will be submitted in Turnitin. Similarities will be checked by
lecturers, if you submit an algorithm similar to your classmates you might get 0.
• DO NOT include questions in your submission. Just include question number.
1. Draw a defining diagram (IPO Chart) for the following problem statement (5 marks).
A program that will accept a value in miles as the speed measured by the car’s speedometer.
Converts that measurement to kilometres and alert the driver if he or she is travelling more than
90 km/hr.
Marking Criteria
• Correct Input (1 Mark)
• Correct Processing (3 Marks)
• Correct Output (1 Mark)
2
2. Develop an algorithm for the following problem statement. Your solution should be
pseudocode with appropriate comments (10 marks).
Write an algorithm to read a positive integer P from the keyboard and find the average of all
even numbers between 1 and P inclusive. Perform any necessary validation.
Marking Criteria
• Algorithm Produces Correct Solution (4 Marks)
• Correct Selection/Repetition statements (4 Marks)
• Presentation, Layout and Comments (2 Marks)
3. Develop an algorithm for the following problem statement. Your solution should be a
pseudocode with appropriate comments. You should use modularisation in your solution and
provide appropriate error messages (15 marks).
A program that prompts the user for an annual salary and then calculate the amount of tax that
should be paid. The tax rate that applies is shown in the table below.
| Annual Salary | Tax |
| 0 – $18,200 | Nil |
| $18,201 – $37,000 | 19c for each $1 over $18,200 |
| $37,001 – $80,000 | $3,572 plus 32.5c for each $1 over $37,000 |
| $80,001 – $180,000 | $17,547 plus 37c for each $1 over $80,000 |
| $180,001 and over | $54,547 plus 45c for each $1 over $180,000 |
If an invalid annual salary has been entered (negative or zero), then the user should be asked to
re-enter the annual salary again. The annual salary and the amount of tax should be displayed
to the screen with appropriate messages.
Marking Criteria
• Algorithm produces correct solution (5 Marks)
• Algorithm is fully modularised (4 Marks)
• Correct Selection/Repetition statements (4 Marks)
• Presentation, layout and comments (2 Marks)
3
4. Develop an algorithm for the following problem statement. Your solution should be a
pseudocode with appropriate comments and a hierarchy chart. You should use
modularisation in your solution (20 marks).
Develop an algorithm for a program that reads bus number, number of passengers and
destination from a file called “Bus_Data.xlsx”. The program should then compute the total
revenue of each bus based on the following destination fares:
| Destination | Ticket Cost (per person) |
| Sydney | AUD 68 |
| Adelaide | AUD 87 |
| Canberra | AUD 59 |
| Brisbane | AUD 140 |
And then Bus number, number of passengers, and the total ticket sold for each bus should
be written into a file named “Bus_ Revenue.xlsx”.
NOTE: Heading for output should be written at the start before writing records.
NOTE: The following values are just sample data, each column may have hundreds of
records with different values.
Here are 3 sample records from Bus_Data.xlsx
| Bus Number | Passengers | Destination |
| HDS – 263 | 582 | Sydney |
| NBT – 547 | 630 | Canberra |
| SYD – 212 | 499 | Adelaide |
Base on the above sample values, output in “Bus_ revenue.xlsx” file would be:
| Meter Number | Passengers | Total Ticket Sold (AUD) |
| HDS – 263 | 582 | 39,576 |
| NBT – 547 | 630 | 37,170 |
| SYD – 212 | 499 | 29,441 |
Marking Criteria
• Algorithm produces correct solution (4 Marks)
• Algorithm is fully modularised (4 Marks)
• Correct Selection/Repetition/File statements (4 Marks)
• Presentation, layout and comments (2 Marks)
• Hierarchy chart presentation (1 Mark)
• Correct hierarchy chart based on algorithm (5 Marks)
The post SIT105 Thinking Technology and Design appeared first on My Assignment Online.