Quiz Complete, well Done!
Python provides a built-in function called
that gets user input from the keyboard.
The difference between the actual value and the rounded value of a float is called
.
A reserved word in Python is also known as a
.
local variable
Which of the following is a sensible variable name for a variable that stores a person's age?
In programming, what does it mean for a variable to have a 'scope'?
data type
What is the maximum number of decimal places that can be represented by a single-precision floating-point number in the IEEE 754 standard?
type inference
What does the format specifier '{}' indicate?
Which of the following is NOT a valid variable name in Python?
Which of the following is an example of a valid constant in python?
If you try to change the value of a constant, a
will occur.
Which variable type is used to store true/false values in Python?
Which variable type is used to store decimal numbers in Python?
The
operator is used to invert the value of a boolean.
Which method is used to convert a string to uppercase?
What data types can variables hold?
Which of the following is NOT a valid variable name?
What is the result of '42 + '18'?