Surname Other Names - PastPapers.CoM/Jun06/CPT2 6 4 C147681_CPT2 24/11/05 9:44 am Page 4 7 The new...

12
General Certificate of Education June 2006 Advanced Subsidiary Examination COMPUTING CPT2 Unit 2 Principles of Hardware, Software and Applications Thursday 8 June 2006 1.30 pm to 3.00 pm Time allowed: 1 hour 30 minutes Instructions Use blue or black ink or ball-point pen. Fill in the boxes at the top of this page. Answer all questions. Answer the questions in the spaces provided. Show all your working. Do all rough work in this book. Cross through any work you do not want marked. Information The maximum mark for this paper is 65. The marks for questions are shown in brackets. The use of brand names in your answers will not gain credit. You are reminded of the need for good English and clear presentation in your answers. Quality of Written Communication will be assessed in all answers. You will need no other materials. You may use a calculator. CPT2 M/Jun06/CPT2 Surname Other Names Centre Number Candidate Number Candidate Signature Leave blank For Examiner’s Use Mark Mark Total (Column 1) Total (Column 2) TOTAL Examiner’s Initials Number 1 2 3 4 5 6 7 8 Number 9 10 11

Transcript of Surname Other Names - PastPapers.CoM/Jun06/CPT2 6 4 C147681_CPT2 24/11/05 9:44 am Page 4 7 The new...

General Certificate of Education

June 2006

Advanced Subsidiary Examination

COMPUTING CPT2Unit 2 Principles of Hardware, Software and Applications

Thursday 8 June 2006 1.30 pm to 3.00 pm

Time allowed: 1 hour 30 minutes

Instructions� Use blue or black ink or ball-point pen.� Fill in the boxes at the top of this page.� Answer all questions. � Answer the questions in the spaces provided. � Show all your working.� Do all rough work in this book. Cross through any work you do not

want marked.

Information� The maximum mark for this paper is 65.� The marks for questions are shown in brackets.� The use of brand names in your answers will not gain credit.� You are reminded of the need for good English and clear presentation

in your answers. Quality of Written Communication will be assessedin all answers.

You will need no other materials.

You may use a calculator.

CPT2M/Jun06/CPT2

Surname Other Names

Centre Number Candidate Number

Candidate Signature

Leave blank

For Examiner’s Use

Mark Mark

Total (Column 1)

Total (Column 2)

TOTAL

Examiner’s Initials

Number

1

2

3

4

5

6

7

8

Number

9

10

11

C147681_CPT2 25/8/05 2:17 pm Page 1

