Create a program based on the pseudocode

Assignment Help Python Programming
Reference no: EM132433706

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:

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

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

K3. Reproduce and adapt commonly used basic algorithms

Skills:

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

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

S3. Demonstrate debugging and testing skills whilst writing code

Application of knowledge and skills:

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

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

Assessment Details

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:
1) Design pseudocode to analyse the CSV file
2) Create an activity chart which illustrates the behavior of the pseudocode
3) 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

Part 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

Part 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.

Part 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.

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

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:- Develop and test a small text-based program.rar

Reference no: EM132433706

Questions Cloud

How an os knows the type of file system on a flash drive : List steps involved in the OS since plug in of the flash drive until the display of the file system on screen?
Briefly describe the outcome if the ecosystem : Briefly describe the outcome if the ecosystem suddenly ceased to supply the good or service. Example; Assume cowhide is no longer available
Why Do Some Managers Hate the Performance Evaluation : MGMT 310 - Assignment - Paper Topic: Why Do Some Managers Hate the Performance Evaluation? What traits does an effective manager display in the workplace
Types of interactions between user and computer : Briefly describe the types of interactions between the user and the computer and explain how each of these is part of the overall process and the user experienc
Create a program based on the pseudocode : Create an activity chart which illustrates the behavior of the pseudocode and Create a program based on the pseudocode and activity chart diagram
Identify a company and a current or emerging technology : Evaluate the potential benefits and challenges that the company should consider before implementing the technology.
How do typically dispose of a broken compact disk : How would you typically dispose of a broken smart phone? Does community have a means of recycling smart phones?How do typically dispose of a broken compact disk
Whatever happened to object-oriented databases : Whatever Happened to Object-Oriented Databases?", do you agree with the position that an object-oriented database is a niche market?
Operations strategy : Choose two service companies with which you are familiar, such as Facebook, Amazon, and UPS.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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