Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 604 exam-style questions, each with its mark scheme and example answers. Print it, or answer it on paper and then open the mark schemes. Or browse the questions by topic.

Build a paper

Topics (none ticked: all of them)
Question types (none ticked: all of them)

Practice paper

5 questions · 9 marks

Pick again
Print
1Multiple choice1 markEmbedded Systems Swap Remove

Modern cars contain many embedded systems.

Identify what the embedded system that controls the cruise control does.

[1 mark]
  • AIt controls the interior lights
  • BIt displays a map for the driver
  • CIt keeps the car at a constant speed
  • DIt sounds an alarm if the car is broken into
Mark scheme
  • C It keeps the car at a constant speed (1)
  • The only correct answer is C. The correct answer is it keeps the car at a constant speed.
  • A is not correct because controlling the interior lights is done by a different embedded system in the car
  • B is not correct because displaying a map for the driver is done by the satellite navigation system
  • D is not correct because sounding an alarm is done by a different embedded system in the car
Example answers and how they were marked
Full marks1/1

C It keeps the car at a constant speed

Why: Correct option: this is the function of the embedded system that controls the cruise control (1).

No marks0/1

B It displays a map for the driver

Why: Near miss: displaying a map is the function of the satellite navigation system, which the mark scheme says is not correct, so no mark.

No marks0/1

A It controls the interior lights

Why: Misconception: the interior lights are controlled by a different embedded system, so no mark.

2Short recall2 marksEmbedded Systems Swap Remove

A digital camera contains an embedded system.

Give two functions that the embedded system performs in the digital camera.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Focus the lens/autofocus (1)
  • Control the shutter (speed) (1)
  • Control the flash/decide when the flash is needed (1)
  • Measure the light level to set the exposure/the aperture (1)
  • Stabilise the lens/image stabilisation (1)
  • Zoom the lens in and out (1)
  • Detect a face/smile (1)

Do not accept 'take a photograph'/'take a picture'/'capture an image', as taking photographs is the function of the camera, which is given in the question.

Do not accept 'press the button' as this is an action of the user, not a function performed by the embedded system.

Do not accept vague answers such as 'use the camera', 'turn the camera on and off' or 'make the camera work', which do not name a function that the embedded system performs.

Example answers and how they were marked
Full marks2/2

It focuses the lens and decides when the flash should fire.

Why: Focus the lens (1) and control the flash (1).

Some marks1/2

It controls the zoom and takes a picture when the button is pressed.

Why: Zoom the lens credited (1); 'takes a picture' is not accepted because taking photographs is the function of the camera, which is given in the question, and 'press the button' is the user's action, not a function of the embedded system.

No marks0/2

It takes a picture when the button is pressed and it makes the camera work.

Why: No mark: 'takes a picture' repeats the camera's function given in the question, 'press the button' is an action of the user, and 'makes the camera work' is too vague to name a function.

3Short recall2 marksCompression Swap Remove

Files can be compressed before they are stored.

Define the term lossless compression.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Reduces/makes the size of a file smaller (1)
  • No data is lost/removed (during compression) (1)
  • The original file/data can be recreated/restored exactly (1)

Allow 'the compressed file takes up less storage space' for the first mark.

The second and third bullets are two ways of making the same point: award a maximum of one mark for them, so a response that says no data is lost and that the original file can be restored, but does not say the file is smaller, scores one mark.

Do not accept descriptions of lossy compression, e.g. 'it removes data that is not needed to make the file smaller'.

Ignore reference to download/transmission times, bandwidth and streaming, as these are benefits of compression and not part of the definition.

Example answers and how they were marked
Full marks2/2

Lossless compression reduces the size of a file without permanently removing any data, so the original file can be restored exactly.

Why: Reduces the size of a file (1) and no data is lost, so the original can be restored exactly (1); maximum of two marks reached.

Some marks1/2

It makes a file smaller so it downloads more quickly.

Why: Reduces the size of a file (1); the faster download is ignored as a benefit, not part of the definition.

No marks0/2

It removes data that is not needed to make the file smaller.

Why: Describes lossy compression, which the do-not-accept line rules out, so the mention of making the file smaller is not credited.

4Describe2 marksUtility Software Swap Remove

A student has a large number of photographs stored on a computer.

Describe the purpose of data compression software.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • Makes a file/files smaller (1) so less storage space is needed on the disk (1)
  • Reduces the size of the data (1) so it takes less time to upload/download/transfer the file (1)
  • Compresses files/folders into a single file (1) so an attachment is under the size limit for email (1)
  • Reduces the size of the files (1) so more of them fit onto a storage device/backup media (1)

Do not accept 'it compresses the files' on its own, as this repeats the question.

Do not accept responses about protecting files from malware/viruses or about deleting files.

Example answers and how they were marked
Full marks2/2

It makes the files smaller (1) so that they use less storage space on the computer and more of them fit on the disk (1).

Why: The point (1) and a linked development giving the benefit (1).

Some marks1/2

It makes files smaller.

Why: This is the point (1) but there is no development of what the smaller size leads to, so only one mark.

No marks0/2

It protects the files from viruses so that they cannot be damaged.

Why: This describes anti-malware software, which the mark scheme does not accept; no creditworthy point is made.

5Describe2 marksTranslators Swap Remove

A compiler and an interpreter both translate source code.

Describe one difference between what a compiler produces and what an interpreter produces.

[2 marks]
Mark scheme

Award up to two marks for a linked description such as:

  • A compiler produces object code/machine code/an executable (file) (1) whereas an interpreter produces no object code/translated file (1)
  • A compiler produces a machine code file (1) that can be run on its own/without the compiler/translator being present (1)
  • An interpreter produces no object code/file (1) because it translates and executes each line instead of saving translated code (1)
  • The compiler's output can be saved/stored (1) and run again later, while interpreted code has to be translated again each time it is run (1)

Allow binary for machine code.

Allow executable/an executable for object code.

Do not accept responses about translating the whole program, reporting errors or the speed of execution.

Do not accept 'the interpreter translates/executes one line at a time' on its own: this is how it translates, not what it produces. It earns the development only when linked to no object code/translated file being produced.

Do not accept the interpreter producing object code/an executable.

Example answers and how they were marked
Full marks2/2

A compiler produces object code, which is saved as a file, whereas an interpreter does not produce a file because it translates and executes each line.

Why: Compiler produces object code (1) contrasted with the interpreter producing no object code/translated file (1).

Some marks1/2

The compiler produces machine code.

Why: Machine code/object code produced (1); there is no contrast with the interpreter, so the development is not earned.

No marks0/2

The interpreter produces object code for each line it translates.

Why: Reverses the translators' outputs: the interpreter produces no object code, so nothing is creditworthy.

Questions by topic

More ways to revise Edexcel GCSE Computer Science (1CP2)

Teachers: build a paper, print it with the mark schemes at the end, and sign your school up to set your classes activities on every topic.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.