Write test cases that ensure your program

Assignment Help Other Subject
Reference no: EM132463300

ITECH1400 Fundamentals of Programming - Federation University

Assignment Overview

This is an individual assignment that requires you to design, develop and test a small text-based program

Learning Outcomes

The following course learning outcomes are assessed by completing this assessment:

Knowledge:

KO1. Identify and use the correct syntax of a common programming language.

KO2. Recall and use typical programming constructs to design and implement simple software solutions.

KO3. Reproduce and adapt commonly used basic algorithms

Skills:

SO1. Utilise pseudocode and/or algorithms as a major program design technique.

SO2. Write and implement a solution algorithm using basic programming constructs.

SO3. Demonstrate debugging and testing skills whilst writing code

Application of knowledge and skills:

AO1. Develop self-reliance and judgement in adapting algorithms to diverse contexts.

AO2. Design and write program solutions to identified problems using accepted design constructs.

Assessment Task

You work for the Australian Tax Office (ATO) and it's time to audit the Tooth Fairy. The Tooth Fairy has submitted a CSV file with the details of all the tooth pickups this year.

The assignment is broken up into three main components:
a) Design pseudocode to analyse the CSV file
b) Create an activity chart which illustrates the behavior of the pseudocode
c) Create a program based on the pseudocode and activity chart diagram

Your submission should consist of two files: a Word document containing the design pseudo-code and activity chart and a Python file (script) which is the final program.

The CSV File

You will need to download the addresses.csv file from Moodle. The file contains 500 records across seven columns. Here's a sample of the file and the type of information that it stores.

First Name

Surname

Street Address

Suburb

State

Postcode

Total number

of teeth lost

Rebbecca

Didio

171 E 24th St

Leith

TAS

7315

8

Stevie

Hallo

22222 Acoma St

Proston

QLD

4613

2

Mariko

Stayer

534 Schoenborn St #51

Hamel

WA

6215

16

Gerardo

Woodka

69206 Jackson Ave

Talmalmo

NSW

2640

20

Section 1: Design

This stage requires you to prepare documentation that describes the functionality of the pseudocode and how it is to be tested. There is no coding or code testing involved in this stage.

Requirements:

1) Read all of this assignment sheet first!!!
2) Write pseudocode that describes how the program will operate.
a. All program requirements must be included, even if you do not end up including all these requirements in your program code.
b. The algorithm must be structured logically so that it will function correctly.
3) Write five test cases that ensure your program operates correctly

Section 2: Activity Flowchart

Using either the online website draw.io (preferred), or the applications Visio or PowerPoint - create an activity diagram of how the program should operate.

Make sure to use the correct symbols in your diagram for starting, processes, decisions/branches, and ending the process.

Once you have completed your activity flowchart, add it to your Word document.

Section 3: Computer Program

You are free to design and implement the program however you see fit. Here are some requirements that must be incorporated into your program.

Problem 1. You must display a welcome message when the program starts. At a minimum, this message should contain the name of your program, the name of the program developer and your student ID.

Problem 2. Your program should have a text menu that allows the user to
a. Print the following statistics
i. Total number of children in the text file
ii. Average number of teeth claims over the years
iii. Number of children who have never lost a tooth
iv. Number of children who have lost all their baby teeth
v. Total expenditure for this year given the following:

Number of teeth lost

Amount

0

-

1

$1.00

More than 1

$0.50

b. Print to a new file, a list of children who haven't lost any teeth. The user should be given the chance to enter a filename.
c. Display a graph showing the number of claims per State
d. Display a graph comparing the overall average number of teeth lost for two given States

Problem 3. To help with the readability of your code, you should use functions

A screenshot of a sample program is included in Appendix 1.

Finally, you should use your five test cases and demonstrate if they pass/fail and the reasons. Add your written response to the word document.

Attachment:- Fundamentals of Programming.rar

Reference no: EM132463300

Questions Cloud

Prepare an amortization schedule for four periods : Prepare an amortization schedule for four periods,explaining what the effective-interest method is, why it is preferable, and how it is computed.
Provide digital forensic expert testimony : Provide Digital Forensic Expert Testimony
Create a product-line profitability report for sfs : Create a product-line profitability report for SFS under the current costing system. (Loss amounts should be indicated by a minus sign.
What is the marginal tax rate on the income : How would your answer differ if they, instead, had $74,000 of additional deductions?what is their marginal tax rate on this income?
Write test cases that ensure your program : Design and implement the program however you see fit. Here are some requirements that must be incorporated into your program
Calculate volume variance : Calculate Volume (efficiency) variance, Quantity (volume) variance, Cost (price) variance, Include the formulas used with reference.
Complete the monthly personnel report for the surgical unit : Complete the monthly personnel report for the surgical unit. determine what caused the variance. In addition, the director receives the patient acuity levels
How information affect her FTE budget request for next year : She found she was under budget by three FTES. Explain how that could have happened and how this information affects her FTE budget request for the next year.
Create a data dictionary for the data source : Create a data dictionary for the data source by the group and What are the top 5 countries with respect to each customer type

Reviews

Write a Review

Other Subject Questions & Answers

  Which theory do you think best describes mahatma gandhi

Think of a recent negative or positive experience where you were required to lead an individual or group of people (school, home, work, community, etc.).

  How each of the steps applies to your specific organization

HRM560 Using the company that your instructor previously approved, apply Kotter's eight (8) steps of change management to an HR situation you have selected.

  What type of story or set of connections did you devise

What type of story or set of connections did you devise, Did it help improve your memory, What applications do you see for this strategy

  What is right and wrong in the cases

Discuss cases 3B/3E and comment on the ethical situations. What is right and wrong in the cases. Clearly articulate the dilemma (the choice between two correct)

  Calculate schedule variance

Calculate Schedule Variance - Discuss the meaning of each of these indicators and so, the health of the project - Calculate Schedule Variance

  How has government policy affected native american languages

What are three misconceptions regarding American Indian languages? What are some of the factors that determine the vitality of specific languages?

  Which is most associated with high status consistency

Which theory holds that global inequality is primarily caused by core nations (or high-income nations) exploiting semi-peripheral and peripheral nations (or middle-income and low-income nations), creating a cycle of dependence?

  Relationship between the local and federal governments

How do these principles affect the relationship between the local and federal governments? What is the future of metropolitan government in the federal system?

  What type of cause of action cardware may be able to bring

Discuss what type of cause of action Cardware may be able to bring against Elizabeth. Also can Cardware add CHEAPO who is Elizabeth's Internet Service Provider.

  Functions of management issues

What is management? Why is management Necessary? How do you think management has evolved?

  Discuss paper of information from your various sources

essay should be formatted in MLA style, including double spacing throughout. All sources should be properly cited both in the text

  Aristotle views learning and education

What did Aristotle have to say about Education? Describe theory of value, theory of knowledge, theory of learning, theory of human nature.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd