Vous êtes sur la page 1sur 2

1a)(I)

(ii) b)(I) (ii)

c)

d)(I) (ii) 2a)(I) (ii) (iii) (iv) b)(I)

CPU run faster 1+1 larger hard-disk storage (1 mark each for any 2) large monitor can produce better display cheaper price the Desktop is equipped with a modem to convert digital signal into analog signal(modulation) 0.5 to convert analog signal into digital signal (demodulation) 0.5 plotter 1 scanner (with OCR) 1+1 voice/speech recognition device (1 mark each for any 2) hand-writing input device paperless (friendly to the environment) 1+1 faster delivery (1 mark each for any 2) save in labor work incorrect address can be detected almost immediately run an anti-virus program 1 backup important data and files 1 Yes, Peter violates the copyright laws. 1 He is not the owner of the freeware, therefore, he does not have the right to distribute the software. 110 0.5 010 0.5 100 0.5 000 0.5 Steps 1 2 3 4 instructions 5 6

7 8 9 10 1 2/0 2 110 000 000 010 011 110 3 2/0 4 100 111 011 110 100 5 6 100 000 011 001 100 010 111 111 011 110 2/0 (ii) 2 cylinders at position C3 with cylinder x on top of cylinder y (the biggest) 1 Cylinder z (the smallest) at position C2 1 c) direct control/simple circuit design 2/0 3a) allocation of system resources (memory & time) 1+1+1 CPU scheduling (1 mark each for any 3) error handling security control I/O handling log keeping user interface between computer and user b)(I) The OS will locate the application software in the designated disk. If the software is located in the disk, the OS will check for memory capacity in RAM. If there is sufficient memory, the OS will load the software into the memory and pass control to the software.

1 1

(ii)The OS will check if the filename is already existed in the hard disk. If the filename is not existed, the OS will check if the filename is a valid filename. Then, the OS will allocate memory in the hard disk. 1 The OS will control the hard disk and ensure the content of the file is written to the allocated sectors. The OS will update the FAT/directory after the content of the file has been written to the disk. 1 (iii)The OS will check the status of printer by sending a signal to the printer. If the printer is on-line, data will then send to the printer for printing. c) Program1 - Batch process at the end/beginning of each paying period 1 1 0.5 1

CS99IMARKINGSCHEME

1/2

Program2 - Real-time result of inquiries must be produced promptly/immediately 4a)

0.5 1

STUDID 1 The ID card number has a unique value 1 b) Age can be derived from DOB and not vice versa / If age not DOB is included in the file. age ,must be updated every year. 2/0 c) STUDID should be added to ATTEND 1 STUDID is unique 1 d) When the year is 00, the program cannot determine the real value of year. It can be '1900' or '2000'. 1 Redesign the date format of YEAR_ENTRY in file STUDENT to YYYY (4 digits) 2 e)(I) Yes, It is appropriate for the Principal to view all records in STUDENT and 0.5 ATTEND for administrative/academic purposes. +1 (ii) No, Student should be allowed to view his/her own records only in STUDENT and 0.5 ATTEND, but not records of other students. +1

5a) Stages Description 2 Collection of Data Meter-reading officer reads customer meter readings Preparation of Data Readings are records in log sheets Input of Data Computer operators input the data from the log sheet Processing of Data The computer processes the data and updates record of each customer Output of Information Monthly electricity bills (0.5 for each correct stage, max 2 marks) b) Batch mode 1 large amount of data will be processed periodically at each billing cycle data entry can be done off-line without occupying valuable computer time 1 c)(I) double entry 1 the result of data entry will be compared to check for discrepancy 1 (ii)double entry method cannot detect the error 1 because the source data on the log sheet is incorrect +1 d) consistency check 2 current reading is checked against previous/last reading, the value of current reading must be greater than last reading 2 (range check, character check are acceptable answers) 6a) 10010100 01000001 1 b)(I) @ 1 (ii) 127 repeated ? (question mark) 1 c) 1st line 10001110 01000001 1+1 nd th 2 to 10 01000100 01001111 01010011 1 11111011 00111111 1+1 d) 11111111 00111111 10001101 00111111 1+1+1+1

CS99IMARKINGSCHEME

2/2

Vous aimerez peut-être aussi