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

4 questions · 11 marks

Pick again
Print
1Multiple choice1 markCharacter Sets Swap Remove

Characters are encoded using 7-bit ASCII.

Identify the number of different characters that can be represented using 7-bit ASCII.

[1 mark]
  • A64
  • B127
  • C128
  • D256
Mark scheme
  • C 128 (1)
  • The only correct answer is C. The correct answer is 128.
  • A is not correct because 6 bits give only 64 different combinations
  • B is not correct because 127 is the largest 7-bit value, not the number of characters that 7 bits can represent
  • D is not correct because 256 characters need 8 bits, as used by 8-bit extended ASCII
Example answers and how they were marked
Full marks1/1

C 128

Why: Selects the only correct option (1): 7 bits give 2 to the power of 7, which is 128 different characters.

No marks0/1

D 256

Why: Near miss scoring 0: 256 is the number of characters that 8 bits give in extended ASCII, not 7-bit ASCII.

No marks0/1

B 127

Why: Misconception scoring 0, the off-by-one error the examiners' report describes: 127 is the largest 7-bit value, but 7 bits give 128 different characters.

2Describe2 marksTranslators Swap Remove

High-level code can be translated by a compiler or by an interpreter.

Describe how a compiler translates high-level code differently from an interpreter.

[2 marks]
Mark scheme

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

  • The compiler translates the whole program/complete source code in one go (1) whereas the interpreter translates one line/statement at a time (1)
  • The compiler translates all of the source code before any of it is run/executed (1) but the interpreter translates each line/statement as it reads it (1)
  • The interpreter translates one line/statement at a time (1) and the compiler translates the whole program/source code together (1)

Accept the compiler point and the interpreter point in either order.

Do not accept responses about object code/executable files, when the translated code is executed, how errors are reported, or speed/memory use.

Do not accept 'the interpreter executes/runs each line' on its own, without saying that it translates one line/statement at a time.

Example answers and how they were marked
Full marks2/2

A compiler translates the whole program in one go, while an interpreter translates one line at a time.

Why: Whole program translated in one go (1) and interpreter translates one line at a time (1).

Some marks1/2

A compiler translates the whole program in one go.

Why: Whole program translated in one go (1); no linked point about the interpreter translating a line at a time.

No marks0/2

A compiler produces an executable file, but an interpreter does not.

Why: Describes the output, not the amount translated at a time; object code/executable files are not accepted.

3Explain2 marksProtocols & Layers Swap Remove

A bank's website can use HTTP or HTTPS.

Explain one benefit to a customer of the bank's website using HTTPS.

[2 marks]
Mark scheme

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

  • Data is encrypted/scrambled (1) so it cannot be read/understood if it is intercepted (1)
  • The customer's bank/personal details are kept secure/private (1) because the data is encrypted/scrambled during transmission (1)
  • The customer's login details/password cannot be read by an eavesdropper (1) because HTTPS encrypts/scrambles the data sent to and from the web server (1)

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

Allow 'scrambled' as an alternative to 'encrypted'.

Do not accept 'it is more secure/safe' or 'the data is secure' on its own, without saying how it is made secure (e.g. encryption/scrambling).

Do not accept faster loading/speed, or claims that HTTPS stops viruses or always proves the website is genuine.

Example answers and how they were marked
Full marks2/2

The data is encrypted (1) so anyone intercepting it cannot read the customer's bank details (1).

Why: Linked point (1) and reason (1): encryption means intercepted data cannot be read.

Some marks1/2

The data is encrypted (1) so the website is secure.

Why: Point (1) for encryption, but 'secure' on its own is a near-miss that the mark scheme does not credit as the linked reason; it must say why, e.g. that intercepted data cannot be read.

No marks0/2

HTTPS is faster than HTTP (0) so the customer can log in more quickly.

Why: Speed is not a benefit of HTTPS and is named in a 'Do not accept' line, so no creditworthy point is given.

4Discuss6 marksFile Management Swap Remove

A small business has one computer with a single hard disk. Two employees save documents and photographs to it every day. The operating system manages the disk.

Discuss why the operating system needs to manage where files are stored on the disk.

Your answer should include:

  • how the operating system allocates disk space when a file is saved
  • how the operating system keeps track of each file
  • what could happen if the operating system did not manage files
[6 marks]
Mark scheme

Indicative content

Allocating space

  • The operating system checks that there is enough free space before a file is saved, so a large photograph does not make the save fail.
  • The operating system finds free space on the disk and allocates it to the new file, so the file's data has somewhere to be written.
  • Disk space is allocated so that a file is not written on top of data that already belongs to another file.
  • When a file is deleted, the operating system marks its space as free so it can be used again by the next document that is saved.

Keeping track

  • The operating system keeps a record of the name, size and location of every file, so it knows where each file is stored.
  • The record is updated whenever a file is saved, renamed or deleted, so it still matches what is on the disk.
  • The operating system uses this record to find a file again, so an employee can open a document or photograph that was saved earlier.
  • The record lets the operating system tell the two employees' documents and photographs apart, even though they are all on the same disk.

Without this management

  • Two files could be given the same space, so one document would overwrite another and the work would be lost.
  • The operating system would not know where a file is stored, so a saved document could not be found and opened again.
  • Space used by deleted files might never be freed, so the disk would fill up and new files could not be saved.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both the allocation of space and the tracking of files, with at least one consequence of no management linked to its cause. Reference to a file being split across blocks that are not next to each other, or to the record holding the location of each block, is Level 3 detail and is not required.

Basic, unlinked points with no application to the business's documents or photographs, and a consequence such as 'files would be lost' with no cause given, are limited to Level 1; to reach Level 2 a point must be linked to a reason (for example, the record is kept so a document can be found again) and be applied to the context. Do not accept defragmentation, process scheduling, user management, peripheral management, or backup and antivirus scanning, as file management.

Example answers and how they were marked
Full marks6/6

Before a document is saved, the operating system checks that there is enough free space on the single disk, so a large photograph cannot make the save fail. It then finds free space and allocates it to the new file, making sure it does not write over data that already belongs to another file. The operating system keeps a record of the name, size and location of every file and updates it whenever a file is saved or deleted. It uses this record to find a file again, so an employee can open a document that was saved earlier. Without this, the two employees could be given the same space, so one document would overwrite the other, or the operating system would not know where a file is stored and the business could not find its work again.

Why: Covers both allocation (free space check, free space given to the file, no overwriting) and tracking (record of name, size and location, updated on save, used to find the file), applies it to the business's single disk and its two employees' documents and photographs, and links the consequences of no management to their causes: Level 3.

Some marks2/6

The operating system decides where on the disk a file is saved. It also keeps a record of where each file is stored. Without this, files would be lost.

Why: Two basic points are made: space is allocated when a file is saved, and a record of where each file is stored is kept. Neither is linked to a reason, there is no application to the business's documents and photographs, and 'files would be lost' is given with no cause: Level 1, top of the level.

Some marks1/6

The operating system puts files in the right place so the disk does not get full. It also defragments the disk to make the files smaller.

Why: One basic point about the operating system placing files on the disk so it does not fill up (Level 1). Defragmentation is not file management and does not make files smaller, so it is not credited: Level 1.

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.