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

3 questions · 5 marks

Pick again
Print
1Short recall2 marksPrimary Memory Swap Remove

An application's instructions and data are copied from secondary storage into RAM before it runs.

Give two reasons why the instructions and data are copied into RAM rather than being read directly from secondary storage.

[2 marks]
Mark scheme

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

  • RAM can be accessed/read (much) faster than secondary storage / secondary storage is (much) slower than RAM (1)
  • The CPU would have to wait/idle if instructions and data were read directly from secondary storage (1)
  • The CPU can access RAM directly / RAM is directly accessible to the CPU (1)

Allow hard disk / hard drive / SSD for secondary storage.

Do not accept RAM is volatile / so that instructions and data are not lost when the power is switched off.

Do not accept the computer runs faster / has more storage (without reference to the CPU accessing instructions and data).

Example answers and how they were marked
Full marks2/2

RAM can be accessed much faster than secondary storage, so the CPU would have to wait for its instructions if they were read from the hard disk.

Why: Creditworthy point that RAM is accessed/read faster than secondary storage (1) and the linked point that the CPU would wait/idle without this (1).

Some marks1/2

RAM can be read faster than the hard disk.

Why: Gives one creditworthy reason, that RAM is accessed/read faster than secondary storage (1), but does not say why this matters to the CPU, so the second mark is not earned.

No marks0/2

So that the data is not lost when the computer is switched off.

Why: RAM is volatile, so keeping data when the power is off is not a reason for using RAM; this is the misconception in the Do not accept line and scores nothing.

2Short recall1 markUnits & Conversion Swap Remove

A file has a size of 2 kibibytes.

State the number of bytes in the file.

[1 mark]
Mark scheme

Award one mark for:

  • 2048 (1)
  • 2 × 1024 (1)
  • 2^11 (1)

Allow 2048 bytes.

Do not accept 2000, which is the number of bytes in two decimal kilobytes.

Do not accept 1024, which is the number of bytes in one kibibyte.

Do not accept 16, which is the number of bits in two bytes.

Example answers and how they were marked
Full marks1/1

2048

Why: 2048 is 2 × 1024, the number of bytes in 2 kibibytes (1).

No marks0/1

2000

Why: 2000 uses the decimal kilobyte, not the binary kibibyte; the mark scheme does not accept it.

No marks0/1

16

Why: 16 is the number of bits in two bytes, confusing bits with bytes; the mark scheme does not accept it.

3Describe2 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.