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

Pick again
Print
1Short recall2 marksUnits & Conversion Swap Remove

A solid state drive has a capacity of 5 gibibytes.

Give an expression to calculate the number of bits in 5 gibibytes. You do not need to do the calculation.

[2 marks]
Mark scheme

Award one mark for each of:

  • 5 × 1024^3 / 5 × 1024 × 1024 × 1024 / 5 × 2^30, for the number of bytes (1)
  • A fully correct expression with × 8 to convert bytes to bits, in any order, e.g. 5 × 1024^3 × 8, 8 × 5 × 2^30 (1)

Accept 5 × 1 073 741 824 × 8.

Accept 5 × 2^33 or 42 949 672 960 as a fully correct expression (2 marks).

Do not accept 5 × 1000^3 × 8, which uses decimal multiples.

Do not accept ÷ 8, which converts bits to bytes.

Example answers and how they were marked
Full marks2/2

8 × 5 × 2^30

Why: 5 × 2^30 is the number of bytes (1) and × 8 converts bytes to bits (1).

Some marks1/2

5 × 2^30

Why: Correct number of bytes using the binary multiple 2^30 (1), but no conversion to bits.

No marks0/2

5 × 1000^3 × 8

Why: Uses decimal 1000^3 instead of binary 1024^3, so the expression is not fully correct; no creditworthy point.

2Describe2 marksTranslators Swap Remove

A compiler and an interpreter both translate source code.

Describe one difference between what a compiler produces and what an interpreter produces.

[2 marks]
Mark scheme

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

  • A compiler produces object code/machine code/an executable (file) (1) whereas an interpreter produces no object code/translated file (1)
  • A compiler produces a machine code file (1) that can be run on its own/without the compiler/translator being present (1)
  • An interpreter produces no object code/file (1) because it translates and executes each line instead of saving translated code (1)
  • The compiler's output can be saved/stored (1) and run again later, while interpreted code has to be translated again each time it is run (1)

Allow binary for machine code.

Allow executable/an executable for object code.

Do not accept responses about translating the whole program, reporting errors or the speed of execution.

Do not accept 'the interpreter translates/executes one line at a time' on its own: this is how it translates, not what it produces. It earns the development only when linked to no object code/translated file being produced.

Do not accept the interpreter producing object code/an executable.

Example answers and how they were marked
Full marks2/2

A compiler produces object code, which is saved as a file, whereas an interpreter does not produce a file because it translates and executes each line.

Why: Compiler produces object code (1) contrasted with the interpreter producing no object code/translated file (1).

Some marks1/2

The compiler produces machine code.

Why: Machine code/object code produced (1); there is no contrast with the interpreter, so the development is not earned.

No marks0/2

The interpreter produces object code for each line it translates.

Why: Reverses the translators' outputs: the interpreter produces no object code, so nothing is creditworthy.

3Discuss6 marksSecondary Memory Swap Remove

A school is buying new computers. Each computer needs storage for the operating system, applications and students' work. The computers have RAM and will be used in classrooms.

Discuss the role of secondary storage in these computers.

Your answer should include:

  • why secondary storage is needed
  • the difference between primary and secondary storage
  • a suitable type of secondary storage for the school's computers and a reason why it is suitable.
[6 marks]
Mark scheme

Indicative content

Why secondary storage is needed

  • Secondary storage is non-volatile, so it keeps the operating system, applications and students' work when the power is turned off.
  • It stores programs and files that are not currently in use, so they are not lost when the computer is switched off.
  • It provides a larger capacity than primary storage for files such as students' work, videos and photographs.
  • It allows each computer to keep many students' files and the software the school has installed.

The difference between primary and secondary storage

  • Primary storage (RAM) is volatile and directly accessible by the CPU; secondary storage is non-volatile and not directly accessible by the CPU.
  • RAM holds the data and instructions currently in use; secondary storage holds data and programs long term.
  • Primary storage is faster but smaller and more expensive per gigabyte; secondary storage is slower but larger and cheaper.
  • The school's computers need both: RAM to run the operating system and applications, and secondary storage to keep them when the computer is switched off.

A suitable type of secondary storage for the school's computers and a reason why it is suitable

  • A solid state drive (SSD) is suitable because it has no moving parts, so it is durable and quiet, and has fast read/write speeds, which helps the computers start up quickly.
  • A magnetic hard disk drive (HDD) is suitable because it is cheap and offers a very large capacity, which is useful for storing many students' files.
  • Either type could be used; a small SSD for the operating system and applications plus a large HDD for files would balance speed and cost.

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

  • Award credit for a type of secondary storage only when a reason is given that is linked to the school's computers; a named type alone (e.g. 'SSD') is not creditworthy. Do not accept RAM as secondary storage or the claim that secondary storage is the same as RAM. Do not accept CD/DVD/Blu-ray as the main storage for the school's computers because their capacity is too low and write speeds are slow.
  • For Level 3, the answer must cover all three bullets and apply at least one point to the school's computers. A 6-mark answer is well developed with sustained reasoning and a justified choice; a 5-mark answer covers all three but with limited development or application. Comparisons of speed and cost between primary and secondary storage are creditworthy as part of the difference.
Example answers and how they were marked
Full marks6/6

The school needs secondary storage because it is non-volatile, so the operating system, applications and students' work stay on the computer when the power is turned off. RAM is volatile and only holds data currently in use, while secondary storage keeps files long term. Secondary storage is also larger and cheaper per gigabyte than RAM, so it can hold many students' files. An SSD would be suitable because it has no moving parts, so it is durable in a classroom, and it has fast read/write speeds, so the computers start up quickly. A magnetic HDD would give a larger capacity for the same cost, which is useful for storing videos.

Why: Covers all three bullets: why secondary storage is needed (non-volatile, stores OS/apps/work, larger capacity), the difference from RAM (volatile, directly accessible, faster, smaller), and suitable types (SSD durable and fast; HDD cheap and high capacity) applied to the school's computers. Sustained and well structured. Level 3.

Some marks3/6

Secondary storage is needed to store data when the power is off. It is non-volatile, unlike RAM which is volatile. RAM is directly accessed by the CPU and is faster, but secondary storage is bigger. The school could use a hard disk because it has a lot of space.

Why: All three bullets covered with basic points: non-volatile storage when power off (1), difference volatile vs non-volatile (1), HDD with reason of capacity (1). Limited development and application to the school, so low Level 2, 3 marks.

Some marks1/6

Secondary storage is non-volatile so it keeps data when the power is off. It is the same as RAM, which is why it is fast. The school should use a CD because it is cheap and portable.

Why: One creditworthy basic point: non-volatile keeps data (1). Misconception that secondary storage is the same as RAM, and CD is not accepted as suitable main storage, so 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.