Tuesday, 21 August 2012

TOE Chart and Pseudo Code for Magic 8 Ball


 
 
Object
Event
Task
Pseudo Code
Textbox
None
None
 
Answer Label
None
None
 
Exit Button
Click
Close program
 
Shake Button
Click
Generate a random response in the answer label
On button “shake’ click
Generate random number between 1-3
If the random number = 1
Display “Not Sure” in label answer “answer”
If random number = 2
Display “OK” in label “answer”
If random number = 3
Display “Maybe” in label “answer”
Heading
None
Display Title
 














 

                 


A TOE chart is a charting mechanism that displays the "Obejcts, Events and Tasks" of a specific program, it's used so that the programmer can easily depict what everything does.

The TOE is relevant to the layout diagram diagram because it portrays what each element of the layout diagram does.

This TOE chart also displays Pseudo Code

No comments:

Post a Comment