Implement program in python

Assignment Help Python Programming
Reference no: EM132891469

Timetable Organiser is a system that allows users to view university timetables in multiple forms including by campus, room, subject, and lecturer. The system expects the timetable data to be stored in a simple comma-separated text file with the format:

subject,activity,day,start,end,campus,room,lecturer

A sample timetable data file is shown below:

ABC101,Lecture,Monday,08:00,10:00,Jenolan,J10112,Ada Log
ABC101,Tutorial,Tuesday,10:00,11:00,Jenolan,J10115,Ena Blue
ACE204,Lecture,Monday,09:00,11:00,Tarana,T05201,Kin Wall
ACE206,Lecture,Wednesday,13:00,14:00,Tarana,T06402,Kin Wall
PRG321,Lecture,Tuesday,14:00,16:00,Jenolan,J09302,Foxy Rex
PRG321,Tutorial,Thursday,11:00,12:00,Jenolan,J09212,Esk Brown

You are required to develop a menu-based program that implements the Timetable Organiser system. Your program should prompt the user for a timetable data file name. After the file has been successfully read, the system will interact with the user to view the timetable according to the desired selections.

You must define a function called display_timetable that accepts a string parameter containing the selection type and a list parameter containing the selection results, and prints the table in the format shown in the sample above.
You must use lists and string methods in your program.
You must handle the IOError exception with a specific handler. In addition, your program must not crash regardless of the input provided.
Your program must not import any library or module other than your own written modules (if any).

Task 1 Implement your program in Python. Comment on your code as necessary to explain it clearly.

Task 2 Select at least three sets of test data that will demonstrate the normal operation of your program; that is, test data that will demonstrate what happens when a valid input is entered. Select two sets of test data that will demonstrate the abnormal operation of your program; that is, test data that will demonstrate what happens when an invalid input is entered or when an error is encountered.

Set it out in a tabular form as follows: test data type, test data, the reason it was selected, the output expected due to using the test data, and finally a screenshot of the output actually observed when the test data is used. It is important that the output listings (i.e., screenshots) are not edited in any way.

Attachment:- Instructions_File.rar

Reference no: EM132891469

Questions Cloud

What is organization direction : What is Organization Direction, Design, and Effectiveness with given examples? there is a certain figure that explains it, what is the explanation of the figure
Bus 2003 sustainability and ethics : You need to consider a significant business ethics and/or sustainability issue. Do not consider multiple issues as it will degrade the quality of work.
Discuss importance of business ethics in organization : You are commissioned to advise your organization on business ethics and corporate social responsibility. You are required to write a report. It should be around
Explain accumulation by dispossession : In McNally Chapter 5 Global Slump, how does he define and explain accumulation by dispossession?
Implement program in python : Implement your program in Python and demonstrate the normal operation of your program; that is, test data that will demonstrate what happens when a valid input
What is direct cost and indirect cost : What is direct cost and indirect cost? Give its relationship in research budget preparation
Find concepts from regression modelling : A professor ran a regression between the number of hours that students spent studying (self-reported by students) and their final grade.
What are the limitations of electronic job markets : The online job market connects job seekers with potential employers.
Factors affecting the reliability of a research instrument : b) "Validity is more critical to measurement than reliability". Do you agree with the statement? Explain.

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python script that reads the child mortality data

ICT702 : Write a Python script that reads and analyses the child mortality data file (WHOSIS_MDG_000003.csv) and produce at least FIVE.

  Write a program that inputs names of personal expenses

Write a program that inputs names of personal expenses and a corresponding amount for each expense. The program should store all input data in lists.

  What pre-processing could you do to improve the likelihood

Describe two advantages and two disadvantages that affect at least one of these stakeholders and Compute the mutual information between Feature1 and Feature2

  Write a program that prompts the cashier to enter all sales

A supermarket wants to reward its best customer of each day, showing the customer's name on a screen in the supermarket.

  Create the pseudo code from the following request

The program must have some sort of menu that allows users to make selections to do a particular calculation. It must provide five menu items that allow the user

  What is the optimal production policy

QBUS 2310 Management Science Assignment. What is the optimal production policy and what is the profit under this policy

  Develop a program to solve the anteater bed problem

Develop a program to solve the Anteater Bed and Breakfast problem. Develop this code in its own BandB.py file. Pay very close attention to the instructions, especially about developing the program in incremental stages

  Create a text-based program for simulating a supermarket

ITECH1400 - Supermarket Self-Service - creating a text-based program for simulating a supermarket self-service checkout using the Python 3 programming language

  Write a program that reads in words entered by the user

CSCI 1100 Computer Science Homework - Loops and Lists. Write a program that reads in words entered by the user and checks whether the word at least 8 characters

  Create a simple ATM script

Create a simple ATM script. The script emphasizes the importance of using functions in the creation of more organized and reusable code

  Create functions to simplify your code

Create functions to simplify your code. If you find yourself writing the same code over and over again, it should probably be made into a function.

  Write a program to conversate with the user

Write a program to conversate with the user. The program must ask for both strings and numbers as input.

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