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

Aprendices campeon
Aprendices campeonAprendices campeon
Aprendices campeonACBasquet
 
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 answersngalissa85
 
The signature process
The signature processThe signature process
The signature processGreg Davison
 
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 LearningIPSYS Conseil & Formation
 
Ruta de investigacion
Ruta de investigacion Ruta de investigacion
Ruta de investigacion pupo98
 
Componentes de un equipo informatico
Componentes de un equipo informaticoComponentes de un equipo informatico
Componentes de un equipo informaticoJuferrad
 
Canyon Estate Dahab Presentation
Canyon Estate Dahab PresentationCanyon Estate Dahab Presentation
Canyon Estate Dahab PresentationLorenzo Uberti
 
Thorverton stone brochure pdf
Thorverton stone brochure pdfThorverton stone brochure pdf
Thorverton stone brochure pdfcaststone
 
T&r associate consultant
T&r   associate consultantT&r   associate consultant
T&r associate consultantSahil 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 ArticleJ.L. Gall
 
Copia De PresentacióNdeisy
Copia De PresentacióNdeisyCopia De PresentacióNdeisy
Copia De PresentacióNdeisyJuSt MeRuY
 
Introducing Textyle
Introducing TextyleIntroducing Textyle
Introducing Textyleenamu
 
النشاط الفردي
النشاط الفرديالنشاط الفردي
النشاط الفرديwejdan101
 
Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1Hasil kerja murid SJK(C) 华小学生作品 1
Hasil kerja murid SJK(C) 华小学生作品 1Hui Chew
 
2013.05.02 android-l1
2013.05.02 android-l12013.05.02 android-l1
2013.05.02 android-l1heath0504
 
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 pymeSalonMiEmpresa
 
Organizador visual
Organizador visualOrganizador visual
Organizador visualYrsy 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

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
 
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...Alpro
 
Nov 09 P12
Nov 09 P12Nov 09 P12
Nov 09 P12Samimvez
 
June 10 P11
June 10 P11June 10 P11
June 10 P11Samimvez
 
June 10 P12
June 10 P12June 10 P12
June 10 P12Samimvez
 
June 06 P1
June 06 P1June 06 P1
June 06 P1Samimvez
 
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
 
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
 

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

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

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
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
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
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
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
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

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
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
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
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
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
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

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