SlideShare a Scribd company logo
1 of 4
Download to read offline
CAMBRIDGE INTERNATIONAL EXAMINATIONS
              General Certificate of Education Advanced Subsidiary Level and Advanced
              Level
              COMPUTING
              PAPER 2
                                                                                    9691/2
                                                   OCTOBER/NOVEMBER SESSION 2002
              Additional materials:
                Answer paper
                Access to a computer and printer




INSTRUCTIONS TO CANDIDATES
Write your name, Centre number and candidate number on your work.

Answer all questions.


INFORMATION FOR CANDIDATES
The number of marks is given in brackets [ ] at the end of each question or part question.
You are reminded of the need for good English and clear presentation in your work.




                          This question paper consists of 4 printed pages.
© CIE 2002                                                                                   [Turn Over
2


1   An employment agency’s business is to match job vacancies with people who are looking
    for work. You have been asked to design a system to handle the matching of the
    requirements of the employers and the job seekers.

    The system will require the operator to input the following two sets of information.

    1.   From the employers:
            ● Name of company
            ● District
            ● Telephone number
            ● Job type
            ● Employment start date
            ● Salary.

    2.   From the person seeking a job:
            ● Forename
            ● Surname
            ● Address
            ● Telephone number
            ● Job type.

    (a) Using appropriate software, design a method of storing both sets of data.             [4]

    (b) Create a user-friendly interface for the operator to

         (i)   input new data as it arrives,

         (ii) delete out-of-date data,

         (iii) amend data according to any changes in circumstances.
                                                                                              [5]

    (c) The operator needs to be able to use a query screen to input a person’s name to find
        out what jobs of the relevant job type are available. Set up a user-friendly system, with
        sufficient test data, in order to do this.

         Devise and implement a method to input the person’s name, which will result in the
         system producing the details of the relevant jobs.                              [5]

    (d) Produce a short user guide so that an operator can use this system.                 [10]




                                               9691/02/Nov 2002
3



2   The following algorithm is not intended to be in any particular computer language.

                   read m
                   for a = 1 to m
                         read x (a)
                   next a
                   read n
                   for b = 1 to n
                         read y (b)
                   next b
                   s=t=d=1
                   while s ≤ m and t ≤ n
                         if x (s) < y (t)
                                z (d) = x (s)
                                s=s+1
                                d=d+1
                         endif
                         else
                         if x (s) > y (t)
                                z (d) = y (t)
                                t=t+1
                                d=d+1
                         endif
                         else
                                z (d) = x (s)
                                s=s+1
                                d=d+1
                   endwhile
                   while m ≥ s
                         z (d) = x (s)
                         d=d+1
                         s=s+1
                   endwhile
                   while n ≥ t
                         z (d) = y (t)
                         d=d+1
                         t=t+1
                   endwhile


    (a) Implement this algorithm. Write down the final contents of arrays x, y and z when the
        algorithm is executed with the following test data.

        (i)   3, 1, 4, 9, 3, 2, 3, 7

        (ii) 4, 2, 4, 6, 7, 3, 3, 5, 9
                                                                                           [6]

    (b) The test data does not test all branches of the algorithm.

        (i)   Write down the part of the algorithm not yet tested.

        (ii) Write a set of test data which will test this branch.

        (iii) Using your set of test data, write down the final contents of array z.
                                                                                           [4]

    (c) Explain the purpose of the algorithm.                                              [3]
                                                                                         [Turn over
                                                9691/02 Nov 2002
4


3   An examination consists of two papers, each marked out of 100. Each candidate has a
    four-digit candidate number.

    If a candidate scores 80 or more marks on each paper, he is awarded a DISTINCTION.
    If he fails to be awarded a distinction but the sum of his marks is 120 or more, he is
    awarded a MERIT.
    If he fails to be awarded a distinction or a merit but the sum of his marks is 100 or more, he
    is awarded a PASS.
    If none of these conditions is met, he is awarded a FAIL.

    A computer will process and grade the examination results for candidates taking the
    examination, using the following conditions.

    ●   Each candidate’s number and marks for the two papers will be input and then
        processed.
    ●   The list of candidate’s numbers and marks will be ended with the rogue data 9999, 0, 0
    ●   The candidate’s number and DISTINCTION, MERIT, PASS or FAIL grade will be
        printed as appropriate.
    ●   Following the printout of individual results, the total number of candidates who took the
        examination will be printed along with the total number of DISTINCTION, MERIT,
        PASS and FAIL grades awarded.

    (a) Draw a Jackson diagram to show how the problem may be broken down.                     [9]

    (b) Write an algorithm that will allow all the candidates’ marks to be processed.        [14]




                                             9691/02 Nov 2002

More Related Content

What's hot

Support Vector Machines (SVM)
Support Vector Machines (SVM)Support Vector Machines (SVM)
Support Vector Machines (SVM)FAO
 
An Introduction to Coding Theory
An Introduction to Coding TheoryAn Introduction to Coding Theory
An Introduction to Coding TheoryAlexanderWei11
 
Sec 3 E Maths Notes Coordinate Geometry
Sec 3 E Maths Notes Coordinate GeometrySec 3 E Maths Notes Coordinate Geometry
Sec 3 E Maths Notes Coordinate GeometryMath Academy Singapore
 
Polynomial long division
Polynomial long divisionPolynomial long division
Polynomial long divisionhentra76
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algosimpleok
 
11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...Alexander Decker
 
Auto encoding-variational-bayes
Auto encoding-variational-bayesAuto encoding-variational-bayes
Auto encoding-variational-bayesmehdi Cherti
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsemGopi Saiteja
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING karishma gupta
 
maXbox starter68 machine learning VI
maXbox starter68 machine learning VImaXbox starter68 machine learning VI
maXbox starter68 machine learning VIMax Kleiner
 
Data mining with differential privacy
Data mining with differential privacy Data mining with differential privacy
Data mining with differential privacy Wei-Yuan Chang
 

What's hot (20)

Support Vector Machines (SVM)
Support Vector Machines (SVM)Support Vector Machines (SVM)
Support Vector Machines (SVM)
 
An Introduction to Coding Theory
An Introduction to Coding TheoryAn Introduction to Coding Theory
An Introduction to Coding Theory
 
Km2417821785
Km2417821785Km2417821785
Km2417821785
 
Sec 3 E Maths Notes Coordinate Geometry
Sec 3 E Maths Notes Coordinate GeometrySec 3 E Maths Notes Coordinate Geometry
Sec 3 E Maths Notes Coordinate Geometry
 
Polynomial long division
Polynomial long divisionPolynomial long division
Polynomial long division
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algo
 
11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...11.the comparative study of finite difference method and monte carlo method f...
11.the comparative study of finite difference method and monte carlo method f...
 
Unit 3 daa
Unit 3 daaUnit 3 daa
Unit 3 daa
 
Daa unit 4
Daa unit 4Daa unit 4
Daa unit 4
 
Tam 2nd
Tam 2ndTam 2nd
Tam 2nd
 
Auto encoding-variational-bayes
Auto encoding-variational-bayesAuto encoding-variational-bayes
Auto encoding-variational-bayes
 
Id
IdId
Id
 
Ee693 sept2014midsem
Ee693 sept2014midsemEe693 sept2014midsem
Ee693 sept2014midsem
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Deep Learning Opening Workshop - ProxSARAH Algorithms for Stochastic Composit...
Deep Learning Opening Workshop - ProxSARAH Algorithms for Stochastic Composit...Deep Learning Opening Workshop - ProxSARAH Algorithms for Stochastic Composit...
Deep Learning Opening Workshop - ProxSARAH Algorithms for Stochastic Composit...
 
Deep learning
Deep learningDeep learning
Deep learning
 
Learning R
Learning RLearning R
Learning R
 
maXbox starter68 machine learning VI
maXbox starter68 machine learning VImaXbox starter68 machine learning VI
maXbox starter68 machine learning VI
 
Data mining with differential privacy
Data mining with differential privacy Data mining with differential privacy
Data mining with differential privacy
 
Line circle draw
Line circle drawLine circle draw
Line circle draw
 

Viewers also liked (8)

Practica 24 word
Practica 24 wordPractica 24 word
Practica 24 word
 
Πολυμέρης Ζάκυνθος 7_11_2014
Πολυμέρης Ζάκυνθος 7_11_2014Πολυμέρης Ζάκυνθος 7_11_2014
Πολυμέρης Ζάκυνθος 7_11_2014
 
I love mrs swalm by kenny bigelow
I love mrs swalm by kenny bigelowI love mrs swalm by kenny bigelow
I love mrs swalm by kenny bigelow
 
Roy W3 1
Roy W3 1Roy W3 1
Roy W3 1
 
Βιωματικές Δράσεις_Ματσαγγούρας, Οκτώβριος 2011 (β)
Βιωματικές Δράσεις_Ματσαγγούρας, Οκτώβριος 2011 (β)Βιωματικές Δράσεις_Ματσαγγούρας, Οκτώβριος 2011 (β)
Βιωματικές Δράσεις_Ματσαγγούρας, Οκτώβριος 2011 (β)
 
Φάσεις Ερευνητικών Εργασιών
Φάσεις Ερευνητικών ΕργασιώνΦάσεις Ερευνητικών Εργασιών
Φάσεις Ερευνητικών Εργασιών
 
Βιωματικές Δράσεις Α’ γυμνασίου 2013 - 2014
Βιωματικές Δράσεις Α’ γυμνασίου 2013 - 2014 Βιωματικές Δράσεις Α’ γυμνασίου 2013 - 2014
Βιωματικές Δράσεις Α’ γυμνασίου 2013 - 2014
 
Βιωματικες δρασεις Πολυμερης
Βιωματικες δρασεις ΠολυμερηςΒιωματικες δρασεις Πολυμερης
Βιωματικες δρασεις Πολυμερης
 

Similar to Nov 02 P2

June 05 P2
June 05 P2June 05 P2
June 05 P2Samimvez
 
June 03 P2
June 03 P2June 03 P2
June 03 P2Samimvez
 
June 04 P32
June 04 P32June 04 P32
June 04 P32Samimvez
 
90 Informatics Practices.pdf
90 Informatics Practices.pdf90 Informatics Practices.pdf
90 Informatics Practices.pdfvikas500500
 
Rsa Signature: Behind The Scenes
Rsa Signature: Behind The Scenes Rsa Signature: Behind The Scenes
Rsa Signature: Behind The Scenes acijjournal
 
dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)Mumtaz Ali
 
June 09 MS1
June 09 MS1June 09 MS1
June 09 MS1Samimvez
 
R programming lab 1 - jupyter notebook
R programming lab   1 - jupyter notebookR programming lab   1 - jupyter notebook
R programming lab 1 - jupyter notebookAshwini Mathur
 
Advance data structure & algorithm
Advance data structure & algorithmAdvance data structure & algorithm
Advance data structure & algorithmK Hari Shankar
 
Smu bca sem 1 winter 2014 assignments
Smu bca sem 1 winter 2014 assignmentsSmu bca sem 1 winter 2014 assignments
Smu bca sem 1 winter 2014 assignmentssmumbahelp
 
re:mobidyc the overview
re:mobidyc the overviewre:mobidyc the overview
re:mobidyc the overviewESUG
 
Yoyak ScalaDays 2015
Yoyak ScalaDays 2015Yoyak ScalaDays 2015
Yoyak ScalaDays 2015ihji
 
Problem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study materialProblem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study materialTo Sum It Up
 
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfComputer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfPranavAnil9
 

Similar to Nov 02 P2 (20)

June 05 P2
June 05 P2June 05 P2
June 05 P2
 
June 03 P2
June 03 P2June 03 P2
June 03 P2
 
Nov 04 P2
Nov 04 P2Nov 04 P2
Nov 04 P2
 
June 04 P32
June 04 P32June 04 P32
June 04 P32
 
BDS_QA.pdf
BDS_QA.pdfBDS_QA.pdf
BDS_QA.pdf
 
90 Informatics Practices.pdf
90 Informatics Practices.pdf90 Informatics Practices.pdf
90 Informatics Practices.pdf
 
Rsa Signature: Behind The Scenes
Rsa Signature: Behind The Scenes Rsa Signature: Behind The Scenes
Rsa Signature: Behind The Scenes
 
dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)dynamic programming complete by Mumtaz Ali (03154103173)
dynamic programming complete by Mumtaz Ali (03154103173)
 