<< /ASCII85EncodePages false /AllowTransparency false /AutoPositionEPSFiles true /AutoRotatePages /None /Binding /Left /CalGrayProfile (Gray Gamma 2.2) /CalRGBProfile (sRGB IEC61966-2.1) /CalCMYKProfile (U.S. Web Coated \050SWOP\051 v2) /sRGBProfile (sRGB IEC61966-2.1) /CannotEmbedFontPolicy /Error /CompatibilityLevel 1.3 /CompressObjects /Off /CompressPages false /ConvertImagesToIndexed true /PassThroughJPEGImages false /CreateJDFFile false /CreateJobTicket false /DefaultRenderingIntent /Default /DetectBlends true /ColorConversionStrategy /LeaveColorUnchanged /DoThumbnails false /EmbedAllFonts true /EmbedJobOptions false /DSCReportingLevel 0 /SyntheticBoldness 1.00 /EmitDSCWarnings false /EndPage -1 /ImageMemory 524288 /LockDistillerParams true /MaxSubsetPct 100 /Optimize false /OPM 1 /ParseDSCComments true /ParseDSCCommentsForDocInfo false /PreserveCopyPage true /PreserveEPSInfo false /PreserveHalftoneInfo true /PreserveOPIComments false /PreserveOverprintSettings true /StartPage 1 /SubsetFonts false /TransferFunctionInfo /Preserve /UCRandBGInfo /Preserve /UsePrologue false /ColorSettingsFile (Color Management Off) /AlwaysEmbed [ true ] /NeverEmbed [ true ] /AntiAliasColorImages false /DownsampleColorImages true /ColorImageDownsampleType /Bicubic /ColorImageResolution 300 /ColorImageDepth 8 /ColorImageDownsampleThreshold 1.10000 /EncodeColorImages true /ColorImageFilter /FlateEncode /AutoFilterColorImages false /ColorImageAutoFilterStrategy /JPEG /ColorACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /ColorImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000ColorACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000ColorImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasGrayImages false /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth 8 /GrayImageDownsampleThreshold 1.10000 /EncodeGrayImages true /GrayImageFilter /FlateEncode /AutoFilterGrayImages false /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /GrayImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000GrayACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000GrayImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasMonoImages false /DownsampleMonoImages false /MonoImageDownsampleType /Average /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict << /K -1 >> /AllowPSXObjects true /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile (None) /PDFXOutputCondition () /PDFXRegistryName <FEFF0068007400740070003a002f002f007700770077002e0063006f006c006f0072002e006f00720067ffff> /PDFXTrapped /False /Description << /ENU <FEFF> >>>> setdistillerparams<< /HWResolution [2400 2400] /PageSize [612.000 792.000]>> setpagedevice
Synapse Prepare Linneys:CMYK+Spots Comp QuarkXPressª Settings: Incl_NoOv_Mrks_CompUser may modify QuarkXPressª settings prior to sendingInDesignª Print Style: Incl_NoOv_Mrks_CompDistiller Job Options: Creo PDF Pages.joboptionsPitStop Profile: W_Images_CMYK_Multiple_Spot.pppPitStop Actions: SynapseLogo.ealUser can add info annotations into resulting PDFDistiller annotations will be added into resulting PDFJob Info annotations will be added into resulting PDFDirective annotations will be added into resulting PDF�
Job Name: Synapse Prepare JobJob Number: V14Proof Due: Sun, Apr 7, 2002Final Due: Fri, Jan 1, 1904Company: Synapse Prepare Inc.Contact: ToddAddress: 18 PDF LaneCity: AlbertvilleState: BC Zip: Country: Office Phone: 555-555-1212Email: [email protected]: Please call if you have questions about this job�

Answer all questions in the spaces provided.

1 Mr Jones gives lectures using overhead transparencies (OHTs) and an OHT projector. Hehas decided to transfer all his transparencies onto his laptop and use them in PresentationSoftware to create a presentation for an LCD projector. Give three distinct benefits of thischange.

1 ....................................................................................................................................................

.......................................................................................................................................................

2 ....................................................................................................................................................

.......................................................................................................................................................

3 ....................................................................................................................................................

.......................................................................................................................................................(3 marks)

2 DVD-R and DVD-RW, floppy disk, hard disk, magnetic tape and flash memory are allexamples of secondary storage media. For each of the following tasks, select from this listone suitable medium.

(a) Distributing software with a computer magazine.

.............................................................................................................................................(1 mark)

(b) Storing application programs for everyday use on a PC.

.............................................................................................................................................(1 mark)

(c) Transporting files between computers.

.............................................................................................................................................(1 mark)

2 LEAVEMARGINBLANK

M/Jun06/CPT2

3

3

C147681_CPT2 25/8/05 2:17 pm Page 2

3 Using words from this list:

character, record, file, key, word, field

complete the sentences below.

(a) A .................................. is a single item of data.(1 mark)

(b) A .................................. is a row of data.(1 mark)

(c) A .................................. will contain a whole collection of data.(1 mark)

4 Computer software is protected by the Copyright, Designs and Patents Act 1988, amended bysubsequent legislation.

(a) What is meant by copyright in the context of computer software?

.............................................................................................................................................

.............................................................................................................................................(1 mark)

(b) Under the terms of the licensing agreement, what is a purchaser legally entitled to dowith the purchased PC software?

.............................................................................................................................................(1 mark)

(c) Give two ways a purchaser might wish to use the purchased PC software, which areforbidden under this legislation.

1 ..........................................................................................................................................

.............................................................................................................................................

2 ..........................................................................................................................................

