Question 1

AQA Computer Science November 2020 Paper 1 (7517/1)A level7 marks

On the specification

1.1
4.2 Fundamentals of data structures
1.2
4.2 Fundamentals of data structures
1.3
4.2 Fundamentals of data structures
1.4
4.2 Fundamentals of data structures
Question text

1 Figure 1 shows two vectors a and b and the angle between them, . Figure 1 a = [4, 3] b = [4, 0] The magnitude of a vector, represented as an arrow, is the length of the arrow. The � 2 2 magnitude of vector a is 5 because 4 +3 = 5 1.1 What is the magnitude of vector b? [1 mark] 1.2 Calculate the dot product of vectors a and b. You should show your working. [2 marks] o The angle between two vectors cannot be larger than 180 . If the angle is measured o o as being greater than 180 then this angle is subtracted from 360 to find the actual angle between the two vectors. Example: if an angle between two vectors represented as arrows is measured as o o o o being 240 then the angle between the two vectors is 360 – 240 = 120 1.3 Describe what will happen to the angle and the magnitude of vector a when vector a is multiplied by the scalar 2 [2 marks] 1.4 Describe what will happen to the angle and the magnitude of vector a when vector a is multiplied by the scalar -1 [2 marks]