June 09 MS1
June 09 MS1June 09 MS1
June 09 MS1
 
R programming lab 1 - jupyter notebook
R programming lab   1 - jupyter notebookR programming lab   1 - jupyter notebook
R programming lab 1 - jupyter notebook
 
Advance data structure & algorithm
Advance data structure & algorithmAdvance data structure & algorithm
Advance data structure & algorithm
 
Nov 05 P2
Nov 05 P2Nov 05 P2
Nov 05 P2
 
Smu bca sem 1 winter 2014 assignments
Smu bca sem 1 winter 2014 assignmentsSmu bca sem 1 winter 2014 assignments
Smu bca sem 1 winter 2014 assignments
 
Ggplot2 v3
Ggplot2 v3Ggplot2 v3
Ggplot2 v3
 
re:mobidyc the overview
re:mobidyc the overviewre:mobidyc the overview
re:mobidyc the overview
 
Yoyak ScalaDays 2015
Yoyak ScalaDays 2015Yoyak ScalaDays 2015
Yoyak ScalaDays 2015
 
Sample paper
Sample paperSample paper
Sample paper
 
Problem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study materialProblem solving using computers - Unit 1 - Study material
Problem solving using computers - Unit 1 - Study material
 
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdfComputer Science CS Project Matrix CBSE Class 12th XII .pdf
Computer Science CS Project Matrix CBSE Class 12th XII .pdf
 
