Istructure Chart
Sreuctue Cunae
|Monuves 4s Each sublents ts considered op modules
By yoluc + Copg cf variable epased . Cdiftuent Mewar Dual)
By Refereoce « vorioble techie posed Crome wenaey Drecien
1M con be cathe o Pundiga er pincedace
Gooden colar 0S0 Rrocedute dacs ost
lwolune (hace ovale
Nos ta unde ost } . .
wen L
wiable Poke
on awit
Roses
AA von i ible eUS Reghition
—_—o— By, cAisence (voluc dures)
TopLevel
Wh.
= ye > |
2, mid 20/P21/02!a
(2) MiR@BMEGUIE form part of a program for a car rental company. A description of theSS | .
L authorised.
2 mid 20/024/02!8
(@) form part of a program for a car rental company. A description of the
relaionship between the modules 6 summarsed as Flows:
(edule name —< Description
Fama) | AEST py ah cre Ry Danco yw Ba
= account with the rental company.
etimog soon is a Tepresenting the cost of the rental.
hakeueter ene cars payont oe
| Cale ih Fane: SSS, STINE
a |
2 eee wer racotputhe casrotatance woul excond
|pavsymeeoume@ | the accountiini«. Ifso, then the rental vised
+ Mitoronalic utero
est eta ont he nl was
Draw a structure chart to show the relationship between the three modules and the
parameters passed between them.
1
a4, IN 19/P22/05
‘The module headers for three modules in a program are defined in pseudocode as follows:
Pseudocode module header |
NG)
PROCEDURE Lookup(Pé 1 INTEGER, BYREF M4 +
FUNCTION Update (7 ) RETURNS INTEGER
7 NTEGER, P2 1 STRING) RETURNS BOOLEAN
FUNCTION Vai
‘fourth module, Rene (), ells the three modules in the folowing sequence.
validate ()
nookup ()
vpdate()
Draw a structure chart to show the rota
passed between them.
tionship between the four modules and the parameters
|
ithi
TN
Sts f, i x
Move bo decks 4 fy
Gi Sub ® Didieing | c. wtege) Ravin Baan
he A
| Rroccoues Gan (a: shay, B inluge Bu Res 1 Gor)Jo modules.
(0) The ftowing scr cat shows th lato bowen #7 A
ModuieR0)
Modules ()
Parameter data types are:
STRING
(i) White the pseudocode header for module Woduie® 0
(8)
“i
Bl