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 · 6 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.

2Multiple choice1 markCharacter Sets Swap Remove

ASCII is a character set used for representing text.

Identify the number of bits used to encode each character in ASCII.

[1 mark]
  • A6
  • B7
  • C8
  • D16
Mark scheme
  • B 7 (1)
  • The only correct answer is B. The correct answer is 7 bits.
  • A is not correct because 6 bits give only 64 different characters
  • C is not correct because 8 bits are used by extended ASCII to give 256 characters
  • D is not correct because 16 bits give 65 536 different characters, which is far more than the 128 in ASCII
Example answers and how they were marked
Full marks1/1

B 7

Why: B is the only correct answer: each ASCII character is encoded using 7 bits (1).

No marks0/1

C 8

Why: Near miss scoring 0: 8 bits is extended ASCII, and the scheme's C line says extended ASCII, not ASCII, is not the answer.

No marks0/1

A 6

Why: Misconception scoring 0: 6 bits give only 64 different characters, so it cannot be ASCII.

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.

4Describe2 marksTranslators Swap Remove

A high-level program must be translated into machine code before it can be run.

Describe how a compiler and an interpreter differ in when the translated code is executed.

[2 marks]
Mark scheme

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

  • The interpreter executes each line as soon as it has been translated (1) so translation and execution happen together/at the same time (1)
  • The compiler translates the whole program first (1) and the machine code is run later/separately (1)
  • The interpreter translates the code and runs it while the program is running (1) whereas the compiler does not run the code it produces (1)
  • The compiler produces translated code that is executed only after all the translation has finished (1) but the interpreter executes each line immediately (1)

Allow 'translates one line at a time' where it is linked to executing each line immediately.

Do not accept answers that only state that a compiler is faster/an interpreter is slower, without reference to when execution happens.

Do not accept answers that only give object code, error reporting or portability, without reference to when execution happens.

Do not accept the compiler executing the program as it translates it.

Example answers and how they were marked
Full marks2/2

The compiler translates the code first and the program is executed afterwards, but the interpreter executes each line as soon as it has been translated.

Why: Compiler translates the whole program first and it is executed afterwards (1) and interpreter executes each line as soon as it is translated (1).

Some marks1/2

The interpreter executes each line immediately after translating it.

Why: Correct interpreter timing (1); no comparison with when the compiler's translated code is executed.

No marks0/2

The compiler executes the program line by line as it translates it.

Why: Reverses the two translators; a compiler does not execute the program it translates, so no 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.