Professional Documents
Culture Documents
PROGRAMMING
AND
WEB APPLICATIONS
(D 24)
DURATION: 3 HOURS
[Turn over]
Page: 1 of 5
Candidates should attempt FIVE questions only. Clearly cross out
‘
surplus’answer s;failuretodosowi llresultint hefirst5answer sbeing
marked.
Question 1.
Question 2.
When designing programs, one method that can be used is the Hierarchy
Chart which uses four features:-
Elementary Components.
Sequences.
Selections.
Iterations.
Page: 2 of 5
Question 3.
AsaTraini
ngManagerf
oralar
geITuser
,youhavetopr
oducea‘user
f
ri
endl
y’gui
de/
tr
aini
ngai
dforanappl
i
cati
onpackagef
ort
hec ompany’
sst
aff
.
b) For EACH of the contents listed in part a), explain why it is required
and how it will assist the user to learn the package. (15 marks)
(Total 20 marks)
Question 4.
b) Give and explain FOUR ways showing how WIMPS can help a
novice user to become more efficient in using the application
package. (12 marks)
c) Explain how a GUI will help the user to ensure that the correct
application package is loaded. ( 2 marks)
(Total 20 marks)
[Turn over]
Page: 3 of 5
Question 5.
b) Although CASE and IF perform the same type of tasks, give TWO
reasons why you would use CASE rather than IF. ( 4 marks)
Question 6.
Whendat
aisst
oredi
nacomput
ert
het
erm‘
fi
l
e’comesst
rai
ghtt
omi
nd.
b) Give and explain FOUR reasons why banks might prefer this mode
of processing than updating in real time. ( 8 marks)
[Turn over]
Page: 4 of 5
Question 7.
When designing a web page, HTML has three different list types that can be
used.
b) With the aid of an example, explain when you would need to use a
nested list. ( 4 marks)
c) Using the example given in part b), produce a set of coding where a
set of nested lists is used. (10 marks)
(Total 20 marks)
Question 8.
There are times when a web page programmer needs to incorporate Forms in
their web page to enable the user to input data.
a) Produce a set of coding that will display a Form where the user
inputs their name and has the option to display their name in
uppercase. (10 marks)
END OF EXAMINATION.
Page: 5 of 5
D 24 –PROGRAMMING & WEB APPLICATIONS JUNE 2010
SOLUTIONS & MARKING SCHEME.
Question 1 answer.
Page: 1 of 8
Question 2 answer.
a)
Elementary is the lowest level of a Hierarchy Chart and at most will define
a simple action/line of coding and can not be further divided.
A sequence is when two or more 'parts' are performed. These parts may
not necessarily be elementary components.
A selection is when there is a choice of one or more elementary or
sequence components that can be performed.
An iteration is a single part that can be repeated zero or more times
depending upon a specific condition.
2 marks per description to a max of 8 marks
b) This part will vary depending upon the way the student has been taught
and each one will be judged on its merit
12 marks for a complete Hierarchy Chart else pro rata to a max of 12 marks
(Total 20 marks)
Question 3 answer.
a) The following is what I would like to see included if I was to purchase the
program:-
Installing the package.
Starting the program.
Running a demo version.
Valid/invalid test data.
Running a test data option (this will allow the student to save it and recall it
at a later date).
Input/output screens.
Samples of input data and expected output results.
Error recover; both operating system level and program level.
Backup instructions.
1 mark per content to a max of 5 marks
b) This part will depend upon the first part. A suitable response would be
along the lines of:-
Installing the package –to ensure that it has been installed correctly and
that all the relevant completes are made available.
Starting the program –to ensure that the program starts at the beginning
andnotata‘ subrout i
ne’l
ev el
.
Running a demo version –to show what can be done.
Etc.
2 marks for an explanation and 1 mark for an assistance to a max of 15 marks
(Total 20 marks)
Page: 2 of 8
Question 4 answer.
a)
GUI is a graphical user interface that will display on the screen the
‘fil
es’et cthatar eav ai labl
ef ortheus ert ouse.I tmaybet hatnotal lthe
files are available ont hatscr eenbutar egr oupedundera‘ c ommon’
icon. In this case that icon must be clicked on to reveal the relevant
files.
WIMP is Windows, icons, mouse, pointer. This enables the user to
perform numerous tasks without having to use a keyboard. For
example select File, Open and a file will be loaded.
2 marks for an explanation and 1 mark for an example to a max of 6
Page: 3 of 8
Question 5 answer.
Page: 4 of 8
Question 6 answer.
a) Brief
ly,t het
erm‘
fi
l
e’i
susedt
odescr
ibeac
oll
ect
ionofr elateddat a
records.
2 marks for an explanation
Page: 5 of 8
Question 7 answer.
b) There will be times when a list can be further subdivided. For example, a
list of fruit where the fruit will be primarily listed by the group name e.g.
apple, and then listed by their type e.g. Bramley, Cox etc.
4 marks for an explanation to a max of 4
Page: 6 of 8
Question 8 answer.
<BODY>
<Hl>Hello</Hl>
Type your name into the text box.
<INPUT TYPE=text NAME="txtBox" VALUE="" SIZE=20>
<BR><BR>
<INPUT TYPE=checkbox NAME="chkBox" CHECKED=True>
Display name in uppercase.
<BR><BR>
<INPUT TYPE=button NAME="cmdShow" VALUE="Show Greet ing">
</BODY>
</HTML>
10 marks for a complete set of coding else pro rata to a max of 10
(Total 20 marks)
NB
The First set of coding is purely HTML, whilst the second set of coding is
using VBSCRIPT.
Page: 7 of 8
Reading references.
Page: 8 of 8