Exam 2: Software Development Data Types and Expressions
Exam 1: Introduction50 Questions
Exam 2: Software Development Data Types and Expressions50 Questions
Exam 3: Loops and Selection Statements50 Questions
Exam 4: Strings and Text Files50 Questions
Exam 5: Lists and Dictionaries50 Questions
Exam 6: Design With Functions50 Questions
Exam 7: Simple Graphics and Image Processing50 Questions
Exam 8: Graphical User Interrfaces50 Questions
Exam 9: Design With Classes50 Questions
Exam 10: Multithreading Networks and Client Server Programming50 Questions
Exam 11: Searching Sorting and Complexity Analysis51 Questions
Select questions type
In the maintenance phase of the waterfall model, the parts of a program are brought together into a smoothly functioning whole, usually not an easy task.
Free
(True/False)
4.8/5
(35)
Correct Answer:
False
You are working on a Python script that relies heavily on the cos and sin functions of the math module. As these are the only functions you require, what should you do to import only these functions, rather than the whole math module?
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
D
What statement accurately reflects the difference between the quotient operator and the division operator?
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
D
In Python, what data type is used to represent real numbers between -10^308 and 10^308 with 16 digits of precision?
(Multiple Choice)
4.8/5
(41)
Text processing is by far the least common application of computing.
(True/False)
4.9/5
(27)
What must be done in order to concatenate a string and a float object?
(Multiple Choice)
4.9/5
(46)
What is the largest value of an int data type in the Python programming language?
(Multiple Choice)
4.9/5
(39)
When attempting to produce a correct program, what is the point of developing a test suite?
(Multiple Choice)
4.7/5
(45)
What will be the return value of running the following function? chr(ord('T') + 5)?
(Multiple Choice)
4.7/5
(38)
What function can you call inside of IDLE to show the resources of the math module, once it has been imported?
(Multiple Choice)
4.7/5
(32)
What term describes the process of substituting a simple process for a complex process in a program to make the program easier to understand and maintain?
(Multiple Choice)
4.8/5
(34)
You can use parentheses to change the order of evaluation in an arithmetic expression.
(True/False)
4.9/5
(28)
Which of the following functions and expressions will convert the ASCII character "Z" to its numeric equivalent ASCII code?
(Multiple Choice)
4.8/5
(40)
The + operator allows you to build a string by repeating another string a given number of times.
(True/False)
4.9/5
(41)
Testing is a deliberate process that requires some planning and discipline on the programmer's part.
(True/False)
4.9/5
(31)
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?
(Multiple Choice)
4.9/5
(35)
In Python, a floating-point number must be written using scientific notation.
(True/False)
4.8/5
(40)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)