



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Examination for theBSc (HONS) INFORMATION TECHNOLOGY BSc (HONS) COMPUTER AND NETWORK TECHNOLOGY (SANDWICH & FULL-TIME) YEAR/STAGE ONE
Thursday 13 May 2004 9.30 am to 12.30 pm
Instructions to Candidates Answer FIVE questions. CALCULATORS ARE NOT ALLOWED.
04/10/04 continued
04/10/04 question 6 continued overleaf
Question 6 continued 4
04/10/04 continued
(d) Listdebugger. Consider things such as: FIVE aspects of storing values for variables and how this is shown by the what can be seen in figure Q. 6.1; the difference between storing local and global variables; the storage capacity of each memory location and; speed of reading and writing data. [5]
Figure Q6. Global declarations Var Form1: TForm1; J : integer; // J is a global variable. Local declarations in procedure Tform1.Button1Click Procedure TForm1.Button1Click(Sender: TObject); var K : integer; // K is a local variable. Figure Q6. Extracts from the unit file.