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

2 questions · 4 marks

Pick again
Print
1Describe2 marksLow and High Level Languages Swap Remove

A programmer has written a program in assembly language.

Describe why it is necessary to translate the program into machine code before it can be run.

[2 marks]
Mark scheme

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

  • The processor/CPU can only execute machine code/binary instructions (1) so the assembly instructions must be converted into machine code before the program can run (1)
  • Each assembly instruction/mnemonic matches/corresponds to one machine code instruction (1) so each line must be replaced with the machine code the processor executes (1)
  • The program is written using mnemonics (1) that must be translated into machine code for the processor to carry out the instructions (1)
  • The hardware/processor does not understand assembly language directly (1) so it must be translated into machine code that the processor can execute (1)

Do not accept 'assembly language is a low-level language'.

Do not accept 'it is hard to understand' or 'it is not English'.

Do not accept benefits, such as 'machine code runs faster' or 'the program will run more quickly'.

Do not accept 'an assembler/a translator converts it' on its own, with no reference to the processor only being able to execute machine code/binary.

Do not accept responses about high-level languages or about compilers/interpreters.

Example answers and how they were marked
Full marks2/2

The processor can only execute machine code, so the assembly instructions must be converted into machine code before the program can run.

Why: States what the processor can execute (1) and links it to converting the program's instructions into machine code (1).

Some marks1/2

Each assembly instruction matches one machine code instruction.

Why: Correct point about the one-to-one match (1) but no development saying that this is because the processor only executes machine code.

No marks0/2

Because an assembler translates assembly language into machine code.

Why: Names the translator but gives no reason tied to the processor only being able to execute machine code, so no mark; this is in the 'Do not accept' guidance.

2Explain2 marksTopologies Swap Remove

A bus topology uses one main cable shared by all devices.

Explain why a bus topology can be a security risk.

[2 marks]
Mark scheme

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

  • All devices receive every data packet (1) because the main cable is shared by all nodes (1)
  • Data can be read by any device on the network (1) because there is no central switch to send it only to the destination (1)
  • A device can intercept/capture data not meant for it (1) because all transmissions travel along the same cable (1)
  • Any device can view all data on the cable (1) so data is not private/secure (1)

For both marks, the expansion must follow/associate with the statement.

Do not accept 'it is easy to hack' without saying data can be seen/intercepted on the shared cable.

Do not accept 'the central switch can be hacked' because a bus topology has no central switch.

Example answers and how they were marked
Full marks2/2

Any device on the bus can see all the data (1) because every packet travels along the same shared cable (1).

Why: Linked point (1) and reason (1): data is visible to all devices because the cable is shared.

Some marks1/2

All devices can see the data.

Why: Awarded 1 mark for stating that all devices can see the data, but no linked reason about the shared cable is given.

No marks0/2

It is less secure because the central switch can be hacked.

Why: No credit: a bus topology has no central switch; the answer gives a misconception and no valid point about the shared cable.

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.