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

Pick again
Print
1Describe2 marksUtility Software Swap Remove

A hard disk can become fragmented as files are saved and deleted.

Describe how disk defragmentation software improves the performance of a hard disk.

[2 marks]
Mark scheme

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

  • Parts of a file are moved so they are stored together/in consecutive locations (1) so the read/write head has less distance to travel to read the file (1)
  • Files are rearranged so that each file is stored in one block (1) which reduces the time taken to open/load the file (1)
  • Free space on the disk is collected into one area (1) so new files can be saved without becoming fragmented (1)
  • The parts of each fragmented file are put in order (1) so fewer movements of the read/write head are needed to read it (1)

Do not accept responses about compressing files, deleting files or increasing the amount of storage, as these are not what defragmentation software does.

Do not accept 'it makes the disk faster' without saying how the files are changed.

Example answers and how they were marked
Full marks2/2

It moves the parts of a file so they are stored together in consecutive locations (1), so the read/write head does not have to move as far and the file opens more quickly (1).

Why: Linked point (1) and development (1): the file parts are stored together, which reduces read/write head movement.

Some marks1/2

It reorganises the files on the hard disk so that they are stored together.

Why: The point is made (1) but there is no development saying how this improves performance, so the second mark is not awarded.

No marks0/2

It compresses the files so that they take up less space on the disk.

Why: This describes data compression software, which the mark scheme says is not accepted; no creditworthy point is made.

2Explain2 marksProtocols & Layers Swap Remove

The TCP/IP model has four layers.

Explain one function of the transport layer when a file is sent over a network.

[2 marks]
Mark scheme

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

  • Splits the data/file into packets (1) so each packet can be sent separately across the network (1)
  • Adds a packet/sequence number to each packet (1) so the packets can be put back into the correct order at the destination (1)
  • Detects lost/missing packets (1) so they can be requested/resent (1)
  • Creates a connection between the two computers/hosts (1) before the file is sent (1)

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

Allow 'segments' for 'packets' (TCP divides the data into segments, which become packets at the internet layer).

Do not accept 'sends the data/file' on its own without saying what the transport layer does to the data.

Do not accept naming TCP or a port number on its own without expansion.

Do not accept routing/addressing packets using IP addresses, which is the internet layer.

Example answers and how they were marked
Full marks2/2

The transport layer splits the data into packets (1) so each packet can be sent separately across the network (1).

Why: Linked point (1) and reason (1): splitting into packets lets each one be sent separately.

Some marks1/2

It splits the data into packets (1).

Why: Point (1) identified, but no linked reason given, so only the first mark is awarded.

No marks0/2

It routes the packets using IP addresses (0) so they reach the right destination.

Why: Routing using IP addresses is the internet layer, not the transport layer, so no credit is given.

3Discuss6 marksUser Management Swap Remove

A small design company has 18 employees who use a network with a shared file server. Some employees are company directors and need to manage the system. Designers need to work on shared project folders, but salary files must be kept private.

Discuss how the operating system's user management can give employees the access they need while protecting the company's files.

Your answer should include:

  • administrator accounts
  • standard user accounts
  • file permissions.
[6 marks]
Mark scheme

Indicative content

Administrator accounts

  • An administrator account can create new user accounts for new employees and delete accounts when employees leave.
  • The administrator can reset a forgotten password, so an employee can get back to work without sharing another person's account.
  • The administrator can set the access rights for each user or group, so designers get access to project folders and only directors can open salary files.
  • Administrator privileges should be given to only a few trusted employees, as administrators can change any settings on the system.

Standard user accounts

  • Designers should use standard user accounts, so they cannot install unauthorised software or change system settings.
  • A standard user can be given permission to read and write files in the project folder that their team uses.
  • Standard users should not be able to change other users' permissions, so the access rules cannot be removed by accident.
  • If a standard user tries to open a file without permission, the operating system denies access.

File permissions

  • Each file or folder can have permissions that allow a user to read, write or delete it.
  • Project folders can be set so all designers can read and write the files inside them.
  • Salary files can be set so only directors can read them, and other users are denied access.
  • Permissions can be set for a group of users, such as all designers, which is quicker than setting them for each person.
  • A file can be made read-only for standard users, so they can view it but cannot change it.

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 administrator accounts, standard user accounts and file permissions, and apply them to the design company.

Do not accept general operating system functions such as managing the processor or memory unless they are explicitly linked to controlling what a user can access.

