Discuss the elements of effective programming style

Assignment Help Programming Languages
Reference no: EM132380683

Alignment with Unit and Course

Unit Learning Outcome

ULO 3: Describe and discuss the elements of effective programming style

ULO 4: Demonstrate an understanding of the software development life cycle and apply sound programming analysis techniques (design, coding, debugging, testing and documentation) to justify simple programming problems

In this project, you will work individually to write programs which demonstrate your understanding of IPO and usage of simple functions in Python programs.

Content and Structure:
You will have to write a modular program to:
1. Perform a series of transactions
2. This will be a project which students will choose and discuss with the lecturer prior to commencing.
3. Examples could be a scientific calculator, expense management system, online shopping system, banking system etc

Program expectation:
• The student must be able to explain the working of the program and its logic.
• Program should be indented, proper comments should be given, modification history should be present, variable names and data types should be chosen appropriately.
• The program should compile and execute to display the result.
• The student must use programming constructs available in Python and follow coding standards.

Assessment Description

Detailed Submission Requirements

• Multiple program files may be uploaded.
• Student will also need to demonstrate the working of the program along with a full explanation of the underlying code.
• Follow coding standards, naming conventions for variables and functions.
• Students will be asked to explain the working of their program and the logic they've used.
• Coding should be modular and program should use all the programming constructs learnt in the course.

Program 1
The program you will be developing will be used by event organizer's staff who are promoting social gatherings. e.g. LAN Parties, Board Game Nights

The event organizer has a range of events. Customer can book a seat at an event, and if circumstances change they can remove their reservation at a later time, but not when it is less than 1 day before the event. The event organisers want you to make a program that can be used by their staff to store seat reservation information.

Following features need to be implemented in the program:

Basic Tasks
1. Create customer details - Name, Email, Reference Code (5 digit reference code that does not start with zeros (e.g. 10000 is the smallest acceptable value), Adult or Child
2. Reserve seat at an event - restriction is that customer can book only one seat for given event, they may however book seats at a different event
3. Once all seats at anevent are booked, user should get a warning message - sorry, event is sold out
4. Customers can cancel their reservation, condition is, it must not be allowed less than 24 hours before an event
5. Show summary information about an event - number of seats booked, number of seats available
6. Information about customers and event bookings must persist

Advance Tasks
1. Allow user to create a new event
2. Full validation of all input
3. Ask user to choose file name and path to save the file (Assumption is that the directory/folder already exists)
4. Report on a customer's reservation

Program 2
Your program will be used by the staff who work for an airline company, e.g. Qantas Airways.
The airline has a range of flights between various cities each day. Customers can book to fly on a flight, and if circumstances change they can cancel their booking at a later time, but not when it is less than 2 hours until the flight. The client want you to make a program that can be used to store the booking information, and the check-in information of the people on a flight.

The program should allow staff to:
1. Create customer details - Name, Address, 3 digit passenger code that does not start with zeros (e.g. 100 is the smallest acceptable value), whether the customer can only eat halal meat (e.g. Muslim passengers)
2. Customers should be able to book seats on a flight, only one seat on a flight per customer. They may however book a seat on a different flight.
3. Cancel a booking - only permitted 2 hours before the flight
4. Summary Information
a. The source and destination places.
b. The number of seats that are booked.
c. The number of seats that are available.
d. The number of passengers booked on the flight that need a halal meal.
5. Customer and flight information must persist

Advanced Tasks
1. Create a new flight
2. Full validation of all input
3. Ask user to choose file name and path to save the file (Assumption is that the directory/folder already exists)
4. Report on a customer's booking

Verified Expert

This is a python program to implement the airline booking system.In this we are using classes for the customer and airline records and storing the data in binary data file. All the data of customers and airline records including booking records are stored in binary data file.

Reference no: EM132380683

Questions Cloud

The gross margin from these transactions of green company is : All of the merchandise was sold to customers for $24,100 cash and delivered under terms FOB shipping point with freight cost amounting to $430.
Discuss the new skills you acquired from this class : Consider the content of this class as they relate to financial acuity and managerial decision making. discuss the new skills you acquired from this class?
Why reducing number of parts in product reduce costs : Design for Manufacturing Question - List 10 reasons why reducing the number of parts in a product might reduce production costs
What was sam companys sales : Net Income$93,500 COGS$377,200 Gross Margin$162,100. Based on the information provided, what was Sam Company's Sales?
Discuss the elements of effective programming style : Describe and discuss the elements of effective programming style - Demonstrate an understanding of the software development life cycle and apply
Performance management process : How we can get effective feedback as part of the performance management process?
Prepare the journal entry to record the sale on february 1 : Prepare the journal entry to record the sale on February 1, 2019. Determine how much interest Link will receive if the note is repaid on December 1, 2019.
Organizational design and organizational structure : What is the most significant challenge to organizational effectiveness that occurs as a result of design and structural choices?
What are the relevance of peace reconciliation : What are the relevance of peace reconciliation and conflict resolution in the dynamics of management

Reviews

len2380683

10/2/2019 10:21:41 PM

Rubrics Marking Criteria HD D ULO 3: Describe and discuss the elements of effective programming style ULO 4: Demonstrate an understanding of the software development life cycle and apply sound programming analysis techniques (design, coding, debugging, testing and documentation) to justify simple programming problems Program generates output as expected Header section has modification history Naming conventions are followed for variables, functions and other programming units (24 - 30 marks) Program generates output as expected Program follows a modular approach and uses all the programming constructs learnt Functions are used to perform operations (18 -24 marks)

Write a Review

Programming Languages Questions & Answers

  Write a perl program to parse out the file

Do a search for the term "anthrax" in PubMed. Then search the Protein and Nucleotide databases -

  Compute the area of a circle

PROGRAM 01 Compute the area of a circle. The user must enter the radius of the circle. Use the following formula for area A = 3.14 R2

  Write a program to display the count on the screen

Write a program that reads a text from the keyboard until the user presses the "Enter" key. Your program must count the number of uppercase alphabets.

  Write a program to compute the diameter of a steel rod

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and copper rod, which can withstand a particular compression load

  As part of a jit initiative at bmws motorcycle assembly

as part of a jit initiative at bmws motorcycle assembly plant bmw has reduced the number of engines loaded on each

  Program to run at end of semester to produce grade summary

Write the program for instructor to run at the end of the semester to produce grade summary for one student, as shown in box below.

  Select the names and average salaries for all departments

Employee table contains the following fields: ID, firstname, lastname, deptid, managerid, projectid.

  Compute the area of a circle

In MIPS assembly, write an assembly language program which asks a user for a decimal number, converts it to hex, prints the result.

  Program to assign anonymous array of double value

Write c++ statements to permit the user to enter n, number of values to be processed; then assign an anonymous array of n double values, storing its address in doublPtr.

  Implement a lexical and syntax analyzer

Implement a lexical and syntax analyzer based on the following grammar. Your analyzer should read an input test program from a file and then determine if it contains a syntax error

  Use a switch statement to calculate a letter grade

Use a switch statement to calculate a letter grade based on a numeric average up to 100. Allow the numeric score to be entered in a text field. A Grade button will display the corresponding letter grade in a label.

  Write python code to implement linear regression model

In this programming assignment, you are asked to write python code to implement linear regression model. To test the correctness of your model, you need to apply your linear regression model on two linear regression problems

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