.............................................................................................................................................(2 marks)

3 LEAVEMARGINBLANK

M/Jun06/CPT2 Turn over

3

4

C147681_CPT2 24/11/05 9:44 am Page 3

<< /ASCII85EncodePages false /AllowTransparency false /AutoPositionEPSFiles true /AutoRotatePages /None /Binding /Left /CalGrayProfile (Gray Gamma 2.2) /CalRGBProfile (sRGB IEC61966-2.1) /CalCMYKProfile (U.S. Web Coated \050SWOP\051 v2) /sRGBProfile (sRGB IEC61966-2.1) /CannotEmbedFontPolicy /Error /CompatibilityLevel 1.3 /CompressObjects /Off /CompressPages false /ConvertImagesToIndexed true /PassThroughJPEGImages false /CreateJDFFile false /CreateJobTicket false /DefaultRenderingIntent /Default /DetectBlends true /ColorConversionStrategy /LeaveColorUnchanged /DoThumbnails false /EmbedAllFonts true /EmbedJobOptions false /DSCReportingLevel 0 /SyntheticBoldness 1.00 /EmitDSCWarnings false /EndPage -1 /ImageMemory 524288 /LockDistillerParams true /MaxSubsetPct 100 /Optimize false /OPM 1 /ParseDSCComments true /ParseDSCCommentsForDocInfo false /PreserveCopyPage true /PreserveEPSInfo false /PreserveHalftoneInfo true /PreserveOPIComments false /PreserveOverprintSettings true /StartPage 1 /SubsetFonts false /TransferFunctionInfo /Preserve /UCRandBGInfo /Preserve /UsePrologue false /ColorSettingsFile (Color Management Off) /AlwaysEmbed [ true ] /NeverEmbed [ true ] /AntiAliasColorImages false /DownsampleColorImages true /ColorImageDownsampleType /Bicubic /ColorImageResolution 300 /ColorImageDepth 8 /ColorImageDownsampleThreshold 1.10000 /EncodeColorImages true /ColorImageFilter /FlateEncode /AutoFilterColorImages false /ColorImageAutoFilterStrategy /JPEG /ColorACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /ColorImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000ColorACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000ColorImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasGrayImages false /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth 8 /GrayImageDownsampleThreshold 1.10000 /EncodeGrayImages true /GrayImageFilter /FlateEncode /AutoFilterGrayImages false /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /GrayImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000GrayACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000GrayImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasMonoImages false /DownsampleMonoImages false /MonoImageDownsampleType /Average /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict << /K -1 >> /AllowPSXObjects true /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile (None) /PDFXOutputCondition () /PDFXRegistryName <FEFF0068007400740070003a002f002f007700770077002e0063006f006c006f0072002e006f00720067ffff> /PDFXTrapped /False /Description << /ENU <FEFF> >>>> setdistillerparams<< /HWResolution [2400 2400] /PageSize [612.000 792.000]>> setpagedevice
Synapse Prepare Linneys:CMYK+Spots Comp QuarkXPressª Settings: Incl_NoOv_Mrks_CompUser may modify QuarkXPressª settings prior to sendingInDesignª Print Style: Incl_NoOv_Mrks_CompDistiller Job Options: Creo PDF Pages.joboptionsPitStop Profile: W_Images_CMYK_Multiple_Spot.pppPitStop Actions: SynapseLogo.ealUser can add info annotations into resulting PDFDistiller annotations will be added into resulting PDFJob Info annotations will be added into resulting PDFDirective annotations will be added into resulting PDF�
Job Name: Synapse Prepare JobJob Number: V14Proof Due: Sun, Apr 7, 2002Final Due: Fri, Jan 1, 1904Company: Synapse Prepare Inc.Contact: ToddAddress: 18 PDF LaneCity: AlbertvilleState: BC Zip: Country: Office Phone: 555-555-1212Email: [email protected]: Please call if you have questions about this job�

5 Software which involves significant quantities of data entry will include validation checks.

A certain program uses a file with the following fields:

(HouseID, PostCode, Surname, DateOfBirth,Occupation, NumberOfAdults, NumberOfChildren)

