Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 514 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

10 questions · 27 marks

Pick again
Print
1Multiple choice1 markSecondary Memory Swap Remove

A company stores films on optical media.

Identify the optical storage medium that can store the most data.

[1 mark]
  • ABlu-ray Disc
  • BCD
  • CDVD
  • DMagnetic tape
Mark scheme
  • A Blu-ray Disc (1)
  • The only correct answer is A. The correct answer is Blu-ray Disc.
  • B is not correct because a CD stores less data than a Blu-ray Disc, up to about 700 MB
  • C is not correct because a DVD stores less data than a Blu-ray Disc, up to about 4.7 GB (single-layer) or 8.4 GB (dual-layer)
  • D is not correct because magnetic tape is not an optical storage medium
Example answers and how they were marked
Full marks1/1

A Blu-ray Disc

Why: Correct option (1): a Blu-ray Disc has the greatest capacity of the optical media.

No marks0/1

C DVD

Why: Near miss scoring 0: a DVD is optical but stores less than a Blu-ray Disc (mark scheme line C). Only A is credited.

No marks0/1

D Magnetic tape

Why: Misconception scoring 0: candidates pick tape for its large capacity but magnetic tape is not an optical storage medium (mark scheme line D).

2Short recall2 marksStored Program Computers Swap Remove

Computers use the von Neumann stored program concept.

Define the term stored program concept.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Program instructions are stored in main memory/RAM (1)
  • The data used by the program is stored in main memory/RAM (1)
  • The CPU fetches/reads instructions from main memory to execute them (1)
  • The program can be run without the instructions being input again (1)

Allow 'the program is stored in memory' for one mark.

Do not accept answers about programs being stored on secondary storage, such as a hard disk or USB memory stick.

Do not accept answers that only describe the von Neumann architecture (e.g. having a CPU and memory) without stating that instructions are stored in main memory.

Example answers and how they were marked
Full marks2/2

Both the program instructions and the data the program uses are held in the same main memory, and the CPU fetches these instructions from memory to execute them.

Why: Instructions stored in main memory (1) and the CPU fetches instructions from memory to execute them (1).

Some marks1/2

Program instructions are stored in main memory.

Why: Instructions stored in main memory (1). No second point about data being stored in the same memory or about the CPU fetching instructions.

No marks0/2

The program is saved on the hard disk so that it can be loaded into RAM when the user runs it.

Why: A near-miss about secondary storage, which the mark scheme says not to accept; the stored program concept is about instructions being held in main memory.

3Describe2 marksPurpose & Function of Operating Systems Swap Remove

A computer with a single processor can run more than one program at the same time.

Describe how the operating system manages processes.

[2 marks]
Mark scheme

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

  • Gives each process a share/a small amount (time slice) of the CPU time (1) so that several processes can run and appear to run at the same time (1)
  • Decides which process will use the CPU next, e.g. by priority (1) so that the most important process is run first (1)
  • Keeps track of the state of each process (ready/running/blocked) (1) so that each process is moved to the state it needs to be in (1)
  • Moves a process that is waiting for input/a resource (e.g. a printer) to blocked (1) so that another process can use the CPU (1)

Do not award a mark for stating only that the operating system runs/controls the programs.

Do not award a mark for describing multitasking in general, e.g. 'the operating system runs more than one program at once', without saying how the operating system manages the processes.

Do not accept responses about memory management (e.g. loading a program into RAM), the user interface or user management.

Accept 'processor' for CPU.

Example answers and how they were marked
Full marks2/2

The operating system gives each process a small amount of time to use the CPU (1) so that lots of processes can run and it looks like they are running at the same time (1)

Why: Linked point (1) - a small amount/time slice of CPU time for each process - and development (1) - so several processes can run at once.

Some marks1/2

The operating system decides which process will use the CPU next.

Why: Gives the point that the operating system chooses the next process (1) but no linked development about priority or the effect of this.

No marks0/2

The operating system runs the program on the CPU.

Why: Only states that the operating system runs programs, which the mark scheme says is not awarded, so nothing is credited.

4Explain2 marksSound Swap Remove

Each sample of a sound wave is stored in binary using a fixed number of bits.

Explain one limitation of representing an analogue sound wave in binary when only a small number of bits is available for each sample.

[2 marks]
Mark scheme

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

  • Only a limited number of different amplitude values can be stored (1) so each sample is rounded to the nearest available value and the digital wave does not match the analogue wave exactly (1)
  • The wave is continuous but only a limited set of values can be represented (1) so amplitude detail/accuracy is lost (1)
  • Quiet and loud parts of the sound may be stored as the same value (1) because there are too few values to tell them apart (1)
  • The range of amplitudes that can be represented is limited (1) so the loudest/quietest parts of the sound cannot be stored accurately (1)

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

