SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS
                               General Certificate of Education Advanced Level




               COMPUTING                                                                                              9691/31
               Paper 3                                                                                       May/June 2010
                                                                                                                      2 hours
               Additional Materials:     Answer Booklet/Paper
*7305024148*




               READ THESE INSTRUCTIONS FIRST

               If you have been given an Answer Booklet, follow the instructions on the front cover of the Booklet.
               Write your Centre number, candidate number and name on all the work you hand in.
               Write in dark blue or black pen.
               You may use a soft pencil for any diagrams, graphs or rough working.
               Do not use staples, paper clips, highlighters, glue or correction fluid.

               Answer all questions.

               At the end of the examination, fasten all your work securely together.
               The number of marks is given in brackets [ ] at the end of each question or part question.




                                                This document consists of 4 printed pages.

               IB10 06_9691_31/4RP
               © UCLES 2010                                                                                       [Turn over




                                         www.XtremePapers.net
2

1   (a) Explain the differences between using a compiler and an interpreter for:

         (i) the translation of a high-level language program,

         (ii) the execution of a high-level language program.                                           [6]

    (b) One phase of compilation is the code generation phase.

         (i) Name the two phases that are carried out before code generation.                           [2]

         (ii) Describe the code generation phase.                                                       [3]


2   A company uses a computerised payroll system. Details of the work done by employees each
    week are stored serially in a transaction file. This transaction file is used to create the payroll at
    the end of the week. It has to be sorted into the same order as the master file.

    (a) It is necessary to find and output all the records in the transaction file which relate to a worker
        with ID number 23714.

         (i) Describe how the file can be searched serially for all records with ID number 23714.       [4]

         (ii) Explain how the serial search would differ if it was known that there was only one record
              with that ID number.                                                                   [2]

         (iii) Describe a more efficient search algorithm if the file is in numerical order of ID numbers.
                                                                                                        [3]

    (b) The following ID numbers are to be sorted into numerical order, with the smallest first.

               36721, 53967, 24378, 47869, 47691

         Describe an algorithm for implementing an insertion sort on the above data.                    [3]


3   Robots are used to carry car bodies around in a car factory. They move from position to position
    in a specific order so that the car parts can be added.

    (a) State two types of sensor which would be needed to provide input to the robot, explaining
        why each is necessary.                                                                 [4]

    (b) Discuss the use of robots in the car factory.                                                   [6]


4   (a) Explain how flat files differ from a relational database.                                       [2]

    (b) Describe three advantages of using a relational database rather than flat files to store
        information.                                                                          [6]


5   A new school is being built on a single site. The computers will be networked with a central
    storage facility.

    Discuss different topologies and the media available for transmitting data around the network. [6]




© UCLES 2010                                   9691/31/M/J/10


                         www.XtremePapers.net
3

6   (a) Describe the difference between the use of pages and the use of segmentation in managing
        memory.                                                                               [2]

    (b) A job is split by the operating system into a number of pages. At any one time, only some of
        the pages are in memory.

         Explain how the operating system keeps track of the different pages and the part played by
         virtual memory in their movement.                                                       [6]


7   (a) Explain how the introduction of computing technology to a factory production line has
        changed the working patterns of people who work there.                             [4]

    (b) Describe the expected changes in quality of work that can be expected.                    [2]


8   State what is stored in each of the following special purpose registers in a computer and explain
    how the contents are altered during the fetch/execute cycle.

         (i) MAR                                                                                  [3]

         (ii) MDR (or MBR)                                                                        [3]

         (iii) CIR                                                                                [3]


9   A shop uses two computer systems.

    System 1
    At the checkout, goods being bought are identified by the system. Details are given to the
    customer along with the total amount owed.

    System 2
    Each evening details of the sales during the day are collected together. They are then used to
    update the stock file.

    (a) Explain why the response times in these two systems will be different.                    [3]

    (b) Describe the hardware, software and data structures of the two systems.                   [8]




© UCLES 2010                                9691/31/M/J/10                               [Turn over

                        www.XtremePapers.net
4

10 An INTEGER is defined in a certain language by the following BNF rules:

      <INTEGER>::=<NZDIGIT><NUMBER>│<NZDIGIT>
      <NUMBER>::=<DIGIT>│<DIGIT><NUMBER>
      <NZDIGIT>::=1│2│3│4│5│6│7│8│9
      <DIGIT>::=0│<NZDIGIT>

      (a) Explain why each of the following is not an integer:

             (i) .037                                                                                                                                    [1]

             (ii) 037                                                                                                                                    [1]

      (b) A REAL is defined as an integer or a zero followed by a . (point) followed by an unlimited
          number of digits (including none).

             Produce BNF rules to define REAL. (The BNF rules stated above do not need to be
             reproduced.)                                                                 [3]

      (c) Draw a syntax diagram of REAL. You may use NZDIGIT, DIGIT, POINT and ZERO in your
          diagram but no other values.                                                   [4]




Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the
publisher will be pleased to make amends at the earliest possible opportunity.

University of Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of
Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.

© UCLES 2010                                                         9691/31/M/J/10


                                      www.XtremePapers.net

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

June 04 P31
June 04 P31June 04 P31
June 04 P31
 
June 07 P3
June 07 P3June 07 P3
June 07 P3
 
Nov 06 P1
Nov 06 P1Nov 06 P1
Nov 06 P1
 
Nov 07 P1
Nov 07 P1Nov 07 P1
Nov 07 P1
 
June 03 P1
June 03 P1June 03 P1
June 03 P1
 
Nov 09 P32
Nov 09 P32Nov 09 P32
Nov 09 P32
 
Nov 04 P3
Nov 04 P3Nov 04 P3
Nov 04 P3
 
June 02 P1
June 02 P1June 02 P1
June 02 P1
 
Nov 08 P1
Nov 08 P1Nov 08 P1
Nov 08 P1
 
June 04 P3
June 04 P3June 04 P3
June 04 P3
 
Nov 03 P3
Nov 03 P3Nov 03 P3
Nov 03 P3
 
June 06 P3
June 06 P3June 06 P3
June 06 P3
 
June 05 P3
June 05 P3June 05 P3
June 05 P3
 
Nov 04 P1
Nov 04 P1Nov 04 P1
Nov 04 P1
 
June 09 P3
June 09 P3June 09 P3
June 09 P3
 
Nov 03 P1
Nov 03 P1Nov 03 P1
Nov 03 P1
 
Nov 04 MS3
Nov 04 MS3Nov 04 MS3
Nov 04 MS3
 
Nov 05 P1
Nov 05 P1Nov 05 P1
Nov 05 P1
 
Nov 02 P1
Nov 02 P1Nov 02 P1
Nov 02 P1
 
June 07 P1
June 07 P1June 07 P1
June 07 P1
 

Similar a June 10 P31

Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...Alpro
 
June 06 P1
June 06 P1June 06 P1
June 06 P1Samimvez
 
Nov 09 P12
Nov 09 P12Nov 09 P12
Nov 09 P12Samimvez
 
Nov 09 P11
Nov 09 P11Nov 09 P11
Nov 09 P11Samimvez
 
Computing 9691 Test Paper Paper 3 for May / June 2007 Cambridge
Computing 9691 Test Paper Paper 3 for May / June 2007 CambridgeComputing 9691 Test Paper Paper 3 for May / June 2007 Cambridge
Computing 9691 Test Paper Paper 3 for May / June 2007 CambridgeAlpro
 
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...Alpro
 
June 08 P1
June 08 P1June 08 P1
June 08 P1Samimvez
 
June 10 P11
June 10 P11June 10 P11
June 10 P11Samimvez
 
Computing paper 1 9691 may june 2004 computers general certificate of educati...
Computing paper 1 9691 may june 2004 computers general certificate of educati...Computing paper 1 9691 may june 2004 computers general certificate of educati...
Computing paper 1 9691 may june 2004 computers general certificate of educati...Alpro
 
June 10 P13
June 10 P13June 10 P13
June 10 P13Samimvez
 
June 03 P3
June 03 P3June 03 P3
June 03 P3Samimvez
 

Similar a June 10 P31 (13)

Nov 07 P3
Nov 07 P3Nov 07 P3
Nov 07 P3
 
Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2008 9691 cambridge General Certificate of educatio...
 
June 06 P1
June 06 P1June 06 P1
June 06 P1
 
Nov 09 P12
Nov 09 P12Nov 09 P12
Nov 09 P12
 
Nov 09 P11
Nov 09 P11Nov 09 P11
Nov 09 P11
 
Nov 08 P3
Nov 08 P3Nov 08 P3
Nov 08 P3
 
Computing 9691 Test Paper Paper 3 for May / June 2007 Cambridge
Computing 9691 Test Paper Paper 3 for May / June 2007 CambridgeComputing 9691 Test Paper Paper 3 for May / June 2007 Cambridge
Computing 9691 Test Paper Paper 3 for May / June 2007 Cambridge
 
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...
Computing 9195 Zimbabwe Zimsec syllabus Cambridge Computers may June 2007 pap...
 
June 08 P1
June 08 P1June 08 P1
June 08 P1
 
June 10 P11
June 10 P11June 10 P11
June 10 P11
 
Computing paper 1 9691 may june 2004 computers general certificate of educati...
Computing paper 1 9691 may june 2004 computers general certificate of educati...Computing paper 1 9691 may june 2004 computers general certificate of educati...
Computing paper 1 9691 may june 2004 computers general certificate of educati...
 
June 10 P13
June 10 P13June 10 P13
June 10 P13
 
June 03 P3
June 03 P3June 03 P3
June 03 P3
 

Más de Samimvez

Más de Samimvez (20)

Sql installation tutorial
Sql installation tutorialSql installation tutorial
Sql installation tutorial
 
Example3
Example3Example3
Example3
 
Coms1010 exam paper - nov10
Coms1010   exam paper - nov10Coms1010   exam paper - nov10
Coms1010 exam paper - nov10
 
Coms1010 exam paper - may 08
Coms1010   exam paper - may 08Coms1010   exam paper - may 08
Coms1010 exam paper - may 08
 
Example2
Example2Example2
Example2
 
Labsheet 3
Labsheet 3Labsheet 3
Labsheet 3
 
Labsheet 3,5
Labsheet 3,5Labsheet 3,5
Labsheet 3,5
 
EQ V3x
EQ V3xEQ V3x
EQ V3x
 
Eq v2
Eq v2Eq v2
Eq v2
 
3.6
3.63.6
3.6
 
3.2
3.23.2
3.2
 
3.10
3.103.10
3.10
 
3.1
3.13.1
3.1
 
3.3
3.33.3
3.3
 
3.8
3.83.8
3.8
 
3.4
3.43.4
3.4
 
3.7
3.73.7
3.7
 
3.5
3.53.5
3.5
 
3.9
3.93.9
3.9
 
June 02 MS2
June 02 MS2June 02 MS2
June 02 MS2
 

Último

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Último (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

June 10 P31

  • 1. UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Advanced Level COMPUTING 9691/31 Paper 3 May/June 2010 2 hours Additional Materials: Answer Booklet/Paper *7305024148* READ THESE INSTRUCTIONS FIRST If you have been given an Answer Booklet, follow the instructions on the front cover of the Booklet. Write your Centre number, candidate number and name on all the work you hand in. Write in dark blue or black pen. You may use a soft pencil for any diagrams, graphs or rough working. Do not use staples, paper clips, highlighters, glue or correction fluid. Answer all questions. At the end of the examination, fasten all your work securely together. The number of marks is given in brackets [ ] at the end of each question or part question. This document consists of 4 printed pages. IB10 06_9691_31/4RP © UCLES 2010 [Turn over www.XtremePapers.net
  • 2. 2 1 (a) Explain the differences between using a compiler and an interpreter for: (i) the translation of a high-level language program, (ii) the execution of a high-level language program. [6] (b) One phase of compilation is the code generation phase. (i) Name the two phases that are carried out before code generation. [2] (ii) Describe the code generation phase. [3] 2 A company uses a computerised payroll system. Details of the work done by employees each week are stored serially in a transaction file. This transaction file is used to create the payroll at the end of the week. It has to be sorted into the same order as the master file. (a) It is necessary to find and output all the records in the transaction file which relate to a worker with ID number 23714. (i) Describe how the file can be searched serially for all records with ID number 23714. [4] (ii) Explain how the serial search would differ if it was known that there was only one record with that ID number. [2] (iii) Describe a more efficient search algorithm if the file is in numerical order of ID numbers. [3] (b) The following ID numbers are to be sorted into numerical order, with the smallest first. 36721, 53967, 24378, 47869, 47691 Describe an algorithm for implementing an insertion sort on the above data. [3] 3 Robots are used to carry car bodies around in a car factory. They move from position to position in a specific order so that the car parts can be added. (a) State two types of sensor which would be needed to provide input to the robot, explaining why each is necessary. [4] (b) Discuss the use of robots in the car factory. [6] 4 (a) Explain how flat files differ from a relational database. [2] (b) Describe three advantages of using a relational database rather than flat files to store information. [6] 5 A new school is being built on a single site. The computers will be networked with a central storage facility. Discuss different topologies and the media available for transmitting data around the network. [6] © UCLES 2010 9691/31/M/J/10 www.XtremePapers.net
  • 3. 3 6 (a) Describe the difference between the use of pages and the use of segmentation in managing memory. [2] (b) A job is split by the operating system into a number of pages. At any one time, only some of the pages are in memory. Explain how the operating system keeps track of the different pages and the part played by virtual memory in their movement. [6] 7 (a) Explain how the introduction of computing technology to a factory production line has changed the working patterns of people who work there. [4] (b) Describe the expected changes in quality of work that can be expected. [2] 8 State what is stored in each of the following special purpose registers in a computer and explain how the contents are altered during the fetch/execute cycle. (i) MAR [3] (ii) MDR (or MBR) [3] (iii) CIR [3] 9 A shop uses two computer systems. System 1 At the checkout, goods being bought are identified by the system. Details are given to the customer along with the total amount owed. System 2 Each evening details of the sales during the day are collected together. They are then used to update the stock file. (a) Explain why the response times in these two systems will be different. [3] (b) Describe the hardware, software and data structures of the two systems. [8] © UCLES 2010 9691/31/M/J/10 [Turn over www.XtremePapers.net
  • 4. 4 10 An INTEGER is defined in a certain language by the following BNF rules: <INTEGER>::=<NZDIGIT><NUMBER>│<NZDIGIT> <NUMBER>::=<DIGIT>│<DIGIT><NUMBER> <NZDIGIT>::=1│2│3│4│5│6│7│8│9 <DIGIT>::=0│<NZDIGIT> (a) Explain why each of the following is not an integer: (i) .037 [1] (ii) 037 [1] (b) A REAL is defined as an integer or a zero followed by a . (point) followed by an unlimited number of digits (including none). Produce BNF rules to define REAL. (The BNF rules stated above do not need to be reproduced.) [3] (c) Draw a syntax diagram of REAL. You may use NZDIGIT, DIGIT, POINT and ZERO in your diagram but no other values. [4] Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity. University of Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge. © UCLES 2010 9691/31/M/J/10 www.XtremePapers.net