Read and write data to a persistent storage

Publish By: Admin,
Last Updated: 17-Oct-23
Price: $120

Fundamentals of Programming

Assessment - Coding Assignment Analysis

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.

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": "johnsmith@gmail.com", "phone": "0413-535-124"
},
{
"name": "Jane Doe", "age": 28,
"email": "janedoe@yahoo.com", "phone": "0401-655-568"
},
{
"name": "Bob Johnson", "age": 42,
"email": "bjohnson@hotmail.com", "phone": "0433-515-912"
}
]

Assessment Instructions

Assessment instructions for this assessment:

1. 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.
2. Test the program using the provided test data and ensure that the output matches the expected output.
3. Submit your Python 3 program, along with a report that documents your program design, implementation, and testing.
4. Ensure that your report includes the following:
a) Explanation of the algorithm used in the program.
b) Discussion of coding best practices used in the program.
c) Explanation of any issues encountered during development and how they were resolved.
d) Any other relevant information.