/ctbs

A grade 12 Object-Oriented Programming exam project showcasing a simple cinema ticket booking system.

Primary LanguageJava

Learning Objectives

Grade 12 Achievement Criteria

To achieve the grade 12, students should meet the following learning objectives with no or only minor mistakes or errors:

No. Learning Objectives
1. Develop a simple application through object-oriented (OO) design and (OO) programming.
2. Use tools and techniques for producing a simple application from a structured or unstructured specification.
3. Demonstrate the use of the concepts and fundamentals of object-oriented programming through the development of a simple application.
4. Demonstrate understanding of the concepts and fundamentals of object-oriented programming.
5. Discuss and reflect on concrete code implementations and identify business limitations to technical implementations.
6. Communicate effectively about development methods, techniques, and object-oriented programming concepts to a wider audience.

Grade Received: 12

Course Details

Field Information
School Copenhagen Business School (CBS)
Course Object-Oriented Programming
Language English
Course ECTS 7.5 ECTS
Type Mandatory
Level Full Degree Master
Duration One Semester

Exam project: Cinema Ticket Booking System (ctbs)

Welcome to the Cinema Ticket Booking System (ctbs) application. This project demonstrates the mastery of object-oriented design and programming concepts, fulfilling the grade 12 achievement criteria. The application allows users to book tickets for movie presentations based on a schedule. Below is the console output showcasing the functionality of the Cinema Ticket Booking System:

Movie Presentation Schedule:
 3) 2015-11-19 11:30 - FRÆKKE FRIDA OG DE FRYGTLØSE SPIONER (75 minutes)  - 114 seats left
 1) 2015-11-20 15:30 - THE TERMINATOR (107 minutes)                       - 26 seats left
 2) 2015-11-21 15:30 - TERMINATOR 2: JUDGMENT DAY (137 minutes)           - 107 seats left
 4) 2015-11-25 11:30 - FRÆKKE FRIDA OG DE FRYGTLØSE SPIONER (75 minutes)  - 116 seats left
 5) 2015-11-26 11:30 - THE TERMINATOR (107 minutes)                       - 8 seats left
Enter the number of the presentation you will see:
2
How many tickets do you want?
2
+====---------------------------====+

     1  2  3  4  5  6  7  8  9 10
 1: [░][░][░][░][░][░][░][░][░][░]
 2: [░][░][░][░][▓][░][░][░][░][░]
 3: [░][░][░][░][░][░][░][░][░][░]
 4: [░][▓][░][░][░][░][░][▓][░][▓]

 5: [░][▓][░][░][░][░][░][░][░][▓]
 6: [░][░][░][░][░][░][░][░][░][░]
 7: [░][░][░][░][░][░][░][░][░][░]
 8: [░][░][░][░][░][░][▓][░][░][░]
 9: [░][░][░][░][░][░][▓][▓][░][░]

10: [░][░][▓][▓][░][▓][▓][░][░][░]
11: [░][░][░][░][░][░][░][░][░][░]
12: [░][░][░][░][░][░][░][░][░][░]
+-----------------------------------+
Enter row number for ticket #1:
1
Select seat number for ticket #1:
1
+====---------------------------====+

     1  2  3  4  5  6  7  8  9 10
 1: [▓][░][░][░][░][░][░][░][░][░]
 2: [░][░][░][░][▓][░][░][░][░][░]
 3: [░][░][░][░][░][░][░][░][░][░]
 4: [░][▓][░][░][░][░][░][▓][░][▓]

 5: [░][▓][░][░][░][░][░][░][░][▓]
 6: [░][░][░][░][░][░][░][░][░][░]
 7: [░][░][░][░][░][░][░][░][░][░]
 8: [░][░][░][░][░][░][▓][░][░][░]
 9: [░][░][░][░][░][░][▓][▓][░][░]

10: [░][░][▓][▓][░][▓][▓][░][░][░]
11: [░][░][░][░][░][░][░][░][░][░]
12: [░][░][░][░][░][░][░][░][░][░]
+-----------------------------------+
Enter row number for ticket #2:
1
Select seat number for ticket #2:
2
+====---------------------------====+

     1  2  3  4  5  6  7  8  9 10
 1: [▓][▓][░][░][░][░][░][░][░][░]
 2: [░][░][░][░][▓][░][░][░][░][░]
 3: [░][░][░][░][░][░][░][░][░][░]
 4: [░][▓][░][░][░][░][░][▓][░][▓]

 5: [░][▓][░][░][░][░][░][░][░][▓]
 6: [░][░][░][░][░][░][░][░][░][░]
 7: [░][░][░][░][░][░][░][░][░][░]
 8: [░][░][░][░][░][░][▓][░][░][░]
 9: [░][░][░][░][░][░][▓][▓][░][░]

10: [░][░][▓][▓][░][▓][▓][░][░][░]
11: [░][░][░][░][░][░][░][░][░][░]
12: [░][░][░][░][░][░][░][░][░][░]
+-----------------------------------+
Enter your full name:
John Doe
Enter your phone number:
555-0100
#### BOOKING INFORMATION ####

Please confirm the booking details!
Name:               John Doe
Phone:              555-0100
Title:              TERMINATOR 2: JUDGMENT DAY (137 minutes)
Date:               2015-11-21 15:30
Number of bookings: 2
Seats booked:
  Ticket# 1 : On row  1, seat  1
  Ticket# 2 : On row  2, seat  1

Type 'y' to confirm, or any key to cancel.
y
Your booking is complete! :D