Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 693 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 · 3 marks

Pick again
Print
1Multiple choice1 markLow and High Level Languages Swap Remove

A software company writes its application programs in a high-level language.

Identify the main reason a high-level language is used for most application programs.

[1 mark]
  • AIt gives the programmer direct control of the hardware
  • BIt is easier to learn, write and debug
  • CIt produces smaller executable code
  • DIt runs more quickly than a low-level language
Mark scheme
  • B It is easier to learn, write and debug (1)
  • The only correct answer is B. The correct answer is easier to learn, write and debug.
  • A is not correct because direct control of the hardware is a reason for using a low-level language
  • C is not correct because a low-level language produces smaller executable code
  • D is not correct because low-level programs run more quickly than high-level programs
Example answers and how they were marked
Full marks1/1

B It is easier to learn, write and debug

Why: Correct option: high-level languages look like English, so programs are quicker to write and easier to debug (1).

No marks0/1

C It produces smaller executable code

Why: Near miss: smaller executable code is a feature of low-level languages, so no mark is awarded.

No marks0/1

A It gives the programmer direct control of the hardware

Why: Misconception: direct control of hardware is a purpose of low-level languages, not high-level, so no mark.

2Short recall1 markTranslators Swap Remove

A compiler translates a whole program in one go before it is run.

Name the type of code that a compiler produces.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • Object code (1)
  • Machine code (1)
  • Executable code / an executable (1)

Allow object file.

Do not accept source code.

Do not accept high-level code.

Example answers and how they were marked
Full marks1/1

Object code.

Why: Object code is named as the code a compiler produces (1).

No marks0/1

High-level code.

Why: Near-miss: this is the input to the compiler, not the code it produces; not accepted.

No marks0/1

Source code.

Why: Names the programmer's input rather than the compiler's output; not accepted.

3Short recall1 markTranslators Swap Remove

A compiler translates programs written in a high-level language.

State how much of a program a compiler translates before the program is run.

[1 mark]
Mark scheme

Award one mark for:

  • The whole program (before it is run) (1)

Allow all of the code/the entire program/the whole program in one go

Do not accept one line/statement at a time or each line as it is executed

Do not accept translating only the lines that contain errors

Example answers and how they were marked
Full marks1/1

The whole program, before it is run.

Why: Whole program translated before it is run (1).

No marks0/1

It translates the program one line at a time.

Why: Describes an interpreter; the scheme does not accept line-by-line translation.

No marks0/1

It translates only the lines that contain errors.

Why: Not a compiler behaviour; the scheme does not accept translating only error lines.

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.