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
1Multiple 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.

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

3Explain2 marksTopologies Swap Remove

A small office uses a star topology with a central switch.

Explain one benefit of using a star topology in the office.

[2 marks]
Mark scheme

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

  • If one cable/device fails, the other devices on the network are not affected (1) because each device has its own separate connection to the central switch (1)
  • Faults are easier to find (1) because each device has its own cable, so the faulty cable can be checked on its own (1)
  • Data is sent only to the intended device (1) because the central switch forwards the data only to the device it is addressed to (1)
  • Data transfer is fast (1) because each device has its own cable, so devices do not share the cable with each other (1)
  • New devices can be added easily (1) because a device only needs one cable to a spare port on the central switch (1)

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

A benefit stated on its own can earn one mark; the second mark is only for a linked reason.

Accept 'switch' for the central device.

Do not accept 'server' or 'hub' for the central device.

Do not accept 'hub', as a hub sends data to all devices, not only to the intended device.

Do not award a mark for responses that say only that the network is better/more reliable/easier without naming a benefit.

Example answers and how they were marked
Full marks2/2

If one of the cables breaks, the other devices can still communicate because each device has its own separate cable connected to the central switch.

Why: Linked benefit (1) and reason (1): a single cable failure does not affect the other devices because each device has a separate connection to the switch.

Some marks1/2

If one cable breaks, the other devices are not affected.

Why: A benefit is stated on its own (1), but there is no linked reason about each device having its own connection to the central switch, so the second mark is not awarded.

No marks0/2

It is better than a bus topology because every device connects to the central server.

Why: No credit: 'better' does not name a benefit, so no first mark, and 'server' is not accepted as the central device, so there is no linked reason either.

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.