One example of a validation check that could be applied to data being entered into this file isa Type check which will restrict entries to a certain data type.

This could be applied to the field NumberOfAdults which would accept only integers.

Select three fields from this file, and for each, name and describe a different validationcheck (excluding Type check) that could be applied to it.

1. Field ..........................................................................................................................................

Validation check .......................................................................................................................

Description of check ................................................................................................................

2. Field .........................................................................................................................................

Validation check .......................................................................................................................

Description of check ................................................................................................................

3. Field .........................................................................................................................................

Validation check .......................................................................................................................

Description of check ................................................................................................................(6 marks)

6 Different operating systems have been developed with different operational characteristics.One of the operational characteristics of a real time operating system is to produce outputfast enough to affect the next input.

(a) Give two further operational characteristics of a real time operating system.

1 ..........................................................................................................................................

2 ..........................................................................................................................................(2 marks)

(b) Some real time operating systems have to respond extremely quickly. Give oneexample of such a system and one example of a system where an extremely quickresponse is not essential.

Extremely quick: a system to .............................................................................................(1 mark)

Not extremely quick: a system to .......................................................................................(1 mark)

4 LEAVEMARGINBLANK

M/Jun06/CPT2

6

4

C147681_CPT2 24/11/05 9:44 am Page 4

7 The new Head of Computing at a secondary school wishes to review the backup and restorestrategies for the school’s computer system. The purpose of these strategies is to reduce to anacceptable level, the disruption caused by a system crash or by deliberate or accidental dataloss caused by a computer user. The system covers the school’s administration and students’work.

(a) For each of the following, suggest a suitable backup strategy. Your suggestions shouldall be different.

Hint: You might consider who should be responsible, how often it should take place and/or a suitable medium to use.

(i) AS level Computing students’ CPT3 coursework.

....................................................................................................................................

....................................................................................................................................(2 marks)

(ii) Data from day-to-day school administration.

....................................................................................................................................

....................................................................................................................................(2 marks)

(iii) Application software for any part of the system.

....................................................................................................................................

....................................................................................................................................(2 marks)

(b) Give two more suggestions to the Head of Computing regarding this backup andrestore strategy.

1 ..........................................................................................................................................

.............................................................................................................................................

2 ..........................................................................................................................................

.............................................................................................................................................(2 marks)

5 LEAVEMARGINBLANK

M/Jun06/CPT2 Turn over

8

C147681_CPT2 24/11/05 11:33 am Page 5

