Presentation is loading. Please wait.

Presentation is loading. Please wait.

Coursework Airport Departures. How to fly... Buy the ticket – you now have a place reserved on a flight. – You now have a ticket (often this is virtual)

Similar presentations


Presentation on theme: "Coursework Airport Departures. How to fly... Buy the ticket – you now have a place reserved on a flight. – You now have a ticket (often this is virtual)"— Presentation transcript:

1 Coursework Airport Departures

2 How to fly... Buy the ticket – you now have a place reserved on a flight. – You now have a ticket (often this is virtual) Check in – go to the right desk, identify yourself and hand over bags – You are given a boarding pass. Clear security – your boarding pass is checked. Board the plane – your boarding pass is checked. Lecture 5: Review2

3 Airport Lecture 5: Review3

4 Departures Board Lecture 5: Review4

5 Data is Shared Departures data is public, passengers need to see this information. The departures data may be available on the internet. Data on tickets is not public but it is shared, check in desk, boarding gate, flight crew. Lecture 5: Review5

6 Database A database can be shared. One server holds the data and serves it to many clients. As the data is stored in one place only there can be only one version of the data. Any updates are available to all clients immediately. Lecture 6: Airport Departures6

7 What can go wrong? Someone who has no booking can try to check in. Someone who has not checked in can try to board. Someone who has a booking does not check in. Someone who has checked in does not board. Lecture 5: Review7

8 Flights Table Lecture 5: Review8

9 Task - Compulsory Create the departures board: – The board must show the next 50 flights. – It must show the time of departure, the destination, the flight number, the gate, notes. – The board should be easy to read. – The board should have text as big as possible. Edit Flight Data – Provide a list of all flights. Allow an operator to change details (CRUD). Lecture 5: Review9

10 Task - Optional The departures board must show destinations in English and Chinese. These alternate every 5 seconds. Where the same flight has two or more flight numbers it must take only one line. The flight codes must cycle every 2 seconds. Lecture 5: Review10

11 Sample Solution Lecture 5: Review11

12 Sample Solution Lecture 5: Review12

13 Score Sheet Task CommentsScore Departures shows all columns 30% Departures shows time now 20% Edit Flight Table available 20% English and Chinese destinations 10% One line per flight 10% Flight Numbers Cycle 10% Total 100% Lecture 6: Airport Assessment13

14 Tomorrow At the tutorial you will practice how to use a database. At tomorrows lecture I will explain how it works. Lecture 5: Review14

15 Summary You will build the application on your own. I will show you examples using a different database. You can apply the examples to the Flights database. I will check your work on Thursday. You will need to explain, in English, what your program does. Lecture 5: Review15


Download ppt "Coursework Airport Departures. How to fly... Buy the ticket – you now have a place reserved on a flight. – You now have a ticket (often this is virtual)"

Similar presentations


Ads by Google