Question: Question 1 0 . 5 pts Which statement makes the code in the math module available? Group of answer choices use math allow math import

Question 10.5 pts
Which statement makes the code in the math module available?
Group of answer choices
use math
allow math
import math
include math
Flag question: Question 2
Question 20.5 pts
A _____ is a word that is part of the Python language and can't be used as a variable name.
Group of answer choices
keyword
special token
syntax symbol
stylized word
Flag question: Question 3
Question 30.5 pts
Which print statement would display 'C:\Users\Mika\grades.txt'(without the single quotes)?
Group of answer choices
print(r'C:\/Users\/Mika\/grades.txt')
print(r'C:\'Users\'Mika\'grades.txt')
print(r'C:\Users\Mika\grades.txt')
print(r'C:\\Users\\Mika\\grades.txt')
Flag question: Question 4
Question 40.5 pts
Assume a and b are variables that hold the base and height of a right triangle. The length of the long side (hypotenuse) is calculated as the square root of a^2+ b^2. Which expression calculates the length of the hypotenuse?
Group of answer choices
math.square_root(a * a + b * b)
math.sqrt(math.pow(a * a), math.pow(b * b))
math.sqrt(math.pow(a,2))+ math.pow(b,2)))
math.pow(math.sqrt(a),2)+ math.pow(math.sqrt(b),2)
Flag question: Question 5
Question 50.5 pts
Which of the following is not a valid expression? Assume x and y are integer variables.
Group of answer choices
x /(y *7)
y / x *2
2x +3y
(x -3*y)
Flag question: Question 6
Question 60.5 pts
A language is called _____ when upper case letters in identifiers are considered different from lower case letters.
Group of answer choices
unambiguous
case sensitive
case strict
camel case
Flag question: Question 7
Question 70.5 pts
What is the value of 11//2?
Group of answer choices
5
6
0
-5
Flag question: Question 8
Question 80.5 pts
Which print statement displays the value of a variable called argv in a module called sys?
Group of answer choices
print(argv in sys)
print(sys.argv)
print(sys_argv)
print(module sys var argv)
Flag question: Question 9
Question 90.5 pts
An item passed to a function is a(n)_____.
Group of answer choices
argument
instruction
call
module
Flag question: Question 10
Question 100.5 pts
Assigning a value to a floating point variable that is too large for the computer to represent is a condition called _____.
Group of answer choices
bit error
overflow
overcapacity
system error
Flag question: Question 11
Question 110.5 pts
Which statement is equivalent to the following assignment?
x -=2+ y
Group of answer choices
x =2+ y - x
x =-(2+ y)
x = x -(2+ y)
x = x -2+ y
Flag question: Question 12
Question 120.5 pts
Which expression gives the number of whole minutes that corresponds to some number of seconds?
Group of answer choices
seconds %60
seconds /60
seconds *60
seconds //60
Flag question: Question 13
Question 130.5 pts
Which of the following statements has a syntax error? Assume age and years are variables that have already been defined.
Group of answer choices
age = years -2
age +2= years
age =17-2
age =-15
Flag question: Question 14
Question 140.5 pts
15_____3=5.0
Group of answer choices
%
^
/
//
Flag question: Question 15
Question 150.5 pts
Objects like integers and strings that can't be modified are called _____.
Group of answer choices
immutable
mutable
frozen
set
Flag question: Question 16
Question 160.5 pts
The special two-item character sequence that represents special characters like
is known as a(n)_____.
Group of answer choices
backslash code
escape sequence
unicode spec
literal character
Flag question: Question 17
Question 170.5 pts
Which of the following identifiers is valid?
Group of answer choices
max_age
32area
transfer$
True
Flag question: Question 18
Question 180.5 pts
Which expression using parentheses is equivalent to the following expression:
x - y *-z /3
Group of answer choices
(x - y)*((-z)/3))
x -((y *(-z))/3)
x -(y *((-z)/3))
(x -(y *(-z)))/3
Flag question: Question 19
Question 190.5 pts
What is the
ending value of z?
x =0.3
z = math.pow(math.ceil(x),2)
Group of answer choices
0.0
0.09
1.0
1.09
Flag question: Question 20
Question 200.5 pts
According to Python's precedence rules, which of the following operators has the highest precedence?
Group of answer choices
subtraction -
unary -
*
+Question 10.5 pts
Which statement makes the code in the math module available?
Group of answer choices
use math
allow math
import math
include math
Flag question: Question 2
Question 20.5 pts
A _____ is a word that is part of the Python language and can't be used as a variable name.
Group of answer choices
keyword
special token
syntax symbol
stylized word
Flag question: Question 3
Question 30.5 pts
Which print statement would display 'C:\Users\Mika\grades.txt'(without the single quotes)?
Group of answer choices
print(r'C:\/Users\/Mika\/grades.txt')
print(r'C:\'Users\

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!