1
A robot needs to repeat a task until its battery is low. Which loop should its program use?
A FOR
B WHILE
C IF used for selection only
D SUBROUTINE used for reusable code only
What looks wrong with Question 1?
Send anonymously
Cancel
2
A smartphone app breaks a journey into smaller steps to plan a route. What is this called?
A Pattern recognition
B Compression of the route data
C Abstraction
D Decomposition
What looks wrong with Question 2?
Send anonymously
Cancel
3
A merge sort splits a list of 16 items into two halves. How many items are in each half?
A 8
B 4
C 80
D 16
What looks wrong with Question 3?
Send anonymously
Cancel
4
Why is a bubble sort slow on a long list?
A It checks only the middle item of the list
B It can only sort lists of 5 items
C It needs the list to be sorted first
D It needs many passes and many comparisons
What looks wrong with Question 4?
Send anonymously
Cancel
5
What does DIV do in OCR pseudocode?
A It gives the remainder of a division, in some situations
B It gives the whole number part of a division
C It multiplies two numbers together
D It adds two numbers together
What looks wrong with Question 5?
Send anonymously
Cancel
6
A bubble sort sorts a list of 6 items. How many passes does it need at most?
A 5
B 4
C 6
D 50
What looks wrong with Question 6?
Send anonymously
Cancel
7
What does the Data Protection Act 2018 do?
A It stops anyone copying software or music
B It controls how personal data is collected stored and used
C It makes it legal to access any computer
D It gives everyone the right to use any data, in some situations
What looks wrong with Question 7?
Send anonymously
Cancel
8
The pseudocode sets total to 0, then for i = 1 to 6 it adds i to total. What is the value of total at the end?
A 210
B 22
C 21
D 20
What looks wrong with Question 8?
Send anonymously
Cancel
9
A program sets count to 0 then adds 1 three times. What is count at the end?
A 0
B 1
C 3
D 30
What looks wrong with Question 9?
Send anonymously
Cancel
10
Why can targeted adverts be a privacy concern?
A They use personal data to choose which adverts a person sees
B They show the same advert to everyone
C They never use any data about a person
D They only show adverts for free products, which can happen in some cases
What looks wrong with Question 10?
Send anonymously
Cancel