<< /ASCII85EncodePages false /AllowTransparency false /AutoPositionEPSFiles true /AutoRotatePages /None /Binding /Left /CalGrayProfile (Gray Gamma 2.2) /CalRGBProfile (sRGB IEC61966-2.1) /CalCMYKProfile (U.S. Web Coated \050SWOP\051 v2) /sRGBProfile (sRGB IEC61966-2.1) /CannotEmbedFontPolicy /Error /CompatibilityLevel 1.3 /CompressObjects /Off /CompressPages false /ConvertImagesToIndexed true /PassThroughJPEGImages false /CreateJDFFile false /CreateJobTicket false /DefaultRenderingIntent /Default /DetectBlends true /ColorConversionStrategy /LeaveColorUnchanged /DoThumbnails false /EmbedAllFonts true /EmbedJobOptions false /DSCReportingLevel 0 /SyntheticBoldness 1.00 /EmitDSCWarnings false /EndPage -1 /ImageMemory 524288 /LockDistillerParams true /MaxSubsetPct 100 /Optimize false /OPM 1 /ParseDSCComments true /ParseDSCCommentsForDocInfo false /PreserveCopyPage true /PreserveEPSInfo false /PreserveHalftoneInfo true /PreserveOPIComments false /PreserveOverprintSettings true /StartPage 1 /SubsetFonts false /TransferFunctionInfo /Preserve /UCRandBGInfo /Preserve /UsePrologue false /ColorSettingsFile (Color Management Off) /AlwaysEmbed [ true ] /NeverEmbed [ true ] /AntiAliasColorImages false /DownsampleColorImages true /ColorImageDownsampleType /Bicubic /ColorImageResolution 300 /ColorImageDepth 8 /ColorImageDownsampleThreshold 1.10000 /EncodeColorImages true /ColorImageFilter /FlateEncode /AutoFilterColorImages false /ColorImageAutoFilterStrategy /JPEG /ColorACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /ColorImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000ColorACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000ColorImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasGrayImages false /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth 8 /GrayImageDownsampleThreshold 1.10000 /EncodeGrayImages true /GrayImageFilter /FlateEncode /AutoFilterGrayImages false /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /GrayImageDict << /QFactor 0.15 /HSamples [1 1 1 1] /VSamples [1 1 1 1] >> /JPEG2000GrayACSImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /JPEG2000GrayImageDict << /TileWidth 256 /TileHeight 256 /Quality 30 >> /AntiAliasMonoImages false /DownsampleMonoImages false /MonoImageDownsampleType /Average /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict << /K -1 >> /AllowPSXObjects true /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile (None) /PDFXOutputCondition () /PDFXRegistryName <FEFF0068007400740070003a002f002f007700770077002e0063006f006c006f0072002e006f00720067ffff> /PDFXTrapped /False /Description << /ENU <FEFF> >>>> setdistillerparams<< /HWResolution [2400 2400] /PageSize [612.000 792.000]>> setpagedevice
Synapse Prepare Linneys:CMYK+Spots Comp QuarkXPressª Settings: Incl_NoOv_Mrks_CompUser may modify QuarkXPressª settings prior to sendingInDesignª Print Style: Incl_NoOv_Mrks_CompDistiller Job Options: Creo PDF Pages.joboptionsPitStop Profile: W_Images_CMYK_Multiple_Spot.pppPitStop Actions: SynapseLogo.ealUser can add info annotations into resulting PDFDistiller annotations will be added into resulting PDFJob Info annotations will be added into resulting PDFDirective annotations will be added into resulting PDF�
Job Name: Synapse Prepare JobJob Number: V14Proof Due: Sun, Apr 7, 2002Final Due: Fri, Jan 1, 1904Company: Synapse Prepare Inc.Contact: ToddAddress: 18 PDF LaneCity: AlbertvilleState: BC Zip: Country: Office Phone: 555-555-1212Email: [email protected]: Please call if you have questions about this job�

8 (a) What could you do to ensure that your e-mails are not read by unauthorised people?

.............................................................................................................................................(1 mark)

(b) You send an e-mail from your e-mail address at school to your cousin’s e-mail addressat work. Your cousin works for a large firm in your local town.

This e-mail may legally be read by other people apart from yourself and your cousin.Explain why this is so.

.............................................................................................................................................

.............................................................................................................................................(2 marks)

9 The diagram shows a personal digital assistant or PDA (actual size) used in a certainrestaurant by waiters and waitresses to take orders. A display screen covers most of the faceand there is no keyboard.

(a) What input device should be used with this PDA?

.............................................................................................................................................(2 marks)

6 LEAVEMARGINBLANK

M/Jun06/CPT2

3

C147681_CPT2 24/11/05 9:44 am Page 6

(b) The restaurant offers a large selection of food for each course (Starters, Main Course,and Desserts) and a selection of drinks, both alcoholic and non-alcoholic. You havebeen asked to help in the design of the user interface on this PDA to enable the waitersand waitresses to identify a table and take orders. One requirement is the facility toselect the table number on the first screen.

Give three more requirements.

1 ..........................................................................................................................................

2 ..........................................................................................................................................

3 ..........................................................................................................................................(3 marks)

(c) How should the details of the order be transmitted from the PDA to the computer in thekitchen so that the staff know what dishes to prepare?

.............................................................................................................................................(1 mark)

10 (a) One of the roles of an operating system is Resource Management. Give threeresource management tasks for an operating system for a stand-alone computer.

1 ..........................................................................................................................................

2 ..........................................................................................................................................

3 ..........................................................................................................................................(3 marks)

(b) A second role of an operating system is the provision of a virtual machine. What doesthis mean?

