Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 5

Proposal mini projek Java Programming

BIL TOPIC PAGE

1 PROJECT TITLE 2
INTRODUCTION
i. Problem Statement
ii. Objectives
iii. Scope

2 METHOD
i. UML(class design) 3
ii. Input
iii. Proses 4
iv. Output

3 CONCLUSION 5

PROPOSAL

PROJECT TITLE
1
TrafficLight Program

INTRODUCTION

i. Problem Statement

- Customer want to move their car when light is green.


- Customer want to PrepareToGo their car when light is
between red and yellow.
- Customer want to PrepareToStop their car movement when
light is yellow.
- Customer want to stop their car when light is red.

ii. Objectives

- Help driver to go their car.


- Help driver to PrepareToGo their car.
- Help driver to stop their car.
- Help driver to PrepareToStop their car.

iii.Scope

- Driver know when to go their car when trafficLight tell them.


- Driver know when to PrepareToGo their car when trafficLight tell
them.
- Driver know when to stop their car when trafficLight tell them.
- Driver know when to PrepareToStop their car when trafficLight
tell them.

METHOD

2
i. UML (class design)

TRAFFIC LIGHT

-nameDriver:String
-movementType : String
- colorType : String

+getData( )
+setData( )
+displayInformation( )

- go : String -PrepareToGo : -stop : String -PrepareToStop :


- greenColor : String -redColor : String String
String - red & yellow : - yellowColor :
String String
- getData ( )
- getData ( ) - setData( )
- setData( ) - getData ( ) - - getData ( )
- - setData( ) displayInformatio - setData( )
displayInformati n()

ii. Input

- User can know when they want to go


3
- User can know when they want to PrepareToGo
- User can know when they want to stop
- User can know when they want to PrepareToStop

iii.Process
- The normal traffic light will tell driver to go
- The normal traffic light will tell driver to PrepareToGo
- The normal traffic light will tell driver to stop
- The normal traffic light will tell driver to PrepareToStop

iv. Output

- Display the normal traffic light tell driver to go when color of light
is green.
- Display the normal traffic light tell driver to PrepareToGo when
color of light is between red and yellow.
- Display the normal traffic light tell driver to stop when color of
light is red.
- Display the normal traffic light tell driver to PrepareToStop when
color of light is yellow.

CONCLUSION

4
trafficLight able created so that it can help user to move their car when
systems tell them to move,prepare to go,prepare to stop and stop.Beside
that,user can know by system display not enter it self.

You might also like