Question 4

AQA Computer Science June 2018 Paper 2AS6 marks

On the specification

4.1
3.5 Fundamentals of data representation
4.2
3.5 Fundamentals of data representation
4.3
3.5 Fundamentals of data representation
Question text

4.1 What is encryption? box [1 mark] 4.2 A sensitive message could be encrypted using either the Vernam cipher or the Caesar cipher. Explain why the Vernam cipher is a better choice. [2 marks] The bit pattern 1010011 1001111 1001110 represents the string ‘SON’ in 7-bit ASCII. The bit pattern 1000001 represents the character ‘A’ in 7-bit ASCII and other characters follow on from this in sequence. For example, the bit pattern 1001000 represents the character ‘H’. 4.3 What bit pattern results from encrypting the string ‘SON’ using a Vernam cipher with the key ‘HOG’? You must show your working. [3 marks]