Sie sind auf Seite 1von 29

1SC5

Roland Brilianto
Qonitah Amirah Fadhilla
Fadjri Rizki Al Auzi

Faculty : Mr. Listyo Edi Prabowo, S.T

Faculty of Engineering
University of Indonesia
PROJECT ON
McRonald Order System

Developed By

Name : Roland Brilianto


Qonita Amirah Fadhilla
Fadjri Rizki Al Auzi

Reg. No : 1820010194/1820010174/1820010067

NIIT
McRonald ORDER SYSTEM

Batch Code :

Start Date : October 12th, 2018

End Date : October 28th, 2018

Name Of The Coordinator : Listyo Edi Prabowo, S.T

Name Of Developer : Roland Brilianto


Qonitah Amirah Fadhilla
Fadjri Rizki Al Auzi

Date Of Submission : November, 2018


NIIT
CERTIFICATE

This is to certify that this report, titled McRonald Order System.,embodies the original
work done by Roland Brilianto, Qonitah Amirah Fadhila, and Fadjri Rizki Al Auzi in
partial fulfillment of his course Requitment at NIIT.

Coordinator:

Mr. Listyo Edi Prabowo, ST


ACKNOWLEDGEMENT

We have benefited a lot from the feedback and suggestions given to us by Mr. Listyo Edi
Prabowo, S.T and other faculty members.
SYSTEM ANALYSIS

System summary : Food ordering and serving system provided by the McRonald Order
System is slightly different from the ordering system in general. Since most customers have
to go to a restaurant to order food cashier.

Therefore, they invented some data systems to facilitate the work. Features provided is a
function for ordering food, data processing, and reporting functions as a provider of output
data that has been processed by the system. So that all the details about the food served by
McRonald Order System can be conveyed easily and customers will also be satisfied with the
service of a restaurant.
PSEUDOCODE

procedure Menu (output character, output character, output character)

procedure Total (input numeric, input numeric, input numeric, input numeric,
input numeric, input numeric, input numeric, output numeric)

procedure FriedChicken (input numeric, output numeric)

procedure CheeseBurger (input numeric, output numeric)

procedure Spaghetti (input numeric, output numeric)

procedure CocaCola (input numeric, output numeric)

procedure MineralWater (input numeric, output numeric)

procedure FrenchFries ( input numeric, output numeric)

procedure Hashbrown (input numeric, output numeric)

function TotalFriedChicken (numeric nSum1)

function TotalCheeseBurger (numeric nSum2)

function TotalSpaghetti (numeric nSum3)

function TotalCocaCola (numeric nSum4)

function TotalMineralWater (numeric nSum5)

function TotalFrenchFries (numeric nSum6)

function TotalHashbrown (numeric nSum7)


PSEUDOCODE

procedure Menu (output character cMenu1, output character cMenu2, output


cMenu3)

begin

character cMenu1, cMenu2, cMenu3 //Main Pseudocode

numeric nFood, nBeverage, nSnack

display ‘Welcome to McRonald, Please choose your order’

display ‘Food’

display ‘Beverage’

display ‘Snack’

accept cMenu1

if (cMenu1 == yes)

begin

display ‘1. Fried Chicken’

display ‘2. Cheese Burger’

display ‘3. Spaghetti’

accept nFood

swicth (cMenu1)

begin

case 1:

call FriedChicken

break

case 2:

call CheeseBurger

break

case 3:

call Spaghetti

break

default:

display ‘invalid input’

end
PSEUDOCODE
end

accept cMenu2

if (cMenu2 == yes)

begin

display ‘1. Coca-cola’

display ‘2. Mineral water’

accept nBeverage

switch (cMenu2)

begin

case 1:

call CocaCola

break

case 2:

call MineralWater

break

default:

display ‘invalid input’

end

end

accept cMenu3

else

begin

display ‘1. French Fries’

display ‘2. Hashbrown’

accept nSnack

switch (cMenu3)

begin
PSEUDOCODE
case 1:

call FrenchFries

break

case 2:

call Hashbrown

break

default:

display ‘invalid input’

end

end

end
PSEUDOCODE

System Process: Procedure System


This Procedure represent the Procedure Program of Mc Ronald Order System

procedure FriedChicken (input numeric nQty1) //Fried Chicken


numeric nPrice1, nQty1
character cChoice1
begin
nPrice1 = 25000
display ‘Quantity: ’
accept nQty1
if (nQty1<=0)
begin
display ‘invalid, you must order something’
end
else
begin
function TotalFriedChicken (nQty1)
numeric nSum1
begin

display ‘confirmed’

nSum1 = nPrice1 * nQty1

return nSum1

display ‘Fried Chicken total: ’ +nSum1

end

end
PSEUDOCODE
display ‘Do you want to order again?’

