If you want to add a third option to if and else, you can use:
(1 point)
Responses
print
print
input
input
alter
alter
elif
elif
What symbol must be used at the end of an if statement?
(1 point)
Responses
:
:
.
.
#
#
“
:
Which word should be used to begin the line of code that will direct the program to do something when a condition is not met?
(1 point)
Responses
if
if
then
then
else
else
input
else
The line after an if statement should begin with what?
(1 point)
Responses
#
#
a print statement
a print statement
a colon
a colon
indentation
indentation
Which key do you press on the keyboard to indent a statement?
(1 point)
Responses
Tab
Tab
Shift
Shift
Enter
Enter
Ctrl
Tab
Use the formula for the volume of a sphere to find the volume of a basketball that has a diameter of 9.2 inches. Use 3.14 as an approximation for pi and round your answer to the nearest hundredth, if necessary.(1 point)
Responses
1,222.54 in.3
1,222.54 in cubed
407.51 in.3
407.51 inches cubed
3,260.11 in.3
3,260.11 inches cubed
115.55 in.3