1.2 matlab numerical data
1.2  matlab numerical data1.2  matlab numerical data
1.2 matlab numerical data
 

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
 
Nov 05 P3
Nov 05 P3Nov 05 P3
Nov 05 P3
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
"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
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
"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
 
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
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Nov 02 P2

  • 1. CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Advanced Subsidiary Level and Advanced Level COMPUTING PAPER 2 9691/2 OCTOBER/NOVEMBER SESSION 2002 Additional materials: Answer paper Access to a computer and printer INSTRUCTIONS TO CANDIDATES Write your name, Centre number and candidate number on your work. Answer all questions. INFORMATION FOR CANDIDATES The number of marks is given in brackets [ ] at the end of each question or part question. You are reminded of the need for good English and clear presentation in your work. This question paper consists of 4 printed pages. © CIE 2002 [Turn Over
  • 2. 2 1 An employment agency’s business is to match job vacancies with people who are looking for work. You have been asked to design a system to handle the matching of the requirements of the employers and the job seekers. The system will require the operator to input the following two sets of information. 1. From the employers: ● Name of company ● District ● Telephone number ● Job type ● Employment start date ● Salary. 2. From the person seeking a job: ● Forename ● Surname ● Address ● Telephone number ● Job type. (a) Using appropriate software, design a method of storing both sets of data. [4] (b) Create a user-friendly interface for the operator to (i) input new data as it arrives, (ii) delete out-of-date data, (iii) amend data according to any changes in circumstances. [5] (c) The operator needs to be able to use a query screen to input a person’s name to find out what jobs of the relevant job type are available. Set up a user-friendly system, with sufficient test data, in order to do this. Devise and implement a method to input the person’s name, which will result in the system producing the details of the relevant jobs. [5] (d) Produce a short user guide so that an operator can use this system. [10] 9691/02/Nov 2002
  • 3. 3 2 The following algorithm is not intended to be in any particular computer language. read m for a = 1 to m read x (a) next a read n for b = 1 to n read y (b) next b s=t=d=1 while s ≤ m and t ≤ n if x (s) < y (t) z (d) = x (s) s=s+1 d=d+1 endif else if x (s) > y (t) z (d) = y (t) t=t+1 d=d+1 endif else z (d) = x (s) s=s+1 d=d+1 endwhile while m ≥ s z (d) = x (s) d=d+1 s=s+1 endwhile while n ≥ t z (d) = y (t) d=d+1 t=t+1 endwhile (a) Implement this algorithm. Write down the final contents of arrays x, y and z when the algorithm is executed with the following test data. (i) 3, 1, 4, 9, 3, 2, 3, 7 (ii) 4, 2, 4, 6, 7, 3, 3, 5, 9 [6] (b) The test data does not test all branches of the algorithm. (i) Write down the part of the algorithm not yet tested. (ii) Write a set of test data which will test this branch. (iii) Using your set of test data, write down the final contents of array z. [4] (c) Explain the purpose of the algorithm. [3] [Turn over 9691/02 Nov 2002
  • 4. 4 3 An examination consists of two papers, each marked out of 100. Each candidate has a four-digit candidate number. If a candidate scores 80 or more marks on each paper, he is awarded a DISTINCTION. If he fails to be awarded a distinction but the sum of his marks is 120 or more, he is awarded a MERIT. If he fails to be awarded a distinction or a merit but the sum of his marks is 100 or more, he is awarded a PASS. If none of these conditions is met, he is awarded a FAIL. A computer will process and grade the examination results for candidates taking the examination, using the following conditions. ● Each candidate’s number and marks for the two papers will be input and then processed. ● The list of candidate’s numbers and marks will be ended with the rogue data 9999, 0, 0 ● The candidate’s number and DISTINCTION, MERIT, PASS or FAIL grade will be printed as appropriate. ● Following the printout of individual results, the total number of candidates who took the examination will be printed along with the total number of DISTINCTION, MERIT, PASS and FAIL grades awarded. (a) Draw a Jackson diagram to show how the problem may be broken down. [9] (b) Write an algorithm that will allow all the candidates’ marks to be processed. [14] 9691/02 Nov 2002