1.
In Python, what does the following error mean:
UnicodeError: ASCII [decoding,encoding] error: ordinal not in range(128)
2.
Which of the following statements about the comma (,) operator in Python is true?
3.
Which of the following commands is used to copy an object in Python?
4.
In Python, a function can be written with output parameters by ____________________________________.

  1. Returning a tuple of the results

  2. Passing a mutable object

  3. Passing it in a dictionary that gets mutated


  4.  
5.
In Python, which of the following modules is used to check for a keypress without blocking?
6.
What is the output of the following Python code:
values = [2, 3, 2, 4]
def my_transformation(num):
    return num * * 2

for i in map(my_transformation, values):
    print i
7.
What is the output of the following Python code:
print 0xA + 0xa
8.
What is the output of the follwing Python code:
counter = 1
def doLotsOfStuff():
    global counter
for i in (1, 2, 3):
    counter += 1

doLotsOfStuff()
print counter
9.
NumPy is the fundamental _____________________ used for scientific computing with Python.
10.
In Python, which of the following commands is used to swap the values of two variables?