NEW
Font size
WorksheetsJH U1/L3 Kira- Variables and User Input Lesson
Total questions: 10
Worksheet time: 5mins
What is Data? 2) A ________________ is a type of data used to represent text, or words, in a computer.
string
integer
float
boolean
What is Data? 3) An ________________ is a numeric type of data in computers. Examples are 0, 5, 88, -6, and -15.
integer
string
boolean
character
If you think of a variable as a box, then the label on the box is the ______________ of the variable. What is inside the box is called the ________________ of the variable.
name, value
value, name
type, label
label, type
When you use a print statement, you want the computer to ____________________ something.
output
hide
input
ignore
The name of a variable can’t start with a ___________________.
number
letter
underscore
special character
A common practice with naming variables to make them easily readable is to use an ________________________ between two words.
underscore
hyphen
colon
period
Creating Interactive Programs with Numbers 1) Using the function `int` will convert a string to an ________________.
integer
float
string
boolean
When we use the symbol “*” we want to ____________________ two numbers together.
multiply
divide
subtract
add
When you ask the user to input data, the computer will always interpret the input data as a _________________.
string
integer
boolean
character
What is data? Data are values representing ________ that can be used and edited in a computer program.
information
colors
sounds
numbers only
