Computing (Modular) 
CP5
 June 2004

(2 Hours)

1(a) Giving an example, explain the term buffer when used in a computer system. [2]
   
(b) Explain double buffering and give an advantage over single buffering. [2]
   
 
2.(a) Data can be transmitted on the Internet using packet switching.  
(i) Give two examples of the kind of information that would be contained in a packet. [2]
   
(ii) Explain in detail the term packet switching. [2]
   
(iii) State one advantage of packet switching over circuit switching. [1]
   
(b) What is meant by the term bridge in a computer network? [1]
   
     
3. (a) Operating systems rely on interrupts.  
(i) What is a computer interrupt? [1]
   
(ii) Describe three conditions or events that could generate a computer interrupt. [3]
   
(iii) What is meant by the term interrupt priority? Explain why some interrupts have a higher priority than others. [2]
   
(b) The status of a process could be running, ready or blocked. Briefly explain the term ready. [1]
   
     
4. (a) Data is often stored in indexed sequential files that make use of an overflow area.  
(i) Explain in detail how a record is added to an indexed sequential file. [2]
   
(ii) What is an overflow area and why is an overflow area required? [2]
   
(iii) Explain in detail how a record would be stored in an overflow area of an indexed sequential file. [2]
     
(iv) Access to records in the overflow area is slower than using the index directly. How could the file and index be re-organised to remove all records from the overflow area? [2]
   
(b) File privacy is important in a computer system, explain why some users should not have access to all files. Apart from passwords, describe in detail one method of providing file privacy. [3]
   
     
5. (a) Explain each of the terms simplex, half duplex and full duplex transmission. [3]
   
(b) Data from several communication lines has to be transmitted along one communication line. What device would be required to perform this transmission? [1]
   
     
6. (i) Using an example, explain the term distributed processing. [2]
   
(ii) Describe one advantage of using this type of processing. [1]
   
     
7. The air conditioning and heating systems of a hotel are controlled by a computer. The control systems use feed-back to maintain the temperature in the hotel between 20oC and 23oC at all times.  
(a) (i) Explain what is meant by the term feed-back. [2]
   
(ii) Describe one benefit to the hotel guests and one benefit to the hotel owners of using a computer-controlled environment for the hotel. [2]
   
(b) The computer will require digital input. Explain the difference between digital and analogue signals. Describe where analogue to digital conversion will be required in the hotel's system. [2]
     
     
8. An electrical goods retailer allows customers to make purchases using the Internet. When placing an order the customer has to access the stock database to determine whether the item they want to purchase is in stock.

The retailer has taken steps to ensure hackers cannot corrupt the database. Describe two problems that may accidentally arise due to customers having access to the stock database and explain how the retailer could attempt to solve these problems.

[4]
     
     
9. (a) Explain the difference between a primary key and a foreign key in a relational database, and explain the function of a foreign key. [3]
     
(b) Using an example, explain what is meant by the term data redundancy in a database. [2]
   
(c) Using an example, explain what is meant by the term data inconsistency in a database. [2]
   
(d) Patients in a large hospital have one doctor who is responsible for their welfare. Each patient is assigned to one ward.

The table below shows a sample of patients, their doctors and their wards.

Restructure the database shown below into third normal form using three tables. There is no need to copy the items of data.

Patient Code Patient Name Patient DOB Ward Code Ward Name Number of Beds Doctor Code Doctor Name Doctor Tel Number
P2356 John Jones 12/03/76 W34 Everest 24 D887 Dr Patel 656
P3426 Phillip Davies 04/06/81 W22 Snowdon 30 D769 Dr Smith 298
P1981 Gareth Evans 27/12/45 W08 Kilimanjaro 16 D887 Dr Patel 656
P1765 Jane McBride 23/10/65 W45 Ben Nevis 4 D157 Dr Lloyd 388
P0878 Suzan Iqbal 17/07/69 W34 Everest 24 D752 Dr Jones 411
P9872 Jane Howells 04/06/82 W34 Everest 24 D157 Dr Lloyd 388
P7658 Izmir Khan 27/12/71 W15 Blanc 9 D989 Dr Castillo 437
P2569 Juan Garcia 23/10/64 W08 Kilimanjaro 16 D887 Dr Patel 656
[8]
     
     
10. In the following question, additional credit (up to 3 marks) will be given if your answer demonstrates skill in written communication.

A private health company provides clients with access to a secure Internet site where they can:

  • use a diagnostic expert system
  • consult interactively with a doctor
  • access huge amounts of medical information

Briefly describe how a client could make use of the three facilities given above.

Describe any benefits for the clients or for the company that this Internet site may provide. Describe any drawbacks for the clients or for the company that using the Internet site may have.

[7+3]