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

9 questions · 19 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.

2Short recall1 markSound Swap Remove

Digital sound is made up of samples.

Define the term 'bit depth'.

[1 mark]
Mark scheme

Award one mark for:

  • The number of bits used per sample (1)

Allow bits per sample

Allow the number of bits used to record/store each sample

Do not accept the number of samples taken per second (sample rate)

Do not accept the number of bits used to store the whole sound file

Do not accept the number of levels/amplitude values a sample can take

Example answers and how they were marked
Full marks1/1

The number of bits used to record each sample.

Why: States the number of bits per sample (1).

No marks0/1

The number of samples taken each second.

Why: Defines sample rate, not bit depth; do not accept.

No marks0/1

The number of amplitude values each sample can take.

Why: Gives the number of levels/amplitude values, not the number of bits per sample; do not accept.

3Short recall1 markSound Swap Remove

A digital sound representation is created by sampling an analogue sound wave.

State one way the accuracy of this representation can be increased.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • Increase the sample rate / take more samples per second (1)
  • Increase the bit depth/sample resolution / use more bits per sample (1)
  • Decrease the sample interval (1)

Do not accept increase the amplitude/volume

Do not accept decrease the sample rate / increase the sample interval

Example answers and how they were marked
Full marks1/1

Increase the sample rate.

Why: Creditworthy point: increase the sample rate (1).

No marks0/1

Decrease the sample rate.

Why: Near-miss: decreasing the sample rate reduces accuracy, so no mark; the mark scheme's do-not-accept line covers this (0).

No marks0/1

Increase the volume of the sound.

Why: Misconception: loudness/amplitude is not a way to increase sampling accuracy; do not accept increase amplitude/volume (0).

4Short recall2 marksImages Swap Remove

Bitmap images are stored as a grid of pixels.

Define the term pixel.

[2 marks]
Mark scheme

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

  • The smallest element/area of a bitmap image (1)
  • The smallest identifiable part of an image (1)
  • Stores/represents a single colour as a binary value (1)
  • Stores/represents a single colour using a number of bits/colour depth (1)

Allow 'picture element' for element/part in the first two bullets, but not on its own

Allow 'bit depth' for colour depth

Do not accept 'picture element'/'pixel' on its own

Do not accept 'a group of pixels' or 'a dot' on its own; allow 'dot' only when it is described as the smallest element/area of the image

Do not accept 'single colour' on its own for the second mark; it must be linked to a binary value/number of bits

Do not accept 'lots of coloured dots' (it contradicts a single colour)

Example answers and how they were marked
Full marks2/2

The smallest identifiable area of a bitmap image, which has one colour stored as a binary value.

Why: Smallest identifiable area (1) and single colour stored as a binary value (1)

Some marks1/2

The smallest part of a bitmap image, made of one colour.

Why: Smallest part (1); no credit for the second mark because the single colour is not linked to a binary value or number of bits

No marks0/2

A picture element made from lots of coloured dots.

Why: 'Picture element' on its own is not accepted and 'lots of coloured dots' contradicts a single colour

5Explain2 marksCharacter Sets Swap Remove

Characters typed on a keyboard are stored using ASCII.

Explain how the computer encodes the letter A using ASCII.

[2 marks]
Mark scheme

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

  • The computer looks up the character in the ASCII character set/table (1) to find the code that represents it (1)
  • Each character has its own unique ASCII code (1) so the letter A is converted to and stored as a 7-bit binary pattern (1)
  • ASCII uses 7 bits for each character (1) so A is stored as its ASCII code 1000001 (binary) / 65 (denary) (1)

The second mark requires a linked expansion, so a point on its own (e.g. 'A has the code 65') can only earn one mark.

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

Accept an 8-bit pattern with a leading 0 (e.g. 01000001) as the binary code for A.

Do not accept 'the character is stored as text' without saying it is changed into a code/binary.

Do not accept a binary value on its own (e.g. 1000001) without saying that it is the ASCII code/that the character is converted to it.

Example answers and how they were marked
Full marks2/2

The computer finds the unique ASCII code for A, which is 65 in denary, and stores it as the 7-bit binary pattern 1000001.

Why: Linked point that A is given its unique ASCII code (1) and reason/expansion that it is converted to and stored as a 7-bit binary pattern (1).

Some marks1/2

The computer changes the letter A into a number.

Why: Gives the point that the character is given a code/number (1) but no linked expansion saying it is converted to binary or stored, so stays on one mark.

No marks0/2

The letter A is stored as the number 1 because it is the first letter of the alphabet.

Why: Wrong reason and no creditworthy point: it does not say that the character is given its ASCII code and converted to binary.

6Explain2 marksSound Swap Remove

Analogue sound is converted to binary by sampling at regular intervals.

Explain one reason why increasing the sample rate improves the quality of a digitised sound.

[2 marks]
Mark scheme

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

  • More samples are taken every second / the sample rate is higher (1) so the digital wave follows the shape of the analogue wave more closely (1)
  • The amplitude is measured more often / at shorter intervals (1) so fewer changes in the sound are missed between measurements (1)
  • The sample interval is shorter (1) so less of the sound wave is lost/goes unrecorded between samples (1)
  • More data points are recorded for the same length of sound (1) so the digital representation is a closer copy of the original sound (1)

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

