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

Pick again
Print
1Multiple choice1 markCharacter Sets Swap Remove

ASCII is a character set used for representing text.

Identify the number of bits used to encode each character in ASCII.

[1 mark]
  • A6
  • B7
  • C8
  • D16
Mark scheme
  • B 7 (1)
  • The only correct answer is B. The correct answer is 7 bits.
  • A is not correct because 6 bits give only 64 different characters
  • C is not correct because 8 bits are used by extended ASCII to give 256 characters
  • D is not correct because 16 bits give 65 536 different characters, which is far more than the 128 in ASCII
Example answers and how they were marked
Full marks1/1

B 7

Why: B is the only correct answer: each ASCII character is encoded using 7 bits (1).

No marks0/1

C 8

Why: Near miss scoring 0: 8 bits is extended ASCII, and the scheme's C line says extended ASCII, not ASCII, is not the answer.

No marks0/1

A 6

Why: Misconception scoring 0: 6 bits give only 64 different characters, so it cannot be ASCII.

2Multiple choice1 markCharacter Sets Swap Remove

A text file stores each character using 7-bit ASCII.

Identify the denary ASCII code for the space character.

[1 mark]
  • A32
  • B33
  • C48
  • D65
Mark scheme
  • A 32 (1)
  • The only correct answer is A. The correct answer is 32.
  • B is not correct because 33 is the ASCII code for the exclamation mark (!)
  • C is not correct because 48 is the ASCII code for the character 0
  • D is not correct because 65 is the ASCII code for the uppercase letter A
Example answers and how they were marked
Full marks1/1

A 32

Why: Correct option: the space character has the ASCII code 32 (1).

No marks0/1

C 48

Why: Near miss scoring 0: 48 is the ASCII code for the character 0, not the space character.

No marks0/1

D 65

Why: Misconception scoring 0: 65 is the ASCII code for the uppercase letter A, so a well-known code is given but not the code for a space.

3Multiple choice1 markImages Swap Remove

Identify the term for the number of bits used to store the colour of each pixel.

[1 mark]
  • AColour depth
  • BImage size
  • CResolution
  • DStorage size
Mark scheme
  • A Colour depth (1)
  • The only correct answer is A. The correct answer is colour depth.
  • B is not correct because image size is the width and height of the image in pixels
  • C is not correct because resolution is the number of pixels per unit length, such as pixels per inch
  • D is not correct because storage size is the amount of storage the image file uses
Example answers and how they were marked
Full marks1/1

A Colour depth

Why: Correct option; colour depth is the number of bits used to store the colour of each pixel (1).

No marks0/1

B Image size

Why: Image size is the width and height of the image in pixels, not the number of bits used per pixel; no mark.

No marks0/1

D Storage size

Why: Storage size is the amount of storage the image file uses, not the colour depth; no mark.

4Multiple choice1 markSound Swap Remove

Identify the term used for the number of bits used to record each sample of a sound.

[1 mark]
  • AAmplitude
  • BBit depth
  • CSample interval
  • DSample rate
Mark scheme
  • B Bit depth (1)
  • The only correct answer is B. The correct answer is bit depth.
  • A is not correct because amplitude is the height of the sound wave at the point it is sampled
  • C is not correct because the sample interval is the time between each sample
  • D is not correct because the sample rate is the number of samples taken each second
Example answers and how they were marked
Full marks1/1

B Bit depth

Why: Selects the only correct option (1).

No marks0/1

D Sample rate

Why: Near miss: this is the number of samples taken each second, not the number of bits per sample (0).

No marks0/1

A Amplitude

Why: Typical confusion: amplitude is what is measured at a sample, not the number of bits used to store it (0).

5Short recall1 markImages Swap Remove

A bitmap image uses one bit per pixel.

State the limitation this places on the number of colours in the image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • Only two different colours can be represented/stored (1)
  • Each pixel can only be one of two values (1)
  • The image can only be shown in black and white (1)

