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

Pick again
Print
1Short recall2 marksStored Program Computers Swap Remove

Computers use the von Neumann stored program concept.

Define the term stored program concept.

[2 marks]
Mark scheme

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

  • Program instructions are stored in main memory/RAM (1)
  • The data used by the program is stored in main memory/RAM (1)
  • The CPU fetches/reads instructions from main memory to execute them (1)
  • The program can be run without the instructions being input again (1)

Allow 'the program is stored in memory' for one mark.

Do not accept answers about programs being stored on secondary storage, such as a hard disk or USB memory stick.

Do not accept answers that only describe the von Neumann architecture (e.g. having a CPU and memory) without stating that instructions are stored in main memory.

Example answers and how they were marked
Full marks2/2

Both the program instructions and the data the program uses are held in the same main memory, and the CPU fetches these instructions from memory to execute them.

Why: Instructions stored in main memory (1) and the CPU fetches instructions from memory to execute them (1).

Some marks1/2

Program instructions are stored in main memory.

Why: Instructions stored in main memory (1). No second point about data being stored in the same memory or about the CPU fetching instructions.

No marks0/2

The program is saved on the hard disk so that it can be loaded into RAM when the user runs it.

Why: A near-miss about secondary storage, which the mark scheme says not to accept; the stored program concept is about instructions being held in main memory.

2Describe2 marksPeripheral Management Swap Remove

A student uses a graphics tablet connected to a computer to draw in a program.

Describe how the operating system passes input from the graphics tablet to the program.

[2 marks]
Mark scheme

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

  • The operating system receives signals/data from the graphics tablet (1) and converts them into data the program can use/process (1)
  • The operating system receives data from the graphics tablet (1) and passes/forwards it to the program being used/the active program (1)
  • The tablet's device driver receives/interprets the signals/data from the tablet (1) so the operating system can pass the input to the program (1)
  • The operating system identifies the graphics tablet as the source of the input (1) so the data is sent to the correct program (1)

Accept 'signals' for 'data' throughout.

Accept reference to the device driver only where it is linked to receiving/interpreting the input (e.g. the driver receives the tablet's signals (1) so the OS can pass data to the program (1)).

Do not accept 'the operating system uses a driver' on its own, without saying what the driver does with the input.

Do not accept generic statements such as 'the operating system runs the tablet' as a description of how input is managed.

Do not accept responses that say the operating system creates/finishes the drawing, or that the tablet stores the input permanently.

Example answers and how they were marked
Full marks2/2

The operating system receives signals from the graphics tablet and passes the data to the program.

Why: Receives signals/data from the tablet (1) and passes the data to the active program (1).

Some marks1/2

The operating system receives signals from the graphics tablet.

Why: Gives the first half of a linked description (1): it receives signals, but does not say what happens to the input.

No marks0/2

The operating system uses a device driver to control the graphics tablet and stores the input.

Why: Only says the OS uses a driver to control the tablet and that input is stored; it does not describe the driver receiving/interpreting the input or the input being passed to the program, so no linked point is credited. The mark scheme rejects 'uses a driver' on its own.

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.