Multiple Choice
Case Study 1:
1. def readFile(filename ) :
2. with open(filename , "r") as dataFile
3. dataDict = {}
4.
5. key = 0
6. for aLine in dataFile:
7. key = key + 1
8. score = int(aLine)
9.
10. dataDict[key] = [score]
11.
12. return dataDict
-Refer to the session in the accompanying Case Study 1. What is the purpose of the program code [score]?
A) It restricts the dictionary score to only hold a list.
B) It allows for multidimensional data points.
C) It uses the absolute value of score.
D) It places the variable score in a cluster.
Correct Answer:

Verified
Correct Answer:
Verified
Q9: What is the problem with the loop
Q10: One of the weaknesses of the K-means
Q11: Once the turtle has been directed to
Q12: Match each definition with its phrase.<br>-A loop
Q13: Longitude values run west-east, with the zero
Q15: Match each definition with its phrase.<br>-Allows loop
Q16: What method is used to set a
Q17: One of the weaknesses of the K-means
Q18: A(n) _ is defined as the mean
Q19: What are the basic steps in the