45
IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3 IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3 IMS1906 Business Programming Fundamentals Assignment 1: Developing Simple Programs Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form. The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted. Conventions Used When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson. See Robertson, 3.3 for explanation of desk checking. When writing TOE charts in this unit, you are expected to follow the conventions presented in Zak. Follow the standards presented in Zak with respect to programming standards, ie: object names, variable names, indentation,

IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

  • Upload
    lyngoc

  • View
    234

  • Download
    1

Embed Size (px)

Citation preview

Page 1: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 2: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 3: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 4: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 5: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 6: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 7: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 8: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 9: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 10: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 11: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 12: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 13: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 14: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 15: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 16: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 17: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 18: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 19: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 20: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 21: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 22: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 23: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 24: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 25: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 26: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 27: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 28: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 29: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 30: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 31: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 32: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 33: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 34: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 35: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 36: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 37: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 38: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 39: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 40: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 41: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 42: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.

Page 43: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 1/3

IMS1906 Business Programming Fundamentals

Assignment 1: Developing Simple Programs

Due date: Week 5, commencing 15 August, in your tutorial. Assessment value: 10% of the total marks for this unit Total marks: 100 Assignment Submission Instructions: Attach a SIMS “INDIVIDUAL assignment coversheet” to the front of your assignment. This can be downloaded from http://www.sims.monash.edu.au/resources/assessment.html

• The answers for question 1 parts a-d should be written in Microsoft Word and submitted in ha rdcopy form.

• The answers for questions requiring a user interface and VB.NET code will need to be submitted in hardcopy and also compressed into a single zip file. Your tutor will tell you how to submit these files for marking. Submit the entire solution folder hierarchy (as a single zip file). The executable file (ending with .exe) does not need to be submitted.

Conventions Used

• When writing algorithms in this unit, you are expected to follow the conventions presented in Robertson.

• See Robertson, 3.3 for explanation of desk checking. • When writing TOE charts in this unit, you are expected to follow the conventions

presented in Zak. • Follow the standards presented in Zak with respect to programming standards, ie:

object names, variable names, indentation,

Page 44: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3

Algorithm Development Question 1: A simple algorithm + small programming task [ 40 marks ]

In Australia, a taxpayer's income is taxed progressively. Broadly, this means that as you earn more income your average tax rate rises.

Progressive taxation means that higher income earners pay more tax than lower income earners. This is achieved by taxing a range of income brackets as a set percentage or cents in the dollar. These income brackets are called tax brackets. The following table details the tax brackets of our progressive tax system for the financial years ending 30 June 2005 and 30 June 2006.

The rate of tax within these brackets is called the marginal rate of tax. For Australian residents, the first tax bracket, from $0 to $6,000, has a zero marginal rate of tax. Tax is applied to every dollar after this figure. This tax-free amount is called the tax-free threshold.

Australian Income Tax rates 2005-06 Taxable income Tax on this income

$0 – $6,000 Nil

$6,001 – $21,600 15c for each $1 over $6,000

$21,601 - $63,000 $2,340 plus 30c for each $1 over $21,600

$63,001 – $95,000 $14,760 plus 42c for each $1 over $63,000

Over $95,000 $28,200 plus 47c for each $1 over $95,000

You have been employed by the Australian Tax Office to develop a simple tax calculator that determines the amount of tax a worker must pay for 2005-2006 financial year given their income. The simple tax calculator must allow the user can enter the amount of money they earn for the year, and display the tax payable. Chose some test data for your simple tax calculator to demonstrate that your calculator works correctly. a) Produce a defining diagram for this problem

[4 marks] b) Write an algorithm which asks for the necessary information, performs necessary calculations,

and generates appropriate outputs. Include steps that display information or messages to the user.

[5 marks] c) Perform a desk check of your algorithm using test data to test all the different paths in your

algorithm. State your test data sets, and the expected outcomes before proceeding with the desk check.

[Test data (2 m), Expected results (1m), Desk check (3m) = 6 marks]

************************************************ d) Assuming now that the user is also required enters their details (name, address and phone

number) Draw a TOE chart for your program [5 marks] e) Design a user interface for your program then build it using the Windows form designer

[10 marks] f) Convert the algorithm into a VB.NET program; use the TOE chart to guide you.

Page 45: IMS1906 Business Programming Fundamentals Assignment 1… · IMS1906: Business Programming Fundamentals Assignment 1 – page 2/3 IMS1906: Business Programming Fundamentals Assignment

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

IMS1906: Business Programming Fundamentals Assignment 1 – page 3/3

[Correctness (2m) Programming style (1m)

Correspondence of algorithm to code (2m) Variable declarations and object naming conventions (2 m)

Internal Documentation (1 m) Data types and conversions (2 m)

=10 marks] Notes: • Make sure you include the two statements Option Explicit On and Option Strict On at the start

of your code file. This will ensure that all variables are declared before being used and enforce explicit data type conversions, helping to reduce errors.