Do not award marks for answers that say the sound cannot be stored or heard at all.

Do not award answers about the number of samples taken/sample rate, as the number of bits limits the amplitude values, not how often the wave is sampled.

Do not accept 'lower quality'/'less accurate'/'less detail' on its own without a link to the amplitude values that can be stored/the number of bit combinations.

Do not accept 'the file size is smaller' without a link to the accuracy or the range of values that can be stored.

Example answers and how they were marked
Full marks2/2

Only a small number of amplitude values can be stored, so each sample is rounded to the nearest value and does not match the original wave exactly.

Why: Point (limited number of amplitude values) (1) with linked reason (samples are rounded and the wave is not exact) (1).

Some marks1/2

Only a small number of amplitude values can be stored.

Why: Creditworthy point (1) but no linked limitation such as rounding or lost accuracy, so only one mark.

No marks0/2

The sound cannot be stored at all because there are not enough bits to hold every sample.

Why: Misconception: the sound can still be stored, just less accurately, so no mark is awarded.

5Explain2 marksCompression Swap Remove

A solicitor sends large documents to clients by email.

Explain one reason why the solicitor compresses the documents before sending them.

[2 marks]
Mark scheme

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

  • The file size is reduced (1) so the documents take less time to transmit/send (1)
  • The compressed files are smaller (1) so they are more likely to be within the email attachment size limit (1)
  • Less data is sent (1) so less bandwidth/data allowance is used (1)
  • Fewer packets are needed (1) so the documents are received more quickly (1)

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

Do not accept 'it saves storage space' on its own without linking to sending the documents.

Do not accept 'it makes the file smaller' as both the point and the reason.

Example answers and how they were marked
Full marks2/2

The documents take up less space so they are quicker to send by email.

Why: File size reduced (1) and linked reason that transmission is quicker (1).

Some marks1/2

It makes the documents smaller.

Why: File size reduced (1) but no linked reason about sending or transmission.

No marks0/2

It reduces the amount of storage space the documents use on the client's computer.

Why: Storage space alone is not a reason for compressing before sending, so no linked explanation point is credited.

6Explain2 marksFile Management Swap Remove

An operating system stores a name for each file and displays the names in a file manager.

Explain one benefit to a user of giving a file a name that describes its contents.

[2 marks]
Mark scheme

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

  • The user can identify what is in a file without opening it (1) because the name describes the contents (1)
  • The user can search for a file using words from its name (1) because the file manager/search matches those words to the stored file name (1)
  • The user can choose the correct file from several similar files (1) because the descriptive name distinguishes it from the other files (1)
  • The user can sort/group related files together (1) because files with similar contents can share a word/phrase in their names (1)

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

A correct point on its own can award 1 mark.

Do not accept 'it is easier to find' on its own without a linked reason that says the search/file manager uses words/terms in the file name to match the search.

Do not accept 'it is organised better' unless it is linked to how the name helps, e.g. sorting/grouping files by a shared word in their names.

Do not accept 'it is more secure' or 'the file opens faster' or 'it saves storage space' because a descriptive name does not make a file more secure, open faster or take less storage.

Do not award a second mark for repeating the same benefit, e.g. saying time is saved after saying the contents can be identified without opening the file.

Example answers and how they were marked
Full marks2/2

The user can tell what a file contains without opening it (1) because the name describes the contents (1).

Why: Linked point (1) and reason (1).

Some marks1/2

The user can search for a file using words from its name (1).

Why: Search point (1); no linked reason about the file manager/search matching those words to the stored file name.

No marks0/2

The file will open faster (0) because the name tells the computer what type of file it is.

Why: Misconception: a descriptive name does not make a file open faster, and no creditworthy point or reason is given.

7Explain2 marksLANs & WANs Swap Remove

A company has a LAN in its head office. It also has a WAN that links the head office to its other offices.

Explain one reason why the WAN costs more to run than the LAN in the head office.

[2 marks]
Mark scheme

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

  • The WAN uses leased lines rented from telecommunications companies (1) so the company pays ongoing rental charges for the connections between its offices (1)
  • The WAN covers a large geographical area (1) so more cabling/equipment must be paid for to connect the sites (1)
  • The WAN connects networks in different locations (1) so more hardware, such as routers, is needed at each site, which adds to purchase and maintenance costs (1)
  • The WAN connects more devices/networks (1) so more money is spent on hardware and management (1)

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

The answer must relate to cost, e.g. paying rental/charges, buying more equipment or paying for maintenance.

Do not accept 'it is bigger' without saying that it covers a larger distance or that more equipment must be paid for.

Do not accept 'it is slower' as a reason for higher cost.

Do not accept 'the WAN is more complex' without expansion as to why this costs more.

