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

4 questions · 12 marks

Pick again
Print
1Short 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.

2Short recall2 marksCompression Swap Remove

Images and sound can be stored using lossy compression.

Define the term lossy compression.

[2 marks]
Mark scheme

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

  • Reduces the size of a file (1)
  • Permanently removes/loses some data (1)
  • The original file cannot be recreated/restored exactly (1)

Allow 'some data is deleted/discarded and cannot be recovered' for the second mark.

Do not award the first mark where the response also states that no data is lost.

Do not accept 'removes repeated data' (this describes lossless compression).

Example answers and how they were marked
Full marks2/2

Lossy compression reduces the size of a file by permanently removing some data, so the original cannot be restored exactly.

Why: Reduces the size of a file (1); permanently removes some data (1); maximum two marks awarded.

Some marks1/2

It makes a file smaller.

Why: Reduces the size of a file (1); no reference to data being permanently lost.

No marks0/2

It makes a file smaller without losing any of the data.

Why: States that no data is lost, which describes lossless compression; the first mark is not awarded.

3Describe2 marksFile Management Swap Remove

Describe the purpose of file management in an operating system.

[2 marks]
Mark scheme

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

  • Keeps a record/index of where each file is stored on the disk (1) so the file can be found and opened later (1)
  • Allocates space on the disk for each file (1) so files are stored without overwriting each other (1)
  • Provides facilities to name file(s) and organise them into folder(s)/directories (1) so the user can find and manage their files (1)

Do not accept responses about process management, peripheral management or user management.

Do not accept bare statements of storing/saving, e.g. 'it stores files', 'it saves files' or 'it keeps files safe', with no development.

Do not award a mark for responses that repeat the question, e.g. 'it manages files', with no development.

Example answers and how they were marked
Full marks2/2

It keeps a record of where each file is stored on the disk (1) so the file can be found and opened later (1).

Why: Linked point (1) and purpose (1).

Some marks1/2

It organises files into folders.

Why: Creditworthy point (1) but no development of how this helps the user.

No marks0/2

It manages processes and peripherals so the computer runs smoothly.

Why: Describes other operating system functions, not file management; no creditworthy point.

4Discuss6 marksLow and High Level Languages Swap Remove

A software company is writing a new program that will be sold to users who have different types of computer. The program does not need to control the hardware of the computer directly. The company must decide whether to write the program in a high-level language or a low-level language.

Discuss whether the company should use a high-level language or a low-level language to write this program.

Your answer should consider:

  • machine independence
  • processor specificity
  • how the code is translated for each type of computer.
[6 marks]
Mark scheme

Indicative content

Machine independence

  • A high-level language is machine independent, so the same source code can be run on different types of computer with few or no changes.
  • The company can write the program once and sell it to users with different computers, without rewriting the code for each type of computer.
  • Only one version of the program needs to be written and maintained, so development takes the company less time.

Processor specificity

  • A low-level language is processor-specific, so a program written for one processor will not run on a different processor without being rewritten.
  • Assembly language instructions depend on the instruction set of the particular processor, so the company would need a separate version of the program for each type of computer.
  • Writing a separate low-level version for every type of computer would take the company much longer than writing one high-level program.
  • Low-level code gives direct control of the hardware of one processor, so it is better suited to device drivers than to a program that must run on many different computers.

Translation

  • High-level source code is translated for each type of computer by a compiler or an interpreter, so one version of the source code is enough for all the users.
  • Assembly language is translated into machine code by an assembler, and the assembler produces machine code for one specific processor only.
  • Machine code is already in a form that one particular processor can execute directly, but the same machine code will not run on a different processor.
  • Each high-level statement translates into several machine code instructions, so the programmer does not need to know the instruction set of the processor.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Additional guidance

  • Level 3 responses must cover both high-level machine independence and low-level processor specificity, with the effect on the company's decision.
  • Do not award low-level language, assembly language or machine code as portable, or 'high-level languages are written in English/like English' as a reason for machine independence.
Example answers and how they were marked
Full marks6/6

A high-level language is machine independent, so the company can write the program once and it will run on different types of computer with few or no changes. A different compiler is used for each type of processor to translate that same source code into the machine code for that computer, so the company can sell one program to all of its users. A low-level language is processor-specific, so a program written in assembly for one processor will not run on a different one. The assembler produces machine code for one particular instruction set, so the company would need to write a separate version for each type of computer, which would take much longer. As the program does not need to control the hardware directly, the company should use a high-level language.

Why: Develops high-level machine independence with the compiler translating for each processor, and low-level processor specificity with the assembler producing machine code for one instruction set, both applied to the company's decision, in a coherent and sustained argument: Level 3, 6 marks.

Some marks3/6

A high-level language is machine independent, so the company can write the program once. A different compiler is used for each type of computer to translate the code, so users with different computers can all run the same program. A low-level language is processor-specific, so it would not be as suitable for the company.

Why: Machine independence is linked to the compiler and applied to the users, but processor specificity is only asserted and no translation of low-level code is given, so the reasoning is not sustained: Level 2, 3 marks.

Some marks1/6

High-level languages are machine independent because they are written in English, so the company can sell the program to anyone. Low-level languages are machine code, so they can be translated to run on any type of computer.

Why: One basic point that high-level languages are machine independent, applied by selling to anyone (1). 'Written in English' is not a reason for machine independence and low-level code is not portable, so neither is credited: Level 1, 1 mark.

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.