Develop and test a small text-based program


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. Utilize 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 analyze 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

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Develop and test a small text-based program
Reference No:- TGS03043513

Expected delivery within 24 Hours