Do not accept 'the quality is better/higher' or 'the sound is clearer' as a point on its own without a reason such as more samples or more detail.

Do not accept 'the samples are more accurate' or 'more data is collected' without saying what becomes more accurate or what the extra data records.

Do not accept 'the file size is larger' as a reason for improved quality.

Do not accept answers about using more bits per sample, as these describe bit depth, not the sample rate.

Example answers and how they were marked
Full marks2/2

More samples are taken every second, so the digital representation follows the shape of the analogue wave more closely.

Why: Point (more samples each second) (1) with linked reason (follows the analogue wave more closely) (1).

Some marks1/2

More samples are taken every second.

Why: Creditworthy point (1) but no linked reason about what the extra samples achieve, so stays on one mark.

No marks0/2

Each sample is stored using more bits, so every measurement is more accurate.

Why: This describes bit depth, not the sample rate, so neither mark is awarded.

7Explain2 marksImages Swap Remove

An image uses a colour depth of 2 bits per pixel. The original image contains 12 different colours.

Explain why the image cannot be represented accurately at this colour depth.

[2 marks]
Mark scheme

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

  • Only 4 colours can be represented (1) because 2 bits give 2^2 = 4 possible values (1)
  • Some of the 12 colours cannot be stored (1) so they are lost/replaced with a colour that can be represented (1)
  • The image will not match the original exactly (1) because there are fewer colour codes than the number of colours needed (1)
  • Many colours will share the same binary value (1) so the image will lose colour detail (1)

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

Allow 'four colours' or '2^2'.

Do not accept 'only two colours' (confusing the number of bits with the number of values) or 'resolution is too low'.

Example answers and how they were marked
Full marks2/2

Only four colours can be represented (1) because two bits give four possible binary values (1).

Why: Linked point (1) and reason (1): 2 bits give 2^2 = 4 colour codes.

Some marks1/2

Only four colours can be represented.

Why: One mark for identifying that four colours can be represented; the linked reason about two bits giving four values is missing.

No marks0/2

Only two colours can be represented because each pixel has two bits.

Why: A common misconception: two bits give four possible values, not two, so no creditworthy point is given.

8Explain2 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.

9Discuss6 marksCharacter Sets Swap Remove

A library is digitising its catalogue. The titles of books and the names of authors are stored as text.

Discuss how 7-bit ASCII is used to encode the text in the library catalogue.

Your answer should include:

  • how characters are mapped to codes
  • why 7 bits are used for each character
  • the benefits of using ASCII for the catalogue.
[6 marks]
Mark scheme

Indicative content

How characters are mapped to codes

  • Each character in a book title or author name is given a unique 7-bit binary code from the ASCII character set.
  • The letter A, for example, is stored as the code 1000001 and the letter B as 1000010, so the catalogue can store letters as binary.
  • Uppercase letters, lowercase letters, digits, punctuation and the space character each have their own ASCII code.
  • The same character always uses the same code, so the text can be stored and read back correctly by the library system.

Why 7 bits are used for each character

  • Seven bits give 2 to the power of 7, which is 128 different bit patterns, and this is enough to represent the letters, digits and punctuation needed in the catalogue.
  • A standard keyboard has around 98 characters, so 6 bits would give only 64 codes and would not be enough.
  • Using a fixed 7 bits per character means every character takes the same amount of storage, which makes the catalogue file simple to process.

Benefits of using ASCII for the catalogue

  • ASCII is a standard character set, so the catalogue data can be exchanged between different computers and software.
  • Author names and titles entered on one system will display correctly on another system that uses ASCII.
  • ASCII uses only 7 bits per character, so the catalogue takes less storage than a character set that uses more bits.
  • It is simple to encode and decode because each character has a single fixed code.

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)

Do not accept 8 bits or 256 characters as features of 7-bit ASCII; these are extended ASCII.

Example answers and how they were marked
Full marks6/6

Each character in a catalogue title or author name is given its own 7-bit ASCII code. For example, the letter A is 1000001 and the letter B is 1000010, so the library can store the text as binary. Seven bits give 128 different codes, which is enough for uppercase and lowercase letters, digits, punctuation and spaces. Six bits would give only 64 codes, which would not be enough for all the characters in the catalogue. ASCII is also a standard character set, so the catalogue data can be exchanged between different computers and will display correctly. Because each character uses only 7 bits, the catalogue also takes less storage than it would with a character set that uses more bits per character.

Why: Covers all three bullets with sustained application: mapping and example codes; 7 bits give 128 codes and why 6 bits is insufficient; standardisation and storage benefits. Level 3.

Some marks4/6

ASCII gives each character a unique code. For example, A is stored as 1000001 and B is stored as 1000010. Seven bits are used for each character because seven bits give 128 codes, which is enough for the letters and punctuation in the catalogue. The library can store titles and author names as binary.

Why: Covers mapping and the 7-bit reason with some application, but does not discuss the benefits of ASCII for the catalogue. Level 2.

Some marks1/6

ASCII is a programming language that gives each letter a binary code. It uses 8 bits for each character, so it can store 256 characters. This means it can store every book title in the library.

Why: A basic point that letters are given binary codes is credited, but the answer treats ASCII as a programming language and uses 8 bits/256 characters, which are misconceptions. 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.