Develop a python program that reads data from a file

Assignment Help Python Programming
Reference no: EM133710059 , Length: word count:1000

Fundamentals of Programming

Assessment - Coding Assignment Analysis

Your Task

This assessment is to be completed individually. In this assessment, you will develop a Python 3 program that reads and writes data to a persistent storage using a module. The program should implement control flow, loops, functions, and classes to manipulate data stored in lists, dictionaries, and files.

Assessment Description

You are required to develop a Python 3 program that reads data from a file, processes it, and writes the results to a new file. The program should implement control flow, loops, functions, and classes to manipulate data stored in lists and dictionaries. You are also required to use modules to handle file input and output. The assessment is designed to test your ability to interpret program specifications, develop a high-level model, transfer it into a software application, and use coding best practices.

The code below is a list of dictionaries where each dictionary represents a customer and contains their name, age, email, and phone number. This data can be used to demonstrate read and write data to a persistent storage.

customer_data=[
{
"name": "John Smith", "age": 35,
"email": "[email protected]", "phone": "0413-535-124"
},
{
"name": "Jane Doe", "age": 28,
"email": "[email protected]", "phone": "0401-655-568"
},
{
"name": "Bob Johnson", "age": 42,
"email": "[email protected]", "phone": "0433-515-912"

Learning outcome 1: Interpret simple program specifications.

Learning outcome 2: Use an integrated development environment to develop, debug and test a solution written in a programming language.

Learning outcome 3: Use a programming language to read and write data to a persistent storage.

Assessment Instructions

Assessment instructions for this assessment:

Use the sample data (code provided in the previous page) to develop a Python 3 program that meets the requirements specified in the assessment requirements document. The program should utilise all the topics covered in Weeks 1-12 of the subject.
Submit your Python 3 program, along with a report that documents your program design, implementation, and testing.
Ensure that your report includes the following:
Explanation of the algorithm used in the program.
Discussion of coding best practices used in the program.
Explanation of any issues encountered during development and how they were resolved.
Any other relevant information.
Submit your Python 3 program code and report to the designated.

Reference no: EM133710059

Questions Cloud

Coding assignment analysis assessment : Coding Assignment Analysis Assessment - Reads and writes data to a persistent storage using a module, The program should implement control flow, loops, function
Compare and contrast crohns disease and ulcerative colitis : Discuss symptoms of GERD, complications, and drug management. Compare and contrast Crohn's disease and Ulcerative colitis.
What learning would be needed in each domain : What learning would be needed in each domain? What learning theories would you consider? How might his family concerns be addressed?
Explain your role with the issue as a health care practition : Explain your role with the issue as a health care practitioner/advocate. How will you keep the attention and respect of this audience?
Develop a python program that reads data from a file : Develop a Python program that reads data from a file, processes it, and writes the results to a new file. The program should implement control flow
Discuss some of observations or criticisms : Discuss some of the observations or criticisms that have been levelled against the court's decision in Mthembu v Letsela and Another 2000 (3)
List approach techniques and methods you will use to drive : List the approach, techniques, and methods you will use to drive your instruction and engage your students to reach the learning objectives.
Probative value of contribution of legislation : Make a critical appraisal of the probative value of the contribution of legislation on the Recognition of Customary marriages Act 120 of 1998 on development
Central high school student council''s request for freedom : The case study involves the Central High School (CHS) student council's request for more freedom, specifically the ability to eat lunch in an outdoor

Reviews

Write a Review

Python Programming Questions & Answers

  Write a modularized body mass index program

Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2.

  Assess the overall quality of code

Create two additional programs able to extract summarised data from the database as CSV files. Along with two support programs to allow these to be tested

  Compare the old score and new score of each student

Compare the old score and new score of each student. If the old score and new score are different, display the two scores.

  Explain the importance of programming style

Describe program functionality based on analysis of given program code and Develop self-reliance and judgement in adapting algorithms to diverse contexts

  Write a while loop that prints all squares less than n

Introduction to Programming Concepts Python. Write a while loop that prints All squares less than n. For example, if n is 100, print 0 1 4 9 16 25 36 49 64 81.

  What is the total cost of a 4 year college

How much in additional gift money or scholarship will be given to you? How much money can you save in a month for this college?

  Write a python script that reads and analyses the pizza data

ICT702 - Data Wrangling - University of the Sunshine Coast - Write a Python script that reads and analyses the pizza data file (Weekly_Sales.csv)

  Calculate the average miles per gallon obtained on a trip

Write a program to solve a simple payroll calculation. Write a program that will calculate the average miles per gallon obtained on a trip.

  Write a small Python script that asks the user for a name

Write a small Python script that asks the user for a name, and then prints the name 10 times and calculate the cost of a single pizza order

  Implement core security features

What you will be implementing here is inspired by real world cases such as the Conficker work. To have any chance of defeating such a threat, you need to understand how they defend themselves.

  Write a program that prompts the user

Write two functions that each accept a distance as an argument, one that converts from Miles-to-Kilometers and another that converts from Kilometers

  Write a python program to count the number of characters

Write a Python program to add 'ing' at the end of a given string. If the given string already ends with 'ing', add 'ly' instead.

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