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 · 14 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 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 recall1 markImages Swap Remove

Each pixel in a bitmap image is stored using a number of bits.

Define the term colour depth.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The number of bits per pixel (1)
  • The number of bits used to represent/store the colour of each pixel (1)

Allow bit depth

Do not accept the number of colours a pixel can have on its own

Do not accept the number of pixels in the image (this is the resolution/image size)

Example answers and how they were marked
Full marks1/1

The number of bits used to store the colour of one pixel.

Why: Gives the number of bits per pixel (1)

No marks0/1

The number of colours that each pixel can use.

Why: Gives the number of colours, not the number of bits; the mark scheme does not accept this on its own

No marks0/1

The number of pixels in the image.

Why: Confuses colour depth with resolution/image size, which the mark scheme does not accept

5Describe2 marksSound Swap Remove

Sound is converted into binary using a limited bit depth.

Describe one limitation of representing a sound sample with a limited bit depth.

[2 marks]
Mark scheme

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

  • Only a fixed number of amplitude values/levels can be represented (1) so the amplitude is rounded to the nearest available value/level (1)
  • Fewer amplitude values/levels are available to choose from (1) so similar/close amplitudes cannot be stored as different values (1)
  • The exact amplitude often falls between available values/levels (1) so the stored amplitude is not exact/less accurate (1)

Answers must relate to the number of bits per sample (bit depth) and the amplitude values/levels it can represent.

Do not accept answers about the sample rate, sample interval or the number of samples taken, or that confuse bit depth with the number of samples.

Do not award 'lower quality'/'more detail'/'less detail' unless it is linked to the number of amplitude values/levels.

Do not accept 'the sound cannot be played/stored' without a linked limitation.

Example answers and how they were marked
Full marks2/2

Only a fixed number of amplitude values can be represented, so the amplitude is rounded to the nearest available value and some detail is lost.

Why: Linked points: fixed number of amplitude values (1) and rounding to the nearest available value (1).

Some marks1/2

Only a fixed number of amplitude values can be represented.

Why: Gives the first linked point only (1); it does not develop what this limitation leads to.

No marks0/2

A lower bit depth means fewer samples are taken, so parts of the sound are missed.

Why: Confuses bit depth with the number of samples/sample rate; no creditworthy point about amplitude values is given.

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

7Explain2 marksImages Swap Remove

A bitmap image uses a colour depth of 8 bits. Each pixel is stored as a binary value.

Explain how the colour of a pixel is represented in a bitmap image.

[2 marks]
Mark scheme

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

  • Each pixel is stored as a binary value/code (1) which represents/maps to a colour (1)
  • The binary value is used to look up a colour in a palette (1) so the pixel can be displayed in that colour (1)
  • A bit pattern is assigned to each colour (1) and each pixel stores the bit pattern for its colour (1)
  • The number of bits per pixel sets how many different colour codes exist (1) so each code can represent a different colour (1)

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

Do not accept 'pixels are binary' or 'the image is made of 1s and 0s' without saying a pixel's colour is represented by a binary value.

Do not accept RGB values stored as denary or hexadecimal.

Example answers and how they were marked
Full marks2/2

Each pixel stores a binary value (1); this value is used to look up the pixel's colour in a palette (1).

Why: Linked point (1) and reason (1): a binary value is stored for each pixel and maps to a colour.

Some marks1/2

A bit pattern is assigned to each colour.

Why: One mark for stating that colours have bit patterns; it does not say that each pixel stores the pattern for its colour.

No marks0/2

Each pixel stores the RGB colour as denary numbers between 0 and 255.

Why: Bitmap pixels are stored in binary, not as denary values; this common misconception earns no mark.

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

9Explain2 marksSound Swap Remove

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

Explain how increasing the bit depth affects the representation of a sound wave.

[2 marks]
Mark scheme

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

  • Each sample is stored using more bits (1) so the amplitude can be recorded more precisely (1)
  • More different amplitude values can be represented (1) because each extra bit doubles the number of possible values (1)
  • The height of the wave at each sample point is measured more accurately (1) so the digital wave is closer to the analogue wave (1)
  • The gap between the true amplitude and the stored value is smaller (1) because there are more values for the sample to be rounded to (1)

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

Do not accept 'the sound is sampled more often' or 'more samples are taken per second', as these describe the sample rate, not the bit depth.

Do not accept 'the file size increases' on its own as an effect on the representation of the sound.

Example answers and how they were marked
Full marks2/2

Each sample is stored using more bits, so the amplitude at each sample point can be recorded more precisely.

Why: Point (more bits per sample) (1) with linked reason (amplitude recorded more precisely) (1).

Some marks1/2

Each sample is stored using more bits.

Why: Creditworthy point (1) but no linked effect on the accuracy of the representation, so only one mark.

No marks0/2

It takes more samples every second, so the wave is stored in more detail.

Why: Confuses bit depth with sample rate, so no mark is awarded.

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.