Evaluation strategy: responsibility

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Evaluation strategy: responsibility

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. In an evaluation strategy, what does the responsibility part state?
A How long the evaluation will take to finish
B Who collects the data and who judges each criterion
2. Which entry is a clear responsibility for the criterion 'The program runs in under 2 seconds'?
A Priya times 5 runs; the project manager judges the results
B The program will be timed during Term 3
3. Why do strategies name who collects data for each criterion?
A So every data collection task has a clear owner and is not missed
B So the data can be collected without any methods
4. Which sentence describes the 'who evaluates' sub-theme?
A The client decides if the data shows the criterion was met
B The tester writes down each run time in a table
5. Can the person who collects the data be different from the person who evaluates it?
A No, one person must always do both jobs
B Yes, for example a tester collects and the client judges

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1Responsibility: Dev team collects load times ANames who collects the data for a criterion, so the measuring task has a clear owner
2Responsibility: Client judges if the outputs are correct BResponsibility is vague. It names no specific person or role, so no one clearly owns collecting the data or judging the criterion.
3Responsibility can split the work: one person collects the data and a different person judges it CResponsibility: Tester records error counts; project manager judges against the criterion
4Responsibility should name a specific person or role for each criterion, not just 'everyone' DCriterion 2 Responsibility: Lead developer measures and evaluates response time
5Responsibility: Everyone will check it somehow ENames who evaluates the results and decides whether the criterion has been met
6Responsibility: Developer collects the data (no one named to judge it) FOnly who collects the data is stated. It does not say who evaluates the data against the criterion.

Definitions

responsibility

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
collector = "Mia" _____ = "Sam"
2.
collector = "Mia" judge = "Sam" print("Data collected by", _________)
3.
owner = {"collect": "Mia", "judge": "Sam"} print(owner["_____"])
4.
judge = "" if judge __ "": print("No owner for this criterion!")
5.
___ showowner(collector, judge): print("Collects:", collector) print("Judges:", judge)

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A strategy = {
B strategy == {
C "collects": "Tester",
D "judges": "Client"
E }
Question 2
A criterion = "Search under 2 sec"
B collector = "Tester"
C judge = Client
D print("Collects:", collector)
E print("Judges:", judge)
Question 3
A responsibility = []
B responsibility["collect"] = "QA"
C responsibility["judge"] = "Client"
Question 4
A tasks = ["Survey", "Timing"]
B owners = ["Tester", "Dev"]
C for i in range(len(tasks)):
D print(tasks[i], owners[i+1])
Question 5
A collector = "Beta tester"
B evaluator = "Project manager'
C if collector == evaluator:
D print("Check for bias")

Answer Key

Evaluation strategy: responsibility
Section A: Quick Questions
Q1
B — Who collects the data and who judges each criterion
Q2
A — Priya times 5 runs; the project manager judges the results
Q3
A — So every data collection task has a clear owner and is not missed
Q4
A — The client decides if the data shows the criterion was met
Q5
B — Yes, for example a tester collects and the client judges
Section B: Match the Pairs
Q1
Responsibility: Dev team collects load times → Names who collects the data for a criterion, so the measuring task has a clear owner
Q2
Responsibility: Client judges if the outputs are correct → Names who evaluates the results and decides whether the criterion has been met
Q3
Responsibility can split the work: one person collects the data and a different person judges it → Responsibility: Tester records error counts; project manager judges against the criterion
Q4
Responsibility should name a specific person or role for each criterion, not just 'everyone' → Criterion 2 Responsibility: Lead developer measures and evaluates response time
Q5
Responsibility: Everyone will check it somehow → Responsibility is vague. It names no specific person or role, so no one clearly owns collecting the data or judging the criterion.
Q6
Responsibility: Developer collects the data (no one named to judge it) → Only who collects the data is stated. It does not say who evaluates the data against the criterion.
Section C: Definitions
Q1
responsibility — The part of an evaluation strategy that names who collects the data and who judges each criterion, so every task has a clear owner.
Section D: Fill in the Blanks
Q1
collector = "Mia" judge = "Sam"
Q2
collector = "Mia" judge = "Sam" print("Data collected by", collector)
Q3
owner = {"collect": "Mia", "judge": "Sam"} print(owner["judge"])
Q4
judge = "" if judge == "": print("No owner for this criterion!")
Q5
def showowner(collector, judge): print("Collects:", collector) print("Judges:", judge)
Section E: Spot the Error
Q1
B — A dictionary holding who collects data and who judges is created with a single = for assignment. == compares values and causes an error here. It should be strategy = {.
Q2
C — The person who judges the criterion is text, so it must be in quotes. Without quotes Python looks for a variable called Client and gives a NameError. It should be judge = "Client".
Q3
A — Roles such as collect and judge are stored by name, so a dictionary is needed. A list cannot take a string key and causes a TypeError. It should be responsibility = {}.
Q4
D — Each task must be paired with its own owner at the same index. owners[i+1] shows the wrong owner and runs off the end of the list on the last task. It should be owners[i].
Q5
B — The string starts with a double quote but ends with a single quote, so it is never closed. It should end with a double quote: evaluator = "Project manager".