QUESTION PAPER 1 2020.
IB/G/Jun20/E15 7517/1
,A-level
COMPUTER SCIENCE
Paper 1
Monday 1 June 2020 Morning Time allowed: 2 hours 30 minutes
Materials
For this paper you must have:
• a computer
• a printer
• appropriate software
• the Electronic Answer Document
• an electronic version and a hard copy of the Skeleton Program
• an electronic version and a hard copy of the Preliminary Material.
You must not use a calculator.
Instructions
• Type the information required on the front of your Electronic Answer Document.
• Before the start of the examination make sure your Centre Number, Candidate Name and
Candidate Number are shown clearly in the footer of every page (also at the top of the front
cover) of your Electronic Answer Document.
• Enter your answers into the Electronic Answer Document.
• Answer all questions.
• Save your work at regular intervals.
Information
• The marks for questions are shown in brackets.
• The maximum mark for this paper is 100.
• No extra time is allowed for printing and collating.
• The question paper is divided into four sections.
Advice
You are advised to allocate time to each section as follows:
Section A – 45 minutes; Section B – 20 minutes; Section C – 15 minutes; Section D – 70 minutes.
At the end of the examination
Tie together all your printed Electronic Answer Document pages and hand them to the Invigilator.
Warning
It may not be possible to issue a result for this paper if your details are not on every page of your
Electronic Answer Document.
IB/G/Jun20/E15 7517/1
, 2
Section A
You are advised to spend no longer than 45 minutes on this section.
Type your answers to Section A in your Electronic Answer Document.
You must save this document at regular intervals.
0 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
magnitude of vector a is 5 because �42+32 = 5
0 1 . 1 What is the magnitude of vector b?
[1 mark]
0 1 . 2 Calculate the dot product of vectors a and b. You should show your working.
[2 marks]
IB/G/Jun20/7517/1