Computing (Modular) 
CP1
January 2005

(1.5 Hours)

[1](a) A school secretary makes use of an integrated software package which provides a number of features. Describe each of the following features, giving an example of how the secretary might use the feature in each case:
 
(i) mail-merge [2]
   
(ii) data portability [2]
   
(b) Describe one advantage of having a programming facility within the package. [1]
   
 
[2](a) Name two types of programming errors which may occur, giving an example in each case. [4]
   
(b) Explain why the use of self-documenting code in a computer program makes errors easier to discover. [1]
   
(c) Explain why the use of standard modules in a computer program helps to avoid errors. [1]
   
 
[3] A linear search can be used to find a particular value in a set of ordered values.
 
(i) Name an alternative search method which is normally faster than a linear search for a set of ordered values. [1]
   
(ii) Describe a situation where the search method you named in part (i) cannot be used. [1]
   
(iii) Describe a situation where the search method you named in part (i) can be used but where the linear search is probably more suitable. [1]
   
 
[4](a) Write down an example of data which would best be stored in each of the following data types, giving a different example in each case. State a reason why it is the best data type in each case:
 
(i) a real data type; [2]
   
(ii) a boolean data type; [2]
   
(iii) a character data type; [2]
   
(iv) a string data type. [2]
   
(b) A certain computer system allows the addition of an integer data type to a real data type.
What data type would you expect the result of this addition to be?
[1]
   
(c) Draw and label a diagram of a two-dimensional array, using suitable example data. [2]
     
 
[5](a) Describe the difference between applications software and systems software. [2]
   
(b) What is the name of a program which converts a source program into a form that is executable by the computer? [1]
   
(c) Explain what is meant by the term parameter in a computer program. [1]
   
 
[6] A taxi firm uses a paper-based system to handle bookings for taxis. The firm employs a systems analyst to produce a new computer-based system to deal with such bookings.
 
(i) In each case describe in detail how the following might be carried out:
 
  (I) requirements analysis; [2]
   
  (II) changeover. [2]
   
(ii) Describe two types of documentation which should be produced. [2]
   
(iii) Some errors are found in the new system after it has been implemented. Name the type of maintenance which would be required to remove the errors. [1]
   
(iv) Why might adaptive maintenance also be necessary for the new system? [1]
   
 
[7] Some programming languages are used for scientific applications, while others are used for commercial applications.
 
(i) Describe one feature which it would be useful to have in a language used in a scientific application. [1]
   
(ii) Describe one feature which it would be useful to have in a language used in a commercial application.  
   
 
[8] Teifi Books sells books via the Internet. When a customer has bought a large number of books from Teifi, or a small number of more expensive books, they are awarded a bonus voucher which they are able to use to save money off a future purchase.

The algorithm used is shown below:

 
 
Statement
1 input NumberBooksBought
2 input TotalValueBooksBought
3 if ((NumberBooksBought>10) OR ((NumberBooksBought>5) AND (TotalValueBooksBought > 50)))
4           then output "Award bonus"
5           else output "Do not award bonus"
 
(i) State what the output will be for a customer who has bought:
 
  (I) four books of total value £80 [1]
   
  (II) six books of total value £60 [1]
   
  (III) twelve books of total value £40 [1]
   
(ii) Teifi decides to change its bonus scheme and alters the algorithm so that statement 3 reads:  
 
Statement
3 if ((NumberBooksBought>10) OR ((NumberBooksBought>5) AND (TotalValueBooksBought>50)) OR (TotalValueBooksBought>100))
 
  (I) Give an example of input data which will now give a different result from the original algorithm. [1]
   
  (II) Suggest why Teifi might have decided to make this change. [1]
   
 
[9] A school student is doing some research for a project and needs to borrow various library books. The student can check the school library catalogue electronically to see if the book is available. If this is not the case, the student can ask the library staff to check if the book is available at a local university library. If it is available there, a member of the school library staff can request to borrow it from the university on the student's behalf. This situation is as shown in the following data flow diagram:
 
 



 
(i) Describe why this type of diagram is useful in helping to explain a computer system to a non-expert. [1]
   
(ii) Draw the shape used in the diagram to represent an external entity. [1]
   
(iii) What type of object does the rounded box in the diagram represent? [1]
   
(iv) Give a suitable name for the object shown as a in the diagram. [1]
   
(v) Give a suitable name for the object shown as b in the diagram. [1]
   
(vi) Give a suitable name for the object shown as c in the diagram. [1]
   
 
[10] In the following question, additional credit (up to 3 marks) will be given if your answer demonstrates skill in written communication.

 

 
  A commonly used package has a human-computer interface (HCI) which has been carefully designed for a wide range of users.

Explain why the design of the HCI is so important, and what features you would expect to find in a well-designed HCI. You should also describe features which would be particularly helpful to a beginner and those which would be particularly helpful to an expert user.

[7+3]