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

Pick again
Print
1Multiple 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.

2Multiple choice1 markSound Swap Remove

A sound wave is sampled and the amplitude of each sample is stored using 2 bits.

Identify the number of different amplitude values that can be stored for each sample.

[1 mark]
  • A2
  • B4
  • C8
  • D16
Mark scheme
  • B 4 (1)
  • The only correct answer is B. The correct answer is 4 (2 bits give 2^2 = 4 values).
  • A is not correct because 2 is the number of bits used to store each sample
  • C is not correct because 8 different amplitude values would need 3 bits
  • D is not correct because 16 different amplitude values would need 4 bits
Example answers and how they were marked
Full marks1/1

B 4

Why: Selects the only correct option (1).

No marks0/1

C 8

Why: Near miss: 8 values would need 3 bits, one more than this recording uses (0).

No marks0/1

A 2

Why: Typical misconception: 2 is the number of bits, not the number of amplitude values those bits can store (0).

3Short recall1 markImages Swap Remove

A bitmap image has a resolution.

State what is meant by the resolution of an image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The concentration/density of pixels in an area (1)
  • The number of pixels per inch (PPI) / pixels per unit area (1)
  • The width and height/dimensions of the image in pixels (1)

Do not accept the number of pixels in the image on its own, without dimensions or an area, e.g. 'the total number of pixels'

Do not accept colour depth / the number of bits used per pixel / the number of colours

Do not accept file size in bytes / the amount of storage the image uses / screen size / image quality

Example answers and how they were marked
Full marks1/1

The concentration of pixels in an area, such as the number of pixels per inch.

Why: Gives the density/concentration of pixels in an area, and pixels per inch (1)

No marks0/1

The number of pixels in the image.

Why: A bare total pixel count is not accepted without dimensions or an area

No marks0/1

The number of bits used to store each pixel's colour.

Why: Describes colour depth, not resolution, and colour depth is not accepted

4Short 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).

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

6Describe2 marksCharacter Sets Swap Remove

Uppercase letters are represented in a computer using 7-bit ASCII codes.

Describe how the ASCII codes for the uppercase letters A to Z are arranged.

[2 marks]
Mark scheme

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

  • The codes run in alphabetical order/consecutively (1) so each letter has a code one more than the letter before it (1)
  • A has the code 65 and Z has the code 90 (1) so the codes for the letters in between increase by 1 each time (1)
  • The letters are stored in sequence (1) so B is A + 1, C is B + 1 and so on (1)

Accept the codes given in denary (65, 90) or as 7-bit binary (1000001, 1011010).

Do not accept 'the codes go up' or 'the codes are in order' on its own, as neither gives the step of 1 or links one letter to the next.

Do not accept 'each uppercase letter has a different code' on its own, as this does not describe the arrangement.

Example answers and how they were marked
Full marks2/2

The codes are in alphabetical order, so B is one more than A and C is one more than B.

Why: Codes are consecutive/in order (1) with the linked step of one more for each letter (1).

Some marks1/2

A is 65 and Z is 90.

Why: Gives the first half of the linked pair, the start and end codes (1), but does not give the linked development, the increase of 1 between letters (0).

No marks0/2

The ASCII codes for uppercase letters go up.

Why: 'Codes go up' on its own gives no step of 1 and no link to the next letter, so it is not creditworthy (0) under the 'Do not accept' line.

7Describe2 marksImages Swap Remove

A bitmap image can use different colour depths.

Describe what is meant by the colour depth of a bitmap image.

[2 marks]
Mark scheme

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

  • The number of bits used to store/represent each pixel (1) which determines how many colours/shades it can have (1)
  • The number of binary values/combinations available for each pixel (1) so a greater colour depth gives a wider range of colours/a larger colour palette (1)
  • More bits are stored for each pixel (1) so each pixel can be one of more possible colours/shades (1)

Do not award 'the number of colours' alone, as it does not say that colour depth is the number of bits per pixel.

Do not accept responses about image resolution or the number of pixels.

Example answers and how they were marked
Full marks2/2

The number of bits used to store each pixel; more bits means more colours can be represented.

Why: Point (1) that colour depth is the number of bits used to store each pixel and linked development (1) that more bits means more colours can be represented.

Some marks1/2

The number of bits used for each pixel.

Why: Point (1) that colour depth is the number of bits per pixel, but no linked development about the number of colours.

No marks0/2

The number of pixels across the image.

Why: No credit: this describes resolution, and responses about the number of pixels are not accepted.

8Explain2 marksCharacter Sets Swap Remove

ASCII uses a fixed number of bits to represent each character.

Explain one reason why ASCII uses 7 bits to represent each character.

[2 marks]
Mark scheme

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

  • 7 bits give 128 different codes/combinations (1) which is enough to represent all the characters on a keyboard (1)
  • 7 bits allow 128 unique characters (1) so uppercase and lowercase letters, digits and punctuation can all be represented (1)
  • 6 bits give only 64 combinations (1) which is not enough for the number of characters on a keyboard (1)
  • A keyboard needs to represent more than 64 different characters (1) so 7 bits are needed to give the 128 combinations required (1)
  • A fixed number of 7 bits gives 128 possible codes (1) which is enough for the characters ASCII represents, so more bits are not needed (1)

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

Do not accept 'because ASCII is 7-bit' or 'because 7 bits is enough' as these repeat the question without giving the number of combinations or saying what they allow.

Do not accept '7 bits give 256 characters'; 256 combinations come from 8 bits (extended ASCII).

Allow 'ASCII has 128 characters/codes' for the 128 point.

Example answers and how they were marked
Full marks2/2

7 bits give 128 different codes, which is enough for every letter, digit and punctuation symbol on a keyboard.

Why: Gives the point that 7 bits give 128 codes (1) and links it to the reason that this is enough for all the characters on a keyboard (1).

Some marks1/2

7 bits give 128 different combinations.

Why: Gives the point that 7 bits give 128 combinations (1) but does not say what this number of combinations allows, so the linked reason (1) is not earned.

No marks0/2

Because ASCII uses 7 bits so it can store 256 characters.

Why: Repeats the question and gives the wrong number of characters (256 is 8-bit extended ASCII), so there is no creditworthy point.

9Explain2 marksImages Swap Remove

Two versions of the same bitmap image are saved. The second version has a higher colour depth.

Explain why the second version may have a larger file size.

[2 marks]
Mark scheme

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

  • More binary data is stored for each pixel (1) because a higher colour depth uses more bits per pixel (1)
  • Each pixel has a longer binary code (1) so more storage is needed to hold the image (1)
  • More colours can be represented (1) so more bits are needed for each pixel (1)
  • The file contains more bits in total (1) because colour depth is the number of bits per pixel (1)

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

Allow 'more bits per pixel' for one mark.

Do not accept 'more pixels' or 'higher resolution' as the reason, because changing colour depth does not change the number of pixels.

Example answers and how they were marked
Full marks2/2

The second version stores more binary data for each pixel (1) because a higher colour depth uses more bits per pixel (1).

Why: Linked point (1) and reason (1): more data per pixel because more bits per pixel.

Some marks1/2

The second version uses more bits for each pixel.

Why: One mark for identifying that more bits are stored per pixel; no linked statement about more data or file size.

No marks0/2

The second version has more pixels, so there is more data to store.

Why: A common misconception; colour depth does not change the number of pixels, so no creditworthy point is given.

10Discuss6 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.