1
An if statement runs its code
A always
B never
C only when its condition is true
D only at the end
What looks wrong with Question 1?
Send anonymously
Cancel
2
The first index of an array is
A 1
B 0
C the length
D the last value
What looks wrong with Question 2?
Send anonymously
Cancel
3
A strong password should be
A your name
B long and hard to guess
C the word password
D shared with friends
What looks wrong with Question 3?
Send anonymously
Cancel
4
A syntax error is caused by
A wrong logic only
B breaking the rules of the language
C a slow computer
D a user typing fast
What looks wrong with Question 4?
Send anonymously
Cancel
5
A whole number data type is called
A boolean
B loop
C integer
D condition
What looks wrong with Question 5?
Send anonymously
Cancel
6
A value passed into a function is called
A array
B index
C parameter
D element
What looks wrong with Question 6?
Send anonymously
Cancel
7
Encryption protects data by
A deleting it
B making it public
C slowing the internet
D scrambling it so only authorised people can read it
What looks wrong with Question 7?
Send anonymously
Cancel
8
A logic error is hardest to find because the program
A will not start
B crashes at once
C prints nothing at all
D runs but gives a wrong result
What looks wrong with Question 8?
Send anonymously
Cancel
9
A boolean variable can hold
A any text
B any decimal
C a picture
D true or false
What looks wrong with Question 9?
Send anonymously
Cancel
10
The graph shows values increasing with index. The pattern is
A increasing by 10 each index
B decreasing by 10
C staying the same
D doubling each index
What looks wrong with Question 10?
Send anonymously
Cancel
11
A computer that provides data or services to other computers is called
A privacy
B server
C password
D encryption
What looks wrong with Question 11?
Send anonymously
Cancel
12
An error where code runs but gives the wrong result is called
A testing
B logic error
C algorithm
D pseudocode
What looks wrong with Question 12?
Send anonymously
Cancel
13
A variable starts at 5. A loop adds 5 each time it runs, and it runs 3 times. The final value of the variable is ____
What looks wrong with Question 13?
Send anonymously
Cancel
14
An array holds the values [10, 13, 16, 19, 22, 25, 28]. The value at index 4 is ____
What looks wrong with Question 14?
Send anonymously
Cancel
15
A computer or program that requests data or services is called
A password
B encryption
C digital footprint
D client
What looks wrong with Question 15?
Send anonymously
Cancel
16
An error that happens while a program is running is called
A algorithm
B pseudocode
C comment
D runtime error
What looks wrong with Question 16?
Send anonymously
Cancel
17
A loop starts a counter at 0 and adds 2 each time while the counter is less than 10. The number of times the loop runs is ____
What looks wrong with Question 17?
Send anonymously
Cancel
18
A function that returns the larger of two numbers is called with 7 and 3. The value returned is
What looks wrong with Question 18?
Send anonymously
Cancel
19
Copyright means a creator has
A no rights
B to share everything free
C legal rights over their work
D to copy others freely
What looks wrong with Question 19?
Send anonymously
Cancel
20
Top down design starts by
A writing all code at once
B testing first
C breaking a big problem into smaller parts
D deleting functions
What looks wrong with Question 20?
Send anonymously
Cancel
21
A loop starts a counter at 1 and adds 3 each time while the counter is less than 13. The number of times the loop runs is ____
What looks wrong with Question 21?
Send anonymously
Cancel
22
A function with no return value is best described as a
A procedure
B variable
C array
D constant
What looks wrong with Question 22?
Send anonymously
Cancel
A provides data or services
B only prints
C only stores passwords
D blocks all clients
What looks wrong with Question 23?
Send anonymously
Cancel
A ignored by the computer
B run as a command
C stored as data
D printed always
What looks wrong with Question 24?
Send anonymously
Cancel
25
Which is a valid use of a loop
A storing one number
B printing once only
C repeating a task many times
D ending a program
What looks wrong with Question 25?
Send anonymously
Cancel
26
The part of a program where a variable can be used is called
A library
B scope
C call
D function
What looks wrong with Question 26?
Send anonymously
Cancel
27
Three bytes of computer memory hold this many bits
What looks wrong with Question 27?
Send anonymously
Cancel
28
The binary number 1010 written in decimal is
What looks wrong with Question 28?
Send anonymously
Cancel
29
In a loop that runs while a condition is true, the condition is checked
A only once at the start
B before each run through the loop
C only at the end
D never
What looks wrong with Question 29?
Send anonymously
Cancel
30
A program calls a function to calculate an area three times with different inputs. The main advantage of using the function is that the code is
A written once and reused
B run slower
C harder to read
D longer
What looks wrong with Question 30?
Send anonymously
Cancel
31
A file of 75 bytes contains this many bits ____
What looks wrong with Question 31?
Send anonymously
Cancel
32
The decimal number 27 written in binary is ____
What looks wrong with Question 32?
Send anonymously
Cancel
33
Data entered into a program by a user is called
A input
B integer
C string
D boolean
What looks wrong with Question 33?
Send anonymously
Cancel
34
Running a function by using its name is called
A call
B parameter
C return value
D array
What looks wrong with Question 34?
Send anonymously
Cancel
35
A file of 20 bytes contains this many bits ____
What looks wrong with Question 35?
Send anonymously
Cancel
36
The decimal number 19 written in binary is ____
What looks wrong with Question 36?
Send anonymously
Cancel
37
A variable starts at 7. A loop adds 3 each time it runs, and it runs 6 times. The final value of the variable is ____
What looks wrong with Question 37?
Send anonymously
Cancel
38
An array holds the values [10, 13, 16, 19, 22, 25]. The value at index 1 is ____
What looks wrong with Question 38?
Send anonymously
Cancel
39
A file of 30 bytes contains this many bits ____
What looks wrong with Question 39?
Send anonymously
Cancel
40
The decimal number 29 written in binary is ____
What looks wrong with Question 40?
Send anonymously
Cancel
41
A loop starts a counter at 2 and adds 4 each time while the counter is less than 18. The number of times the loop runs is ____
What looks wrong with Question 41?
Send anonymously
Cancel
42
An array holds the values [10, 13, 16, 19, 22, 25, 28, 31, 34]. The value at index 8 is ____
What looks wrong with Question 42?
Send anonymously
Cancel
43
A file of 5 bytes contains this many bits ____
What looks wrong with Question 43?
Send anonymously
Cancel
44
The decimal number 11 written in binary is ____
What looks wrong with Question 44?
Send anonymously
Cancel
45
A variable starts at 30. A loop adds 5 each time it runs, and it runs 5 times. The final value of the variable is ____
What looks wrong with Question 45?
Send anonymously
Cancel
46
An array holds the values [10, 13, 16, 19, 22, 25]. The value at index 3 is ____
What looks wrong with Question 46?
Send anonymously
Cancel
47
A file of 65 bytes contains this many bits ____
What looks wrong with Question 47?
Send anonymously
Cancel
48
The decimal number 26 written in binary is ____
What looks wrong with Question 48?
Send anonymously
Cancel
49
A variable starts at 15. A loop adds 4 each time it runs, and it runs 4 times. The final value of the variable is ____
What looks wrong with Question 49?
Send anonymously
Cancel
50
An array holds the values [10, 13, 16, 19, 22, 25, 28, 31, 34]. The value at index 5 is ____
What looks wrong with Question 50?
Send anonymously
Cancel