.............................................................................................................................................

.............................................................................................................................................(1 mark)

(c) Give three tasks that an operating system for a computer connected to a computernetwork will have in addition to the tasks of an operating system for a stand-alonecomputer.

1 ..........................................................................................................................................

2 ..........................................................................................................................................

3 ..........................................................................................................................................(3 marks)

7 LEAVEMARGINBLANK

6

7

M/Jun06/CPT2 Turn over

C147681_CPT2 24/11/05 9:44 am Page 7

11 Sam starts work at a small business selling garden tools and equipment by mail order. Fourof the employees in the business have their own stand-alone computers.

� Mary takes the order and enters it into her computer. She records the customer’s nameand address, plus the item(s) ordered. She prints out a copy and gives it to Renie.

� Renie takes the items off the shelves and packs the order. She records, on her computer,the customer’s name and address, and the items despatched. She notes any item that isout of stock; these will have to follow in a later despatch. She prints off a copy of thesedetails to give to Hassan.

� Hassan produces the invoice. He records, on his computer, the customer’s name andaddress and the items despatched with prices. He adds a handling charge and puts theinvoice into an envelope ready for posting to the customer. He gives a copy invoice toJames.

� James is the accountant. He records, on his computer, the customer’s name and address,the invoice amount and whether it has been paid or not.

(a) This system has disadvantages. Explain two of these.

1 ..........................................................................................................................................

.............................................................................................................................................

2 ..........................................................................................................................................

.............................................................................................................................................(4 marks)

(b) Sam suggests that if the computers were networked, they could share files. If thecomputers were networked, why is it unlikely that they could share files as they are setup currently?

.............................................................................................................................................

.............................................................................................................................................(2 marks)

(c) The company decide to start again and create a relational database. Sam starts talkingabout attributes, primary keys and foreign keys.

(i) Define an attribute.

....................................................................................................................................(1 mark)

(ii) Define a primary key.

....................................................................................................................................(1 mark)

(iii) Define a foreign key.

....................................................................................................................................(1 mark)

8 LEAVEMARGINBLANK

M/Jun06/CPT2

C147681_CPT2 24/11/05 9:44 am Page 8

(d) Initially Sam thinks that four tables are needed

1. Customer table

2. Stock table containing details of each item of stock

3. Order table containing general details of each order

4. OrderLine table containing details of each item ordered for a particular order

(i) What would be the most suitable primary key for the table Customer?

....................................................................................................................................(1 mark)

(ii) What would be the most suitable primary key for the table OrderLine?

....................................................................................................................................(1 mark)

(iii) Name a foreign key in the table OrderLine.

....................................................................................................................................(1 mark)

(iv) Mr Jeremiah Smith telephoned Mary. He said that he had mislaid his copy of his latest order and asked her to remind him what he had ordered. Mary askedhim if he could remember the date he made the order, and he told her it had been23rd April 2006. If Mary were using a relational database, set up to include thetables as described above, she could run a query to list the items. Complete theQBE grid required to produce this list.

(6 marks)

END OF QUESTIONS

9 LEAVEMARGINBLANK

18

M/Jun06/CPT2

Table: Customer Stock Order OrderLine

Surname

Firstname

Address1

Town

PostCode

Telephone Number

CustomerID

PartNumber

Description

UnitPrice

NumberInStock

OrderNumber

DateOfOrder

CustomerID

OrderNumber

OrderLineNumber

PartNumber

Quantity

To i

nclu

de t

hese

fie

lds

Field Surname FirstName DateOfOrder

Table

Show

Criteria

C147681_CPT2 24/11/05 9:44 am Page 9

There are no questions printed on this page

10

M/Jun06/CPT2

C147681_CPT2 25/8/05 2:17 pm Page 10

There are no questions printed on this page

11

M/Jun06/CPT2

C147681_CPT2 25/8/05 2:17 pm Page 11

There are no questions printed on this page

Copyright © 2006 AQA and its licensors. All rights reserved.

12

M/Jun06/CPT2

C147681_CPT2 25/8/05 2:17 pm Page 12