Question 1
Edexcel Computer Science June 2018 Paper 1GCSE13 marks
Question text
1 An online quiz asks students questions about computer science topics. (a) Images are used in some of the questions. (i) An image is 300 pixels high and 200 pixels wide. Construct an expression to calculate how many pixels are needed to represent this image. (1) (ii) An image file uses 24-bit colour depth. Describe how 24-bits are used to represent the colour in the file. (3) (b) One of the colours used in an image is ‘cadet blue’. ‘Cadet blue’ in binary is 0101 1111 1001 1110 1010 0000 Convert 0101 1111 1001 1110 1010 0000 to hexadecimal. (3) (c) A player earns a badge for every 100 questions they answer correctly, providing this includes at least 10 hard questions or 30 medium questions. This can be expressed as (NQ >= 100) and (HQ >= 10 or MQ >= 30). Complete the truth table. (6) NQ >= 100 HQ >= 10 MQ >= 30 HQ or MQ NQ and (HQ or MQ) 0 0 0 1 0 0 0 1 1 1 1 1 0 10 0 0 11 0 1 10 1 1 11 1 1 1 (Total for Question 1 = 13 marks)