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 markSound Swap Remove

A sound wave is sampled and the amplitude of each sample is stored using 2 bits.

Identify the number of different amplitude values that can be stored for each sample.

[1 mark]
  • A2
  • B4
  • C8
  • D16
Mark scheme
  • B 4 (1)
  • The only correct answer is B. The correct answer is 4 (2 bits give 2^2 = 4 values).
  • A is not correct because 2 is the number of bits used to store each sample
  • C is not correct because 8 different amplitude values would need 3 bits
  • D is not correct because 16 different amplitude values would need 4 bits
Example answers and how they were marked
Full marks1/1

B 4

Why: Selects the only correct option (1).

No marks0/1

C 8

Why: Near miss: 8 values would need 3 bits, one more than this recording uses (0).

No marks0/1

A 2

Why: Typical misconception: 2 is the number of bits, not the number of amplitude values those bits can store (0).

2Describe2 marksMemory Management Swap Remove

A program is stored on secondary storage before it is run.

Describe how the operating system manages memory when a program is started.

[2 marks]
Mark scheme

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

  • The program (and its data) is copied/loaded from secondary storage into main memory/RAM (1) so that the CPU can fetch/execute its instructions (1)
  • An area of main memory is allocated/reserved for the program (1) that is large enough to hold the program and its data (1)
  • The operating system checks that there is enough free main memory (1) before the program can be started/loaded, otherwise it cannot run/an error is reported (1)
  • The operating system keeps a record of the memory addresses used by the program (1) so that its instructions and data can be found when it runs (1)

Allow 'loaded into RAM', 'stored in memory' and 'put into main memory' as equivalent to copied into main memory.

A single statement that the program is loaded/stored in main memory, with no linked development, can be given one mark only.

Do not accept descriptions of the CPU fetching/executing instructions that do not refer to the operating system loading or allocating memory.

Do not accept responses about virtual memory (moving processes to secondary storage) or about which process runs next on the CPU.

Do not accept the program being run from secondary storage/hard disk.

Example answers and how they were marked
Full marks2/2

The operating system copies the program and its data from secondary storage into main memory so that the CPU can fetch and execute its instructions.

Why: Copying the program and data into main memory (1) linked to the CPU fetching/executing instructions (1).

Some marks1/2

The operating system loads the program into main memory.

Why: The program is copied/loaded into main memory (1), but there is no linked development of how or what this leads to, so only one mark is given.

No marks0/2

The CPU fetches the program's instructions from main memory and executes them one at a time.

Why: This describes the fetch-decode-execute cycle, not the operating system loading or allocating memory, which is the Do not accept line; no creditworthy point is made.

3Describe2 marksLow and High Level Languages Swap Remove

A device driver is software that allows the operating system to control a piece of hardware. Device drivers are often written in a low-level programming language.

Describe one reason why a low-level programming language is suitable for writing a device driver.

[2 marks]
Mark scheme

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

  • Instructions can manipulate/control the hardware/memory/registers directly (1) so the driver can control the specific device it is written for (1)
  • The code is written for one specific processor/architecture (1) so it works with the exact hardware it will control (1)
  • The programmer controls exactly how memory/registers are used (1) so the code is efficient and needs little memory, which suits a device that has limited memory (1)
  • Each instruction maps to one machine code instruction (1) so the driver code is small enough to fit in the memory of the device (1)

Extra detail, such as naming the device the driver controls, is not needed to earn the marks.

Do not accept 'it is closer to machine code' on its own: it must be developed to show how this helps the driver, e.g. it can control the hardware directly.

Do not accept 'it is faster/quicker' with no link to the hardware/device, e.g. the device responds quickly.

Do not accept 'it is easier to learn', 'it is easier to debug' or 'it takes less time to write'.

Example answers and how they were marked
Full marks2/2

Low-level instructions can manipulate the hardware and memory directly (1) so the driver can control the specific device it was written for, such as a sound card (1).

Why: Point about direct control of hardware/memory (1) linked to controlling the specific device (1). The named device is extra detail and is not needed.

Some marks1/2

Low-level instructions can manipulate the hardware directly.

Why: Correct point (1) but no linked development saying how this helps the device driver.

No marks0/2

It is closer to machine code so it runs faster than a high-level language.

Why: 'Closer to machine code' is not developed into how this helps the driver, and 'runs faster' is not linked to the hardware/device, so no mark.

4Discuss6 marksUser Management Swap Remove

A school library has 24 computers that are shared by students and teachers throughout the day. Each computer runs an operating system. The school wants users' work to be kept private and the computers to be used only by authorised people.

Discuss how the operating system's user management features can be used to share the computers securely.

Your answer should include:

  • user accounts
  • authentication
  • the benefits for the school.
[6 marks]
Mark scheme

Indicative content

User accounts

  • Each student and teacher should have their own user account, so the operating system can identify the person who is logged on.
  • The operating system keeps a record of all valid users on the computer, so unknown users are not allowed to log in.
  • A separate home area or folder can be created for each account, so a student's saved work is kept apart from other users' work.
  • An account can be disabled when a student leaves the school, so they can no longer access the computers.

Authentication

  • A username and password can be required at login, so only users with the correct details can use the computer.
  • The operating system checks the entered password against the stored password for that account before allowing access.
  • Users should be encouraged to choose a strong password, which makes it harder for someone else to guess and log in.
  • The operating system can lock an account after several failed login attempts, which reduces the chance of someone trying passwords repeatedly.

Benefits for the school

  • Many students can share the same computers because each person's files are kept separate.
  • Work is less likely to be deleted or changed by another student, because users only see their own files.
  • The school can see which account was used on a computer, so misuse can be traced to a user.
  • Teachers can be confident that only authorised people can use the library computers.
  • The school does not need a separate computer for every student, so it saves money.

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 user accounts and authentication, and apply them to the school library.

Do not accept general operating system functions such as file management or process management unless they are explicitly linked to managing users.

Example answers and how they were marked
Full marks6/6

Each student and teacher should have their own user account with a username and password. When someone logs in, the operating system checks the password against the one stored for that account, so only authorised people can use the computer. Each account can have its own home folder, so a student's work is kept private and another student cannot open or delete it. If a student leaves the school, their account can be disabled so they cannot log in again. This lets the school share a smaller number of computers safely, as each user's work stays separate and any misuse can be traced to the logged-in account.

Why: Level 3. It explains user accounts, authentication and benefits, with sustained links to sharing computers in the school library.

Some marks4/6

Every user should have a username and password. The operating system checks the password so that people who are not allowed cannot log in. Each user should also have their own area to save files so they do not delete other people's work.

Why: Level 2. Basic accounts and authentication points are made and linked, but the benefits to the school are only briefly applied and not developed.

No marks0/6

The operating system manages the users by looking after the files in folders and by making sure the printer works for everyone. It also keeps the computer running quickly when lots of students use it.

Why: Level 0. These are general operating system functions such as file management and peripheral management, not user management, so no creditworthy point is made.

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.