Allow answers that give the number of colours, e.g. two colours, 2 colours

Allow any pair of two colours, e.g. black and white, black and grey

Do not accept low resolution/poor quality/lower quality

Do not accept only one colour/can only show black

Do not accept 2 bits/2^1 without a statement about the number of colours that can be represented

Example answers and how they were marked
Full marks1/1

Only two colours can be represented, such as black and white.

Why: States that only two different colours can be represented (1)

No marks0/1

The image will have a low resolution.

Why: Confuses colour depth with resolution; low resolution is not accepted

No marks0/1

The image can only show black.

Why: One colour is all a single value can give; the limitation is that only two colours can be represented, so this is not accepted

6Describe2 marksImages Swap Remove

A bitmap image of a logo is stored in binary.

Describe how the pixels in the logo are represented in binary, and how the number of bits available for each pixel can limit the image.

[2 marks]
Mark scheme

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

  • Each pixel is a single colour (1) that is stored/given as a binary value (1)
  • Each pixel is represented by a binary value (1) which gives/represents its colour (1)
  • The pixels are stored in order/rows (1) so the binary values can be read back to recreate the image (1)
  • Each pixel uses a fixed number of bits/colour depth (1) so only a limited number of colours can be represented (1)
  • The number of bits available for each pixel is fixed (1) so some colours cannot be stored/shown (1)

Allow '1s and 0s' for binary value.

For the first mark, accept a statement that a pixel is stored/represented by a binary value; do not award the first mark for 'grid of pixels' or 'a pixel is a single colour' alone unless it is linked to a binary value.

Do not accept 'a pixel is a small dot' alone.

Do not accept responses that only describe file size or resolution.

Example answers and how they were marked
Full marks2/2

Each pixel is a single colour and its colour is stored as a binary value. The number of bits for each pixel is fixed, so only a limited number of colours can be represented.

Why: Linked point (1) that each pixel is a single colour and development (1) that its colour is stored as a binary value; the colour-depth limitation is also creditworthy but the answer is capped at 2.

Some marks1/2

Each pixel is stored as a binary value.

Why: Point (1) that each pixel is stored as a binary value, but no linked development about the colour it represents.

No marks0/2

A bitmap image is made of lots of dots called pixels.

Why: No credit: 'a pixel is a small dot' alone is not accepted because it does not link a pixel to a binary value.

7Describe2 marksImages Swap Remove

A bitmap image is stored using 2 bits for each pixel.

Describe why using 2 bits for each pixel can limit the image.

[2 marks]
Mark scheme

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

  • Two bits give only four possible binary values (1) so at most four colours can be represented (1)
  • Only 2^2 = 4 colours can be stored (1) so colours in the original image may be lost/changed (1)
  • There are not enough bit patterns for more than four colours (1) so the image cannot show all the colours it needs (1)
  • Each pixel has a limited set of codes (1) so similar colours may become the same colour (1)

Do not accept 'the image will be low resolution' or 'it will be poor quality' alone.

Do not award responses about file size.

Example answers and how they were marked
Full marks2/2

Two bits give only four binary values, so the image can use at most four colours.

Why: Point (1) that two bits give only four binary values and development (1) that at most four colours can be represented.

Some marks1/2

Two bits can only represent four colours.

Why: Point (1) that only four colours can be stored, but no linked development about colours being lost or changed.

No marks0/2

The image will be low resolution because there are not enough bits.

Why: No credit: 'low resolution' alone is not accepted as a limitation of using 2 bits per pixel.

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

The same sound is recorded twice using different sample intervals.

Explain the effect of using a longer sample interval on the digital recording.

[2 marks]
Mark scheme

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

  • Fewer samples are taken every second (1) so less detail of the sound wave is captured (1)
  • Fewer samples are taken every second (1) so the file is smaller/uses less storage space (1)
  • The wave is measured less often (1) so parts/changes in the wave between samples are missed (1)

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

