Worksheets# REVIEW 1 DATA TYPES
Total questions: 15
Worksheet time: 8mins
What data type is: "Dingwall Academy"?
String
Integer
Float
Boolean
What type of error is displayed here?
logic
syntax
execution
What data type is: 0.784?
String
Integer
Float
Boolean
What do we call a memory space created to store a value?
data type
String
Variable
identifier
In which line is the error in this code?
Line 1
Line 2
What do we call this piece of code: #Get name and assign
Line code
White space
readable code
commentary
What code is used to get data from the user?
print()
input()
#Get data from user
data = num1 + num2
What data type is: 2345?
String
Integer
Float
Boolean
What is the output from this code?
6
9
3 6
numberThree 6
What code is used to display on the screen?
print()
input()
#Send to display
display()
What is the output from this code if 5 is entered?
30
25
5 + 5
25 5
What type of value can be True or False
boolean
string
integer
float
What can you add to your code to make it more readable?
Line code
White space
readable code
dictionary
What is the output from this code?
numberOne + numberTwo
numberOnenumberTwo
26
8
The term used to describe taking a value from the keyboard and storing it as a variable is...
storage
assignment
memory
equals