Example answers and how they were marked
Full marks6/6

The directors should have administrator accounts so they can create accounts for new designers, delete accounts when staff leave, and set permissions on the file server. Ordinary designers should have standard user accounts so they cannot install software or change permissions. The administrator can give the designers read and write permission on the shared project folders, but only the directors can read the salary files. This means the designers can work together on projects, while confidential salary information stays private. If a designer leaves, the administrator can disable their account so they can no longer open company files.

Why: Level 3. It covers administrator accounts, standard accounts and file permissions, with coherent application to project folders and salary files.

Some marks4/6

The administrator can add and delete users and set their permissions. Normal users can only access the files they are allowed to. The salary files can be made private so only the administrator can see them.

Why: Level 2. Administrator accounts and file permissions are described with some application, but standard user accounts are not developed and the explanation lacks sustained reasoning.

No marks0/6

The administrator is the person who uses the computer most often, so the operating system gives them more memory and a faster processor. This means they can manage the users.

Why: Level 0. It confuses administrator privileges with extra memory and processor speed, which is process management, not user management.

4Discuss6 marksLow and High Level Languages Swap Remove

A software company is writing a new program that will be sold to users who have different types of computer. The program does not need to control the hardware of the computer directly. The company must decide whether to write the program in a high-level language or a low-level language.

Discuss whether the company should use a high-level language or a low-level language to write this program.

Your answer should consider:

  • machine independence
  • processor specificity
  • how the code is translated for each type of computer.
[6 marks]
Mark scheme

Indicative content

Machine independence

  • A high-level language is machine independent, so the same source code can be run on different types of computer with few or no changes.
  • The company can write the program once and sell it to users with different computers, without rewriting the code for each type of computer.
  • Only one version of the program needs to be written and maintained, so development takes the company less time.

Processor specificity

  • A low-level language is processor-specific, so a program written for one processor will not run on a different processor without being rewritten.
  • Assembly language instructions depend on the instruction set of the particular processor, so the company would need a separate version of the program for each type of computer.
  • Writing a separate low-level version for every type of computer would take the company much longer than writing one high-level program.
  • Low-level code gives direct control of the hardware of one processor, so it is better suited to device drivers than to a program that must run on many different computers.

Translation

  • High-level source code is translated for each type of computer by a compiler or an interpreter, so one version of the source code is enough for all the users.
  • Assembly language is translated into machine code by an assembler, and the assembler produces machine code for one specific processor only.
  • Machine code is already in a form that one particular processor can execute directly, but the same machine code will not run on a different processor.
  • Each high-level statement translates into several machine code instructions, so the programmer does not need to know the instruction set of the processor.

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)

Additional guidance

  • Level 3 responses must cover both high-level machine independence and low-level processor specificity, with the effect on the company's decision.
  • Do not award low-level language, assembly language or machine code as portable, or 'high-level languages are written in English/like English' as a reason for machine independence.
Example answers and how they were marked
Full marks6/6

A high-level language is machine independent, so the company can write the program once and it will run on different types of computer with few or no changes. A different compiler is used for each type of processor to translate that same source code into the machine code for that computer, so the company can sell one program to all of its users. A low-level language is processor-specific, so a program written in assembly for one processor will not run on a different one. The assembler produces machine code for one particular instruction set, so the company would need to write a separate version for each type of computer, which would take much longer. As the program does not need to control the hardware directly, the company should use a high-level language.

Why: Develops high-level machine independence with the compiler translating for each processor, and low-level processor specificity with the assembler producing machine code for one instruction set, both applied to the company's decision, in a coherent and sustained argument: Level 3, 6 marks.

Some marks3/6

A high-level language is machine independent, so the company can write the program once. A different compiler is used for each type of computer to translate the code, so users with different computers can all run the same program. A low-level language is processor-specific, so it would not be as suitable for the company.

Why: Machine independence is linked to the compiler and applied to the users, but processor specificity is only asserted and no translation of low-level code is given, so the reasoning is not sustained: Level 2, 3 marks.

Some marks1/6

High-level languages are machine independent because they are written in English, so the company can sell the program to anyone. Low-level languages are machine code, so they can be translated to run on any type of computer.

Why: One basic point that high-level languages are machine independent, applied by selling to anyone (1). 'Written in English' is not a reason for machine independence and low-level code is not portable, so neither is credited: Level 1, 1 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.