The 'fewer samples are taken/measured less often' point can only be credited once; the second mark is for a valid expansion linked to it.

Do not accept restating the question, e.g. 'the time between measurements is longer' or 'the sample interval is longer', as either the point or the expansion.

Do not accept 'the sample rate is lower' as the expansion, as this says the same thing as a longer sample interval.

Do not accept 'the sound is lower quality/less accurate' on its own without saying what is lost, e.g. less detail of the wave captured/parts of the wave missed.

Do not accept answers about using fewer bits per sample or about compression, as these do not follow from the sample interval.

Example answers and how they were marked
Full marks2/2

Fewer samples are taken every second, so less detail of the sound wave is captured and the recording is less accurate.

Why: Point (fewer samples each second) (1) with linked reason (less detail of the wave captured) (1).

Some marks1/2

Fewer samples are taken every second.

Why: Creditworthy point (1) but no linked effect on the detail or size of the recording, so only one mark.

No marks0/2

The samples are stored using fewer bits, so the sound is less accurate.

Why: Describes a smaller bit depth rather than a longer sample interval, so no mark is awarded.

10Discuss6 marksImages Swap Remove

A school is creating a small logo to display on its website. The logo is stored as a bitmap image. Each pixel in the logo is stored as a binary value.

Discuss how the bitmap image of the logo is represented in binary.

Your answer should include:

  • pixels
  • binary values
  • the grid of pixels.
[6 marks]
Mark scheme

Indicative content

Pixels

  • A bitmap image is made up of picture elements, called pixels.
  • Each pixel is the smallest identifiable area of the image and has a single colour.
  • The logo is stored as a grid of pixels, and its width and height in pixels give its dimensions.
  • Each pixel is stored separately, so a larger grid needs more pixel values to be stored.

Binary values

  • Each pixel's colour is represented by a binary value.
  • The number of bits used for each pixel is the colour depth.
  • With n bits per pixel there are 2^n different binary values, so 2^n possible colours.
  • A black-and-white image can use one bit per pixel, with 0 for white and 1 for black.
  • More bits per pixel allow more colours to be represented in the logo.

Grid

  • The binary values are stored in order, row by row, so the computer can rebuild the grid.
  • The resolution is the number of pixels in the image, for example width × height.
  • A higher-resolution grid stores more pixels, so the logo can show more detail.
  • The image file stores the pixel values and data such as the image dimensions.

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 pixels and binary values.

Do not accept resolution as the number of colours.

Example answers and how they were marked
Full marks6/6

A bitmap is a grid of pixels. Each pixel is one small area of the logo and has a single colour. The width and height of the grid are measured in pixels, so the logo's dimensions tell us how many pixels it contains. Each pixel's colour is stored as a binary value. The number of bits used for each pixel is the colour depth, and with n bits there are 2^n possible values, so 2^n possible colours. For example, 3 bits per pixel would allow 8 colours. The binary values are stored row by row so that the computer can rebuild the grid. A larger grid stores more pixel values, but it can show more detail. More bits per pixel let the logo use more colours, such as the school's colours.

Why: Covers pixels as the smallest areas of a grid (AO1), binary values with colour depth and 2^n colours (AO1), and applies these to the logo's grid and colours (AO2). Sustained and structured, so Level 3.

Some marks4/6

A bitmap is a grid of pixels. Each pixel is a small square with one colour. Each pixel is stored as a binary value. The logo needs a binary value for every pixel, so a bigger logo has more values. More bits per pixel means more colours.

Why: Gives pixels and binary values, with a simple link to the logo's size. Points are mostly independent and not developed into a full discussion, so Level 2.

Some marks1/6

A bitmap image is a grid of pixels. Resolution is the number of colours in the image. Each pixel is stored as a letter, so the logo can use any colour.

Why: One basic point: a bitmap is a grid of pixels. The rest is incorrect: resolution is not the number of colours, and pixel values are stored as binary, not letters.

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.