Do not accept 'it uses satellites/wireless' unless linked to paying for long-distance infrastructure.

Example answers and how they were marked
Full marks2/2

The WAN uses leased lines rented from a telecommunications company, so the company pays ongoing rental charges for the connections between its offices.

Why: Linked point (1) and reason (1): leased lines are rented, so ongoing rental charges are paid.

Some marks1/2

It covers a larger geographical area, so more equipment is needed.

Why: Earns the first mark for the area point; the reason does not say that the equipment must be paid for, so the cost link is missing.

No marks0/2

It costs more because a WAN is wireless and uses satellites.

Why: No credit: wireless/satellites is not a valid reason and the mark scheme rejects it.

8Convert2 marksDenary to Negative Binary Conversion Swap Remove

Computer systems manipulate bit patterns.

Convert the 8-bit binary two's complement pattern 1000 0111 to denary.

[2 marks]
Mark scheme

Award one mark for each of:

  • − (negative sign) (1)
  • 121 (1)

The correct answer is −121

Example answers and how they were marked
Full marks2/2

−121

Why: The left-hand bit is worth −128: −128 + 7 = -121. Sign (1) and value (1).

Some marks1/2

121

Why: The value is right (1) but the minus sign is missing.

No marks0/2

135

Why: Reads it as an unsigned number, so neither the sign nor the value is right.

9Discuss6 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.

10Discuss6 marksTranslators Swap Remove

A company writes a photo editing program in a high-level language. The company will sell the finished program to customers. Each customer will install the program on their own computer and run it many times.

Discuss whether the company should use a compiler or an interpreter to translate the program before it is sold.

Your answer should include:

  • the output of each type of translator
  • whether the program has to be translated each time it is run
  • what the customer needs on their computer to run the program.
[6 marks]
Mark scheme

Indicative content

The output of each type of translator

  • A compiler translates the whole program in one go and produces object code.
  • The object code is saved as an executable file, which is already in machine code so the processor can run it directly.
  • An interpreter does not produce object code, so no translated file exists for the company to save and sell.
  • An interpreter translates one line at a time and executes it immediately, but that translation is not kept.

Whether the program has to be translated each time it is run

  • Compiled code is translated once, so the executable can be run as many times as the customer likes without being translated again.
  • If the source code is edited, the whole program has to be compiled again to produce a new executable.
  • An interpreted program is translated again every time it is run, so a customer who runs the program often waits for translation at every run.
  • An executable runs faster than interpreted code because it is already in machine code.

What the customer needs on their computer to run the program

  • A customer who installs the executable needs no compiler on their computer, so the program will run straight away.
  • If the company supplied the source code instead, the customer would need an interpreter installed, and it would have to be an interpreter for their type of computer.
  • A customer given only the executable does not have the source code, so cannot change the program.

Conclusion

  • A compiler is the better choice for this company, because the executable can be sold and the customer runs it without it being translated again and without being given the source code.
  • Using an interpreter would mean supplying the source code to customers and translating the program on every run.

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 all three bullets for this company's program, including translating once rather than on every run, and reach a conclusion.

Do not accept 'a compiler fixes errors' (a compiler reports syntax errors at the end of translation, it does not fix them) or 'a compiler is easier to use' with no link to output, translation or the customer. Do not accept answers about translating to assembly language.

Example answers and how they were marked
Full marks6/6

The company should use a compiler. A compiler translates the whole program in one go and produces object code, which is saved as an executable file. This executable is already in machine code, so the customer's processor can run it directly. The program is translated only once, so a customer who runs the program many times does not wait for it to be translated again, and it runs faster than interpreted code would. An interpreter produces no object code, so the company would have nothing to sell as an executable. The customer would have to be given the source code and would need an interpreter installed on their computer, and the program would be translated again every time it was run.

Why: Level 3. Covers the output of both translators (executable from the compiler, no object code from the interpreter), the effect of translating once rather than on every run, and what the customer needs on their computer, all applied to the company selling the program, with a clear conclusion.

Some marks3/6

A compiler produces an executable file, which the company can save and sell to its customers. An interpreter does not produce an executable file, so the customer would need the source code and an interpreter installed on their computer to run the program. This means a compiler is better for the company, because customers can just run the file they are given.

Why: Level 2. Gives the output of both translators and links this to what the customer needs, with a conclusion, but never says the compiled program is translated once while an interpreted one is translated on every run, so the reasoning is not developed enough for Level 3.

No marks0/6

The company should use a compiler because it is easier to write programs with a compiler and it fixes the errors in the program before the customers get it.

Why: Level 0. No creditworthy point: 'easier to write programs' is not linked to the output, the translation each run or the customer, and 'fixes the errors' is a misconception, as the mark scheme's guidance says a compiler only reports errors at the end of translation.

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.