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

Pick again
Print
1Short recall1 markCharacter Sets Swap Remove

A computer can store a maximum of 80 bits for a text message. Each character is stored using 7-bit ASCII.

State the maximum number of whole characters that can be stored in the message.

[1 mark]
Mark scheme

Award one mark for:

  • 11 (characters) (1)

Allow 11 remainder 3.

Allow 80 ÷ 7 = 11.428... rounded down to 11.

Do not accept 11.4 or 12 (rounding up or giving a decimal answer).

Do not award an unevaluated calculation such as 80 ÷ 7 with no answer.

Example answers and how they were marked
Full marks1/1

11

Why: Correct: 80 ÷ 7 = 11 remainder 3, so 11 whole characters can be stored (1).

No marks0/1

11.4

Why: Near miss: gives a decimal result rather than the number of whole characters; the mark scheme does not accept 11.4.

No marks0/1

12

Why: Rounds up to 12, but 12 characters would need 84 bits, more than the 80 available; the mark scheme does not accept 12.

2Describe2 marksUser Management Swap Remove

A family shares one computer that has a single hard drive.

Describe how the operating system uses user management to limit the amount of storage space each user is allowed.

[2 marks]
Mark scheme

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

  • A storage limit/quota is set for each user account (1) so the drive is shared fairly between users (1)
  • The operating system records how much space each user's files are using (1) and refuses to save more files when the limit is reached (1)
  • Each user is given a fixed share/quota of the drive (1) so one user cannot use the space set aside for another (1)

Allow a limit set by an administrator or through the operating system's user management settings; an administrator is not required for credit.

Allow a warning that stops the save; do not award the development for a warning alone where the save is not stopped.

Do not accept responses about passwords/authentication, keeping files separate/folders with no storage limit, deleting old files, compressing files, or buying a larger drive.

Do not accept 'the operating system gives the user a bigger hard drive'.

Do not accept a single global limit for all users; the limit must apply to each user/user account.

Example answers and how they were marked
Full marks2/2

The operating system sets a maximum amount of storage for each user account. When a user reaches this limit, the operating system will not let them save any more files.

Why: Storage limit/quota set for each account (1); saving refused at the limit (1).

Some marks1/2

The operating system sets a maximum amount of storage for each user account.

Why: First point of a storage limit set for each user (1), but no development of what happens when it is reached (0).

No marks0/2

The operating system compresses the user's files so that there is more space on the drive.

Why: Describes compression, which does not limit a user's storage; no creditworthy point.

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

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.