1
A laptop owner copies a film from a friend's laptop and shares it online. Which law has been broken?
A The Computer Misuse Act
B Data protection law
C Copyright law
D Health and safety law
What looks wrong with Question 1?
Send anonymously
Cancel
2
A smartwatch program checks whether the wearer has reached 10,000 steps. Which programming construct makes the decision?
A A variable with no value
B A loop that never ends
C A comment in the code
D Selection with IF
What looks wrong with Question 2?
Send anonymously
Cancel
3
Why are constants used instead of values written into code?
A The program uses less memory when it runs
B The program runs faster when constants are used, in some situations
C The value can be changed in one place if it is needed
D The program needs no variables at all to run
What looks wrong with Question 3?
Send anonymously
Cancel
4
Which of these is an iteration statement?
A WHILE
B SUBROUTINE
C IF THEN ELSE
D RETURN
What looks wrong with Question 4?
Send anonymously
Cancel
5
What is a character data type?
A A value that is either true or false
B A single letter, digit or symbol
C A number with a fractional part
D A whole number with no fractional part
What looks wrong with Question 5?
Send anonymously
Cancel
6
Which of these is a comparison operator?
A AND
B Greater than
C MOD
D Plus, in some situations
What looks wrong with Question 6?
Send anonymously
Cancel
7
What is a real data type?
A A whole number with no fractional part
B A single letter or symbol
C A value that is either true or false
D A number with a fractional part
What looks wrong with Question 7?
Send anonymously
Cancel
8
What does substring do to a string?
A It changes a string into a number
B It gives the number of characters in the string, in some situations
C It takes part of the string from a given position
D It joins two strings together end to end
What looks wrong with Question 8?
Send anonymously
Cancel
9
What is a field in a record?
A One piece of data in the record
B The name given to the record as a whole
C The position of an item in the record
D The number of items in the record in total
What looks wrong with Question 9?
Send anonymously
Cancel
10
What is the scope of a variable?
A The part of the program where the variable can be used
B The data type that a variable has been given, in some situations
C The name that a variable has been given
D The value that a variable holds at the time
What looks wrong with Question 10?
Send anonymously
Cancel