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

8 questions · 18 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

To store sound in binary, an analogue sound wave is sampled at regular intervals.

Define the term 'sample rate'.

[1 mark]
Mark scheme

Award one mark for:

  • The number of samples taken per second (1)

Allow captured/recorded for taken.

Allow 'samples per second'.

Allow 'each second' for 'per second'.

Allow Hz/hertz as the unit.

Do not accept the time between samples/sample interval.

Do not accept 'the number of samples' without a per second/time reference.

Do not accept the number of bits used per sample/bit depth.

Example answers and how they were marked
Full marks1/1

The number of samples taken per second.

Why: States samples per second (1); 'per second' is accepted.

No marks0/1

The time between each sample.

Why: Defines sample interval, not sample rate; do not accept.

No marks0/1

The number of bits used for each sample.

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

3Short 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

4Describe2 marksSound Swap Remove

Each sample of a sound is stored as a binary number.

Describe how bit depth affects the stored value of a sound sample.

[2 marks]
Mark scheme

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

  • The bit depth is the number of bits used to store each sample/measurement (1) so a higher bit depth gives more possible/discrete values for the amplitude (1)
  • A higher bit depth records the amplitude more accurately (1) because the stored value can be closer to the actual height of the wave (1)
  • A low bit depth gives fewer possible amplitude values (1) so the amplitude is rounded to the nearest value, making the recording less accurate (1)

Do not accept sample rate/sample interval (number of samples per second) in place of bit depth.

Do not accept 'more bits gives better quality' or 'more accurate' on its own, without a development linked to the number of values or the amplitude stored.

Do not accept file size on its own, and a file size point cannot earn the second mark, as it does not describe the stored value.

Example answers and how they were marked
Full marks2/2

The bit depth is the number of bits used to store each sample, so a higher bit depth gives more possible values for the amplitude that can be stored.

Why: First point, the number of bits per sample (1), then the linked development, more possible values for the amplitude (1).

Some marks1/2

The bit depth is the number of bits used to store one sample.

Why: Gives the first point, the number of bits per sample (1), but does not develop how this affects the value that is stored.

No marks0/2

A higher bit depth makes the sound better quality and more accurate.

Why: Near-miss: 'better quality' and 'more accurate' on their own, with no development linked to the number of values or the amplitude, so no mark is awarded.

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

Two versions of the same photograph are displayed at the same size on a screen. Version A is 800 × 600 pixels. Version B is 1600 × 1200 pixels.

Explain why Version B can show more detail.

[2 marks]
Mark scheme

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

  • Version B has more pixels in the same area (1) so each pixel represents a smaller part of the image (1)
  • Version B has a higher pixel density (1) so finer detail can be represented (1)
  • The pixels in Version B are smaller (1) so more detail can be captured in the same space (1)
  • Version B has a higher resolution (1) because there are more pixels per unit of area (1)

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

Do not accept 'more pixels' on its own without saying same area/pixel density/smaller pixels.

Do not accept higher colour depth or more colours.

Example answers and how they were marked
Full marks2/2

Version B has more pixels in the same area (1) so each pixel represents a smaller part of the image (1).

Why: Linked point (1) and reason (1): more pixels in the same area means smaller pixels and more detail.

Some marks1/2

Version B has more pixels in the same area.

Why: One mark for the point about pixel density; the linked reason about smaller pixels or finer detail is missing.

No marks0/2

Version B has a higher colour depth, so it can display more colours.

Why: Colour depth is not the reason for more detail here; this is the common misconception that colour depth increases resolution.

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

8Discuss6 marksCharacter Sets Swap Remove

A travel company has a website where customers enter their names and addresses. Some customers have names that include accented letters, such as é, and characters from other alphabets.

Discuss the limitations of using 7-bit ASCII for the text on the travel company's website.

Your answer should consider:

  • the number of characters that 7-bit ASCII can represent
  • characters that cannot be represented
  • the effect of using more bits for each character.
[6 marks]
Mark scheme

Indicative content

The number of characters that 7-bit ASCII can represent

  • Seven-bit ASCII gives 2 to the power of 7, which is 128 different codes, so it can represent a maximum of 128 different characters.
  • This is enough for the English alphabet, digits and common punctuation, but it is a fixed and limited set.
  • The website may need more than 128 characters once customer names from different countries are included.

Characters that cannot be represented

  • Accented letters such as é do not have a 7-bit ASCII code, so they cannot be stored correctly.
  • Characters from any alphabet other than the Latin one, such as Greek or Cyrillic letters, cannot be represented in 7-bit ASCII.
  • If a customer enters a character that is not in the character set, the website may store the wrong character or show a replacement symbol.
  • The company may have to misspell or simplify a customer's name because the required character cannot be stored.

The effect of using more bits for each character

  • Each extra bit doubles the number of available codes, so for n bits there are 2 to the power of n codes; 8 bits give 256 codes and 16 bits give 65 536 codes.
  • Using more bits allows a larger character set to represent accented letters and other alphabets.
  • More bits per character means each character takes more storage, so the website's text files and pages are larger.
  • Larger pages take longer to transmit over the internet to a customer.

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 the limit of 128 codes and at least one type of character that cannot be represented; a point about using more bits on its own is not sufficient for Level 3, and not every bullet needs to be covered for Level 3.

Do not accept the idea that 7-bit ASCII can represent all characters, that extended or 8-bit ASCII can represent every character in every alphabet, or that accented letters are stored as plain letters without the accent.

Example answers and how they were marked
Full marks6/6

7-bit ASCII has only 128 different codes, so it can represent a maximum of 128 characters. That is enough for the English alphabet, digits and common punctuation, but the travel company's website may need more than 128 characters once it includes customers from different countries. Accented letters such as é do not have a 7-bit ASCII code, so they cannot be stored correctly, and characters from other alphabets, such as Greek or Cyrillic letters, cannot be represented at all. If a customer enters one of these characters, the website may store the wrong character or show a replacement symbol, or the company may have to misspell the customer's name. Using more bits would help because each extra bit doubles the number of available codes, so 8 bits give 256 codes and 16 bits give 65 536 codes. A larger character set could then represent accented letters and other alphabets, but each character would take more storage and the website pages would take longer to transmit.

Why: Covers all three bullets with developed reasoning: the 128-code limit, specific characters that cannot be represented, and the effect of using more bits, all applied to the travel website. Level 3.

Some marks4/6

7-bit ASCII only has 128 codes, so it cannot store accented letters like é. If a customer types é, the website might show the wrong character. Using more bits would give more codes, so the website could store more characters.

Why: Covers the 128-code limit and an unrepresentable character with some application, and briefly mentions more bits, but the effect of more bits on storage and transmission is not developed. Level 2.

Some marks1/6

7-bit ASCII has 128 codes, so it can store all the letters and symbols that customers need. Accented letters are stored as normal letters without the accent.

Why: The correct number of codes (128) is a basic point, but the claim that ASCII can store all characters and that accented letters are stored without the accent is rejected by the do-not-accept line. 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.