NEW
Font size
WorksheetsPaper 2 Revision quiz
Total questions: 27
Worksheet time: 15mins
Which has integer data type?
Phone number
Zip code
HN
Number of students in the class
What will be the output?
name = "Dave"
print (name)
Dave
name
"Dave"
(name)
What is a input?
To plug in something
A function that allows us to ask the user to enter some data
Data displayed on a screen
A routine
A variable must have been assigned (given) a value before that value is referenced (used).
True
False
You assign a value to a variable with which symbol
@
==
=
*
What is the boolean expression for this logic circuit?
Q = NOT (A OR B)
Q = NOT A AND B
NOT A OR B = Q
Q = (NOT A) OR B
This is the truth table for which logic gate?
Which logic gate is this?
AND
NOT
OR
Which logic gate is this?
AND
OR
NOT
Which logic gate is this?
AND
OR
NOT
What will be the output of this program if the user enters "Han" and then "Solo"?
An error
Nothing
first surname
Han Solo
