Input, Processing, Output Quiz
The __________ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program.
input()
What is the output of the following command, given that value1 = 2.0 and value2 = 12? print(value1 * value2)
24.0
After the execution of the following statement, the variable price will reference the value __________. price = int(68.549)
68, ROUND DOWN
What is the output of the following print statement? print 'I\'m ready to begin'
I'm ready to begin
What is the output of the following print statement? print('The path is D:\\sample\\test.')
The path is D:\sample\test
In Python, print statements written on separate lines do not necessarily output on separate lines.
True
When using the camelCase naming convention, the first word of the variable name is written in lowercase and the first characters of all subsequent words are written in uppercase.
True
The line continuation character is a
\
After the execution of the following statement, the variable sold will reference the numeric literal value as (n) __________ data type. sold = 256.752
float
A(n) __________ is a name that represents a value stored in the computer's memory
variable Variable VARIABLE