wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Y9 Assessment 3 Revision Quiz

Total questions: 29

Worksheet time: 14mins

Name
Class
Date
1.
Which of these is not a method for ensuring a program is robust?
a)
Keeping passwords safe
b)
Data Validation
c)
Authentication
d)
Data Sanitisation
2.
Why is code indented?
a)
To group together a function
b)
The code does not use a { syntax and indentation is used instead
c)
To make it easier to read
d)
All of the above
3.
What is data validation?
a)
Checking that the data entered is wrong
b)
Checking that the data entered is correct
c)
Checking that the data entered is sensible or reasonable
4.
Which of these authentication methods is most secure? 
a)
Password
b)
Password and username
c)
Key Card
d)
Physical and Code
5.
Which of these is not a method for authenticating a user?
a)
Password
b)
Password and Username
c)
Finger print scanner
d)
Encryption
6.
A user attempts to enter in an incorrect password, what methodwould identify this issue?
a)
Data Validation
b)
Authentication
c)
Program Comments
d)
Indentation
7.

What are syntax errors? choose two

a)

When the program doesn't do what you want

b)

When programs do not meet the rules or grammar of the language

c)

When you make a spelling mistake

d)

Errors preventing the code running

8.

Syntax error, Logic error or this code is perfect?

a)

Another great program, it is all ok

b)

Syntax error

c)

Logic error

9.

What type of validation would be used on a field to enter a mobile phone number to ensure it contains 11 digits

a)

Spell check

b)

Lookup table

c)

Presence check

d)

Length check

10.

What type of errors are mistakes in the way that the code is written?

a)

Syntax errors

b)

Runtime errors

c)

Logic errors

d)

Memory errors

11.
What logic gate is this?
a)
AND
b)
OR 
c)
NOT
d)
TO
12.
What logic gate is this?
a)
AND 
b)
OR 
c)
NOT 
d)
THE
13.
What logic gate is this?
a)
OR
b)
NOT
c)
AND 
d)
THE
14.
What logic gate is this?
a)
OR
b)
NOT
c)
AND 
d)
THE
15.
What gate is this table for?
a)
AND
b)
OR
c)
NOT
d)
NOR
16.
A NOT gate has......
a)
Two inputs and one input
b)
One input and one output
c)
One input and two outputs
d)
Two inputs and two outputs
17.

What is the output of an AND gate if the inputs are 1 and 0?

a)

ON

b)

2

c)

1

d)

0

18.

Which of the following symbols would need to be used to represent the circuit shown

a)

Λ

b)

¬

c)

V

d)

}

e)

!

19.

What are the missing values of A and B in the truth table?

a)

A = 1, B = 1

b)

A = 0, B = 1

c)

A = 1, B = 0

d)

A = 0, B = 0

20.
What translates assembly language code into machine code?
a)
Assembler
b)
Compiler
c)
Interpreter
21.
Which translates the entire source code in one go?
a)
Assembler
b)
Compiler
c)
Interpreter
22.
What is not a benefit of using an IDE?
a)
Auto-Completion
b)
Syntax checks
c)
Debugger
d)
Auto-Correct
23.
Variables cannot be changed.
a)
False
b)
True
24.
Constants cannot be changed.
a)
True
b)
False
25.
Variable names can't start with a number.
a)
True
b)
False
26.

5.23 would be stored as:

a)

Integer

b)

Real Number

c)

String

d)

Character

e)

Boolean

27.
Comparison Operators
What is >= ?
a)
Greater than
b)
Less than
c)
Greater than or equal to
d)
Less than or equal to
28.

Comparison Operators

What is A > B?

a)

A greater than B

b)

A less than B

c)

Greater than or equal to

d)

Less than or equal to

29.
Comparison Operator
What is <= ?
a)
Greater than
b)
Less than
c)
Greater than or equal to
d)
Less than or equal to