You are on page 1of 2

POST Assessment Questions

1. Design and Develop the solution that to meet the given scenarios with MySQL and PHP
Scenario 01 Scenario 02

SHIHLIN SHIHLIN
TAIWAN STREET SNACKS TAIWAN STREET SNACKS
(HarbourFront Centre) (HarbourFront Centre)
1 Maritime Square 1 Maritime Square
#01-84A, Singapore 099253 #01-84A, Singapore 099253
Receipt No.3 Temp-Temp_01 Receipt No.4 Temp-Temp_01
Shift No.1 2014-02-20 Shift No.1 2014-02-20
Cashier:SUPPORT 2014-02-21 17:43:23 Cashier:SUPPORT 2014-02-21 17:48:35
DINE-IN DINE-IN
---------------------------------------- ----------------------------------------
QTY ITEM AMOUNT QTY ITEM AMOUNT
---------------------------------------- ----------------------------------------
1 SET 1 5.00 1 Hazelnut Latte 4.00
1 Espresso 0.00 1 Cappuccino 4.00
1 Blueberry Muffin 0.00 ----------------------------------------
1 Cafe Latte 4.00 Sub Total 8.00
1 Hazelnut Latte 4.00 Grand Total 8.00
1 Upsize 0.50 CASH 8.00
1 Cappuccino 4.00
1 Extra Hot 0.00 CUSTOMER HOTLINE
---------------------------------------- (65) 6100 1218
Sub Total 17.50 ***Thank You!***
Discount % 10
Grand Total 15.75
CASH 15.75

CUSTOMER HOTLINE
(65) 6100 1218
***Thank You!***

The given scenarios show the receipts of Food and Beverage Point of Sales System.

The first scenario mentioned that for receipt no 3 which saved into shift 1 and working for day
2014/02/20. And the second one is receipt no 4 respectively.

The first receipt contains SET 1 and its condiments, and normal items and its modifiers. That shown
with indentation and color separated. And its payment is 10 percent discount with CASH.
The second one is very straight forward receipt of normal pos.
• Design ERD and create database tables for particular objects
• Create classes that can represent possible attributes and prototypes for the receipt and its
related ( Scenario 01 , Scenario 02 )
• Write down code snippet to create a sale transaction that having at least two items inside
receipt by invoking an object that driven from previous question

You might also like