Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
Can you concatenate a string and a float in the same print statement?
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
Which of the following pieces of code is an expression (produces a value)? Hint: An expression is partial code. It produces a value , but does nothing with it.
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
What is a variable?
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
To typecast an integer to a string you would wrap it in what function?
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
float( ) is an example of what type of command?
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
What is the data value type of 12.88
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
Which of the following is NOT an operator?
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
After this code executes, what is the value of the variable foo? foo = input(Hello) foo = World
Hello + World
float
Yes, if you typecast the float to a string
typecast
A container that holds information
str()
World
print()
Check it!