SlideShare a Scribd company logo
1 of 4
Download to read offline
UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS
                               General Certificate of Education Advanced Level




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




               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_33/2RP
               © UCLES 2010                                                                                       [Turn over




                                         www.XtremePapers.net
2

1   (a) Explain the differences between the lexical analysis stage and the syntax analysis stage in
        the compilation of a high level language program.                                       [6]

    (b) One phase of compilation is the code generation phase.
        Describe the code generation phase.                                                             [3]

    (c) Explain the purpose of a loader.                                                                [2]


2   A company uses a computerised payroll system. The company has two factories and employees
    only work in one of the factories. Each factory employs a large number of workers. Details of the
    work done by employees each week is stored serially in two transaction files, one for each
    factory.
    When these files are used to create the payroll at the end of the week they have to be merged
    into a single, sequential file.

    (a) (i) State why it is necessary to create the transaction files in serial form.                   [1]

         (ii) State why it is necessary to turn the transaction files into a sequential file.           [1]

    (b) The final transaction file (T) is the result of merging the two sorted files from the two factories
        (A and B).

         (i) Describe an algorithm that will merge A and B to form T.                                   [5]

         (ii) Describe a binary search algorithm that can be used to find the details of a particular
              employee with ID number 21478 after the files have been merged.                     [5]


3   A factory makes washing machines. Part of the manufacturing process is to insert the control
    system behind the control panel in the body of the machine and to screw it into place. This
    process is done by a robot.

    (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 other types of robotic device in the washing machine factory.                [6]


4   (a) Describe a hierarchical database.                                                               [2]

    (b) PATIENTs in a hospital are arranged in WARDs. Each WARD has a number of BEDs.
        The STAFF of the hospital are either DOCTORs or NURSEs.

         Draw a diagram to represent the details given above in the form of a hierarchical database.
                                                                                                    [6]


5   The management of a new hospital have decided to install a network of computers.
    The computers will be placed in the wards and in the doctors’ examination rooms so that the
    medical personnel can have access to the patients’ records. They will also be networked in the
    administration offices so that hospital records can be kept.

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




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


                          www.XtremePapers.net
3

6   (a) A job which is being processed is in one of three states: ready, running or blocked.
        Explain how the scheduler manages jobs in the processor.                                  [6]

    (b) State two types of scheduling algorithm.                                                  [2]


7   Computer technology is to be introduced to a factory. The workers will need to be trained to use
    the new systems which will be introduced. A decision is made that training courses will be
    produced on DVDs which will be given to the workers rather than having face-to-face courses
    with trainers.

    Describe the advantages and disadvantages of training the workers in this way.                [6]


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) PC (or SCR)                                                                          [3]

         (ii) CIR                                                                                 [3]

         (iii) IR (Index Register)                                                                [3]


9   A shop uses two computer systems.

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

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

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

    (b) Describe the hardware, software and the way that data is organised and processed in the
        two systems.                                                                         [8]




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

                          www.XtremePapers.net
4

10 A VARIABLE is defined in a certain language by the following BNF rules:

      <VARIABLE>::=<GROUP><IDENTIFIER>│<GROUP>
      <GROUP>::=<LETTER>│<LETTER><DIGIT>│<LETTER><GROUP>
      <LETTER>::= A│B│C
      <DIGIT>::=0│1│2│3│4│5│6│7│8│9
      <IDENTIFIER>::=%│$

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

             (i) D2%                                                                                                                                     [1]

             (ii) $C2                                                                                                                                    [1]

      (b) MAIN_VARIABLE is defined as a GROUP which has a NZDIGIT (a DIGIT which must not be
          a zero) as the first character and cannot include an IDENTIFIER, but has a ! or a & as the
          last character.

             For example 1A2! and 9BC& are examples of MAIN_VARIABLE but 0A2! and 9BC%& are
             not examples of MAIN_VARIABLE.

             Produce a set of rules to define MAIN_VARIABLE (The BNF rules stated above do not need
             to be reproduced).                                                                  [3]

      (c) Draw a syntax diagram of VARIABLE. You may use DIGIT, LETTER and IDENTIFIER 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/33/M/J/10


                                      www.XtremePapers.net

More Related Content

What's hot

What's hot (20)

Nov 03 P3
Nov 03 P3Nov 03 P3
Nov 03 P3
 
June 03 P1
June 03 P1June 03 P1
June 03 P1
 
June 09 P3
June 09 P3June 09 P3
June 09 P3
 
June 07 P3
June 07 P3June 07 P3
June 07 P3
 
Nov 08 P1
Nov 08 P1Nov 08 P1
Nov 08 P1
 
June 08 P3
June 08 P3June 08 P3
June 08 P3
 
June 06 P3
June 06 P3June 06 P3
June 06 P3
 
Nov 05 P3
Nov 05 P3Nov 05 P3
Nov 05 P3
 
June 09 P1
June 09 P1June 09 P1
June 09 P1
 
Nov 09 P11
Nov 09 P11Nov 09 P11
Nov 09 P11
 
June 04 P3
June 04 P3June 04 P3
June 04 P3
 
Nov 06 P1
Nov 06 P1Nov 06 P1
Nov 06 P1
 
June 02 P1
June 02 P1June 02 P1
June 02 P1
 
Nov 03 P1
Nov 03 P1Nov 03 P1
Nov 03 P1
 
Nov 05 P1
Nov 05 P1Nov 05 P1
Nov 05 P1
 
Nov 02 P1
Nov 02 P1Nov 02 P1
Nov 02 P1
 
June 08 P1
June 08 P1June 08 P1
June 08 P1
 
Nov 04 P1
Nov 04 P1Nov 04 P1
Nov 04 P1
 
June 07 P1
June 07 P1June 07 P1
June 07 P1
 
Nov 04 P3
Nov 04 P3Nov 04 P3
Nov 04 P3
 

Viewers also liked

The North West Co interview questions and answers
The North West Co interview questions and answersThe North West Co interview questions and answers
The North West Co interview questions and answers
ngalissa85
 
The signature process
The signature processThe signature process
The signature process
Greg Davison
 
Ruta de investigacion
Ruta de investigacion Ruta de investigacion
Ruta de investigacion
pupo98
 
T&r associate consultant
T&r   associate consultantT&r   associate consultant
T&r associate consultant
Sahil Sethi
 
Bone Cancer Dogs, Inc - NCSU Trials Article
Bone Cancer Dogs, Inc -  NCSU Trials ArticleBone Cancer Dogs, Inc -  NCSU Trials Article
Bone Cancer Dogs, Inc - NCSU Trials Article
J.L. Gall
 
Copia De PresentacióNdeisy
Copia De PresentacióNdeisyCopia De PresentacióNdeisy
Copia De PresentacióNdeisy
JuSt MeRuY
 
النشاط الفردي
النشاط الفرديالنشاط الفردي
النشاط الفردي
wejdan101
 
Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1
Hui Chew
 
2013.05.02 android-l1
2013.05.02 android-l12013.05.02 android-l1
2013.05.02 android-l1
heath0504
 
Juanma Romero. El arte de comunicar con los medios siendo una pyme
Juanma Romero. El arte de comunicar con los medios siendo una pymeJuanma Romero. El arte de comunicar con los medios siendo una pyme
Juanma Romero. El arte de comunicar con los medios siendo una pyme
SalonMiEmpresa
 
Organizador visual
Organizador visualOrganizador visual
Organizador visual
Yrsy Pereira
 

Viewers also liked (20)

Aprendices campeon
Aprendices campeonAprendices campeon
Aprendices campeon
 
The North West Co interview questions and answers
The North West Co interview questions and answersThe North West Co interview questions and answers
The North West Co interview questions and answers
 
The signature process
The signature processThe signature process
The signature process
 
Soutenance_mi_parcours
Soutenance_mi_parcoursSoutenance_mi_parcours
Soutenance_mi_parcours
 
Principes de pédagogie 2.0 : Social Learning
Principes de  pédagogie 2.0 :  Social LearningPrincipes de  pédagogie 2.0 :  Social Learning
Principes de pédagogie 2.0 : Social Learning
 
Ruta de investigacion
Ruta de investigacion Ruta de investigacion
Ruta de investigacion
 
Componentes de un equipo informatico
Componentes de un equipo informaticoComponentes de un equipo informatico
Componentes de un equipo informatico
 
Copy of stub setting 3
Copy of stub setting 3Copy of stub setting 3
Copy of stub setting 3
 
Canyon Estate Dahab Presentation
Canyon Estate Dahab PresentationCanyon Estate Dahab Presentation
Canyon Estate Dahab Presentation
 
Thorverton stone brochure pdf
Thorverton stone brochure pdfThorverton stone brochure pdf
Thorverton stone brochure pdf
 
VOGUE INDIA - SEPTEMBER ISSUE
VOGUE INDIA - SEPTEMBER ISSUEVOGUE INDIA - SEPTEMBER ISSUE
VOGUE INDIA - SEPTEMBER ISSUE
 
T&r associate consultant
T&r   associate consultantT&r   associate consultant
T&r associate consultant
 
Bone Cancer Dogs, Inc - NCSU Trials Article
Bone Cancer Dogs, Inc -  NCSU Trials ArticleBone Cancer Dogs, Inc -  NCSU Trials Article
Bone Cancer Dogs, Inc - NCSU Trials Article
 
Copia De PresentacióNdeisy
Copia De PresentacióNdeisyCopia De PresentacióNdeisy
Copia De PresentacióNdeisy
 
Introducing Textyle
Introducing TextyleIntroducing Textyle
Introducing Textyle
 
النشاط الفردي
النشاط الفرديالنشاط الفردي
النشاط الفردي
 
Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1
 
2013.05.02 android-l1
2013.05.02 android-l12013.05.02 android-l1
2013.05.02 android-l1
 
Juanma Romero. El arte de comunicar con los medios siendo una pyme
Juanma Romero. El arte de comunicar con los medios siendo una pymeJuanma Romero. El arte de comunicar con los medios siendo una pyme
Juanma Romero. El arte de comunicar con los medios siendo una pyme
 
Organizador visual
Organizador visualOrganizador visual
Organizador visual
 

Similar to June 10 P33

Nov 09 P12
Nov 09 P12Nov 09 P12
Nov 09 P12
Samimvez
 
June 10 P11
June 10 P11June 10 P11
June 10 P11
Samimvez
 
June 10 P12
June 10 P12June 10 P12
June 10 P12
Samimvez
 
June 06 P1
June 06 P1June 06 P1
June 06 P1
Samimvez
 
June 10 P13
June 10 P13June 10 P13
June 10 P13
Samimvez
 

Similar to June 10 P33 (12)

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...
 
Computing paper 1 may june 2008 computers cambridge test paper zimsec zimbabw...
Computing paper 1 may june 2008 computers cambridge test paper zimsec zimbabw...Computing paper 1 may june 2008 computers cambridge test paper zimsec zimbabw...
Computing paper 1 may june 2008 computers cambridge test paper zimsec zimbabw...
 
Nov 09 P12
Nov 09 P12Nov 09 P12
Nov 09 P12
 
June 10 P11
June 10 P11June 10 P11
June 10 P11
 
June 10 P12
June 10 P12June 10 P12
June 10 P12
 
June 06 P1
June 06 P1June 06 P1
June 06 P1
 
Nov 07 P3
Nov 07 P3Nov 07 P3
Nov 07 P3
 
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...
 
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
 

More from 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
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

June 10 P33

  • 1. UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Advanced Level COMPUTING 9691/33 Paper 3 May/June 2010 2 hours Additional Materials: Answer Booklet/Paper *5793948643* 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_33/2RP © UCLES 2010 [Turn over www.XtremePapers.net
  • 2. 2 1 (a) Explain the differences between the lexical analysis stage and the syntax analysis stage in the compilation of a high level language program. [6] (b) One phase of compilation is the code generation phase. Describe the code generation phase. [3] (c) Explain the purpose of a loader. [2] 2 A company uses a computerised payroll system. The company has two factories and employees only work in one of the factories. Each factory employs a large number of workers. Details of the work done by employees each week is stored serially in two transaction files, one for each factory. When these files are used to create the payroll at the end of the week they have to be merged into a single, sequential file. (a) (i) State why it is necessary to create the transaction files in serial form. [1] (ii) State why it is necessary to turn the transaction files into a sequential file. [1] (b) The final transaction file (T) is the result of merging the two sorted files from the two factories (A and B). (i) Describe an algorithm that will merge A and B to form T. [5] (ii) Describe a binary search algorithm that can be used to find the details of a particular employee with ID number 21478 after the files have been merged. [5] 3 A factory makes washing machines. Part of the manufacturing process is to insert the control system behind the control panel in the body of the machine and to screw it into place. This process is done by a robot. (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 other types of robotic device in the washing machine factory. [6] 4 (a) Describe a hierarchical database. [2] (b) PATIENTs in a hospital are arranged in WARDs. Each WARD has a number of BEDs. The STAFF of the hospital are either DOCTORs or NURSEs. Draw a diagram to represent the details given above in the form of a hierarchical database. [6] 5 The management of a new hospital have decided to install a network of computers. The computers will be placed in the wards and in the doctors’ examination rooms so that the medical personnel can have access to the patients’ records. They will also be networked in the administration offices so that hospital records can be kept. Discuss different topologies and the media available for transmitting data around the network. [6] © UCLES 2010 9691/33/M/J/10 www.XtremePapers.net
  • 3. 3 6 (a) A job which is being processed is in one of three states: ready, running or blocked. Explain how the scheduler manages jobs in the processor. [6] (b) State two types of scheduling algorithm. [2] 7 Computer technology is to be introduced to a factory. The workers will need to be trained to use the new systems which will be introduced. A decision is made that training courses will be produced on DVDs which will be given to the workers rather than having face-to-face courses with trainers. Describe the advantages and disadvantages of training the workers in this way. [6] 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) PC (or SCR) [3] (ii) CIR [3] (iii) IR (Index Register) [3] 9 A shop uses two computer systems. System 1 Each evening details of the sales during the day are collected together. They are then used to update the stock file. System 2 At the checkout, goods being bought are identified by the system. Details are given to the customer along with the total amount owed. (a) Explain why the response times in these two systems will be different. [3] (b) Describe the hardware, software and the way that data is organised and processed in the two systems. [8] © UCLES 2010 9691/33/M/J/10 [Turn over www.XtremePapers.net
  • 4. 4 10 A VARIABLE is defined in a certain language by the following BNF rules: <VARIABLE>::=<GROUP><IDENTIFIER>│<GROUP> <GROUP>::=<LETTER>│<LETTER><DIGIT>│<LETTER><GROUP> <LETTER>::= A│B│C <DIGIT>::=0│1│2│3│4│5│6│7│8│9 <IDENTIFIER>::=%│$ (a) Explain why each of the following is not a variable: (i) D2% [1] (ii) $C2 [1] (b) MAIN_VARIABLE is defined as a GROUP which has a NZDIGIT (a DIGIT which must not be a zero) as the first character and cannot include an IDENTIFIER, but has a ! or a & as the last character. For example 1A2! and 9BC& are examples of MAIN_VARIABLE but 0A2! and 9BC%& are not examples of MAIN_VARIABLE. Produce a set of rules to define MAIN_VARIABLE (The BNF rules stated above do not need to be reproduced). [3] (c) Draw a syntax diagram of VARIABLE. You may use DIGIT, LETTER and IDENTIFIER 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/33/M/J/10 www.XtremePapers.net