Question 1
What statement accurately reflects the difference between the quotient operator and the division operator?Correct Answer:
d. Question 2
In the waterfall development model, what is the most expensive part of software development?Correct Answer:
b. Question 3
What function can you call inside of IDLE to show the resources of the math module, once it has been imported?Correct Answer:
c. Question 4
Which of the following functions and expressions will convert the ASCII character "Z" to its numeric equivalent ASCII code?Correct Answer:
a. Question 5
In general, a variable name must begin with either a letter or an underscore (_).Correct Answer:
TrueQuestion 6
A variable associates a name with a value, making it easy to remember and use the value later in a program.Correct Answer:
TrueQuestion 7
Modern software development is usually incremental and iterative.Correct Answer:
TrueQuestion 8
What print statement will output a single '\' character?Correct Answer:
c. Question 9
Expressions provide an easy way to perform operations on data values to produce other data values.Correct Answer:
TrueQuestion 10
1,500 is a valid integer literal in Python.Correct Answer:
FalseQuestion 11
Real numbers have infinite precision, which means that the digits in the fractional part can continue forever.Correct Answer:
TrueQuestion 12
You can use parentheses to change the order of evaluation in an arithmetic expression.Correct Answer:
TrueQuestion 13
string is an example of a data type in Python.Correct Answer:
FalseQuestion 14
How does the int function convert a float to an int?Correct Answer:
b. Question 15
Variables receive their initial values and can be reset to new values with an assignment statement.Correct Answer:
TrueQuestion 16
In Python, \b is a escape sequence that represents a horizontal tab.Correct Answer:
FalseQuestion 17
The cost of developing software is spread equally over the phases.Correct Answer:
FalseQuestion 18
In Python, what data type is used to represent real numbers between -10^308 and 10^308 with 16 digits of precision?Correct Answer:
a. Question 19
In evaluating the precedence rules used by Python, what statement is accurate?Correct Answer:
c. Question 20
What statement accurately describes the analysis phase of the waterfall model?Correct Answer:
c. Question 21
You are reviewing the code written by another programmer, and encounter a variable whose name is entirely in capital letters. What might you discern from this variable name?Correct Answer:
c. Question 22
Functions that are always available in Python come from what module?Correct Answer:
b. Question 23
What effect does the following print statement have? print("Hello" * 5)Correct Answer:
a. Question 24
What is the largest value of an int data type in the Python programming language?Correct Answer:
b. Question 25
Text processing is by far the least common application of computing.Correct Answer:
False
0 comments:
Post a Comment