Answer:
During outcomes assessment, data can provide the basis for you and other stakeholders to identify and understand results and to determine if your project has accomplished its goals. Therefore, much care must go into the design of your data collection methods to assure accurate, credible and useful information.
Answer:
def student_minmax(filename):
"""
Description: Reads student names and finds min and max score
Input: Name of the file that has the student data
Output: Dictionary with name as key and value is a list with min and max values
"""
# Dictionary that holds the results
studentDict = {}
# Opening and reading file
with open(filename, "r") as fp:
# Reading data line by line
for line in fp:
# Stripping new line
line = line.strip()
# Splitting into fields
fields = line.split(' ')
# Getting name and scores
name = fields[0]
scores = []
scoresStr = fields[1:]
# Converting to integer
for score in scoresStr:
scores.append(int(score))
# Storing in dictionary
studentDict[name] = []
studentDict[name].append(min(scores))
studentDict[name].append(max(scores))
# Returning dictionary
return studentDict
# Testing function
resDict = student_minmax("d:\\Python\\studentMarks.txt")
# Printing dict
print(resDict)
Explanation:
Answer:
secondary memory is usually used as mass storage.
If you pin the tab it dramatically lowers usage