Question: 411 Multiple Choice 1. Where mathematicians use subscripting, computer programmers use a) slicing b) indexing c) Python d) caffeine 2. Which of the following is
411 Multiple Choice 1. Where mathematicians use subscripting, computer programmers use a) slicing b) indexing c) Python d) caffeine 2. Which of the following is not a built-in sequence operation in Python? a) sorting b) concatenation c) slicing d) repetition 3. The method that adds a single item to the end of a list is a) extend b) add c) plus d) append 4. Which of the following is not a Python list method? a) index b) insert c) get d) pop 5. Which of the following is not a characteristic of a Python list? a) It is an object. b) It is a sequence. c) It can hold objects. d) It is immutable. 6. Which of the following expressions correctly tests if x is even? a) x % 2 == 0 b) even(x) c) not odd(x) d) x % 2 == x 7. The parameter xbar in stdDev is what? a) median b) mode c) spread d) mean a) reverse 8. What keyword parameter is used to send a key-function to the sort method? b) reversed c) cmp d) key 9. Which of the following is not a dictionary method? a) get b) keys c) sort d) clear 10. The items dictionary method returns a(n) a) int b) sequence of tuples c) bool d) dictionary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