if (cChoice1 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total (nTotal)

end

end

procedure CheeseBurger (input numeric nQty2) //Cheese Burger

numeric nPrice2, nQty2

character cChoice2

begin

nPrice2 = 30000

display ‘Quantity: ’

accept nQty2

if (nQty2<=0)

begin

display ‘invalid,you must order something’

end
PSEUDOCODE
else

begin

function TotalCheeseBurger (nQty2)

numeric nSum2

begin

display ‘confirmed’

nSum2 = nPrice2 * nQty3

return nSum2

display ‘Cheese Burger total: ’ +nSum2

end

end

display ‘Do you want to order again?’

if (cChoice2 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total

end

end
PSEUDOCODE
procedure Spaghetti (input numeric nQty3) //Spaghetti

numeric nPrice3, nQty3

character cChoice3

begin

nPrice3 = 20000

display ‘Quantity: ’

accept nQty3

if (nQty3<=0)

begin

display ‘invalid, you must order something’

end

else

begin

function TotalSpaghetti (nQty3)

numeric nSum3

begin

display ‘confirmed’

nSum3 = nPrice3 * nQty3

return nSum3

display ‘Spaghetti total: ’ +nSum3

end

end
PSEUDOCODE
display ‘Do you want to order again?’

if (cChoice3 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total(nTotal)

end

end
PSEUDOCODE

procedure CocaCola (input numeric nQty4) //Coca Cola

numeric nPrice4, nQty4

character cChoice4

begin

nPrice4 = 10000

display ‘Quantity: ’

accept nQty4

if (nQty4<=0)

begin

display ‘invalid, you must order something’

end

else

begin

function TotalCocaCola (nQty4)

numeric nSum4

begin

display ‘confirmed’

nSum4 = nPrice4 * nQty4

return nSum4

display ‘Coca-Cola total: ’ +nSum4

end

end
PSEUDOCODE
display ‘Do you want to order again?’

if (cChoice4 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total(nTotal)

end

end
PSEUDOCODE
procedure MineralWater (input numeric nQty5) //Mineral Water

numeric nPrice5, nQty5

character cChoice5

begin

nPrice5 = 5000

display ‘Quantity: ’

accept nQty5

if (nQty5<=0)

begin

display ‘invalid, you must order something’

end

else

begin

function TotalMineralWater (nQty5)

numeric nSum5

begin

display ‘confirmed’

nSum5 = nPrice5 * nQty5

return nSum5

display ‘Mineral Water total: ’ +nSum5

end

end
PSEUDOCODE
display ‘Do you want to order again?’

if (cChoice5 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total(nTotal)

end

end
PSEUDOCODE
procedure FrenchFries (input numeric nQty6) //French Fries

numeric nPrice6, nQty6

character cChoice6

begin

nPrice6 = 15000

display ‘Quatity: ’

accept nQty6

if (nQty6<=0)

begin

display ‘invalid, you must order something’

end

else

begin

function TotalFrenchFries (nQty6)

numeric nSum6

begin

display ‘confirmed’

nSum6 = nPrice6 * nQty6

return nSum6

display ‘FF Total: ’ +nSum6

end

end
PSEUDOCODE
display ‘Do you want to order again?’

if (cChoice6 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total(nTotal)

end

end
PSEUDOCODE
procedure Hashbrown (input numeric nQty7) //Hashbrown

numeric nPrice7, nQty7

character cChoice7

begin

nPrice7 = 8000

display ‘Quantity: ’

accept nQty7

if (nQty7<=0)

begin

display ‘invalid, you must order something’

end

else

begin

function TotalHashbrown (nQty7)

numeric nSum7

begin

display ‘confirmed’

nSum7 = nPrice7 * nQty7

return nSum7

display ‘Hashbrown Total: ’ +nSum7

end

end
PSEUDOCODE
(display ‘Do you want to order again?’

if (cChoice7 == yes)

begin

call Menu(cMenu1, cMenu2, cMenu3)

end

else

begin

call Total(nTotal)

end

end

procedure Total //NGITUNG TOTALNYA SEMUA

numeric nTotal

begin

nTotal =(nSum1 + nSum2 + nSum3 + nSum4 + nSum5 + nSum6 + nSum7)

display ‘your total is :’ + nTotal

end
FLOWCHART
FLOWCHART
DRY RUN TABLE

System Process: Main Menu


This dry run table tests the main menu appear:

cMenu1 Output
1 Fried Chicken
4 Invalid input

cMenu2 Output
1 Coca Cola
3 Invalid input

System Process: Procedure System


This dry run table tests the procedure program of Pizza Planet Order System
(cMenu1)
Case 1:
nQty1 Output
5 Confirmed
Fried Chicken total : 125000
0 Invalid, you must order something

Case 2:
nQty2 Output
2 Confirmed
Cheese Burger total : 60000
-1 Invalid, you must order something
DRY RUN TABLE

Case 3:
nQty3 Output
10 Confirmed
Spaghetti total : 200000
-3 Invalid, you must order something

(cMenu2)
Case 1:
nQty4 Output
4 Confirmed
Coca-Cola total : 40000
0 Invalid, you must order something

Case 2:
nQty5 Output
6 Confirmed
Mineral Water total : 30000
0 Invalid, you must order something

(cMenu3)
Case 1:
nQty6 Output
8 Confirmed
FF total : 120000
-2 Invalid, you must order something

Case 2:
nQty7 Output
2 Confirmed
Hashbrown total : 16000
-4 Invalid, you must order something
PROBLEMS ENCOUNTERED

Some of the problems experienced in the writing of the inventor of this project are as
follows:

 We have just learned of Pseudocode and we still lay in Alogaritm


 We have not had experience in doing this project as given at this time
 Difficulties when looking for procedure, case, and function data
CONFIGURATION

Hardware: AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G


(4CPUS), ~2.7Ghz, 8GB RAM, HP-15bw0xx

Operating System: Windows 10 Ultimate

Software: yEd Graph Editor

PROJECT FILE DETAILS


S.No File Name Remarks

Microsoft Word that contains


1 Pseudocode.docx
Pseudocode

McRonald.graphml yEd Graph Editor that


2
Procedure.graphml contains Flowcharts

Das könnte Ihnen auch gefallen