Effectiveness of a solution

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

Effectiveness of a solution

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which statement best describes the effectiveness of a solution?
A How well it does what it was intended to do, with correct, complete and usable results
B How quickly it runs and how little processing time or memory it uses
2. A payroll program calculates every employee's pay with the wrong tax rate. Which criterion is it failing?
A Effectiveness, because the output is not accurate
B Efficiency, because it runs too slowly
3. Which is a sub-theme of judging effectiveness?
A Checking the solution against the functional requirements
B Counting how many lines of code were written
4. A library app lets users search for books but cannot show which books are on loan, which was a listed requirement. What does this show?
A The solution is fully effective because the search works
B The solution is incomplete, so it is less effective
5. Which describes fitness for purpose?
A The solution uses the newest programming language available
B The solution suits the task and users it was designed for

Match the Pairs

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

Left columnRight column
1Effectiveness AHow well a solution does what it was intended to do, giving correct, complete and usable results
2Accuracy of output BThe number of features does not show effectiveness. The solution must produce accurate output and meet the stated requirements and purpose.
3A solution is effective when it meets every functional requirement in the SRS, which can be tested by checking each requirement CPurpose: Order lunch online. Result: Orders placed and paid correctly
4Fitness for purpose means the solution suits the job it was built for, such as a canteen app that lets students order and pay DThis confuses effectiveness with efficiency. Effectiveness is about correct, complete and usable results that meet the purpose, not speed.
5Effectiveness = how fast the program runs ETest: Requirement 4 'Calculate total with GST' - PASS
6Evaluation: The app is effective because it has lots of features FWhether the results the solution produces are correct, such as a GST total that matches a hand calculation

Definitions

Effectiveness

Fill in the Blanks

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

1.
IF actual _ expected THEN DISPLAY "Output is accurate" END IF
2.
__ meetsRequirements = TRUE THEN DISPLAY "Solution is effective" END IF
3.
IF output <> expected THEN _______ "Output is inaccurate" END IF
4.
IF correct = TRUE ___ complete = TRUE THEN DISPLAY "Fit for purpose" END IF
5.
passed ← 18 tests ← 20 accuracy ← passed _ tests * 100

Spot the Error

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

Question 1
A price ← 100
B total ← price + 1.1
C expected ← 110
D IF total = expected THEN
E DISPLAY 'Accurate'
F END IF
Question 2
A INPUT mark
B required ← 50
C IF mark > required THEN
D DISPLAY 'Pass'
E END IF
Question 3
A SET total ← 0
B FOR i ← 1 TO COUNT(marks) - 1
C total ← total + marks[i]
D END FOR
E DISPLAY total / COUNT(marks)
Question 4
A INPUT celsius
B fahr ← celsius * 5 / 9 + 32
C DISPLAY fahr
Question 5
A total ← price + qty
B tax ← total * 0.1
C DISPLAY total + tax

Answer Key

Effectiveness of a solution
Section A: Quick Questions
Q1
A — How well it does what it was intended to do, with correct, complete and usable results
Q2
A — Effectiveness, because the output is not accurate
Q3
A — Checking the solution against the functional requirements
Q4
B — The solution is incomplete, so it is less effective
Q5
B — The solution suits the task and users it was designed for
Section B: Match the Pairs
Q1
Effectiveness → How well a solution does what it was intended to do, giving correct, complete and usable results
Q2
Accuracy of output → Whether the results the solution produces are correct, such as a GST total that matches a hand calculation
Q3
A solution is effective when it meets every functional requirement in the SRS, which can be tested by checking each requirement → Test: Requirement 4 'Calculate total with GST' - PASS
Q4
Fitness for purpose means the solution suits the job it was built for, such as a canteen app that lets students order and pay → Purpose: Order lunch online. Result: Orders placed and paid correctly
Q5
Effectiveness = how fast the program runs → This confuses effectiveness with efficiency. Effectiveness is about correct, complete and usable results that meet the purpose, not speed.
Q6
Evaluation: The app is effective because it has lots of features → The number of features does not show effectiveness. The solution must produce accurate output and meet the stated requirements and purpose.
Section C: Definitions
Q1
Effectiveness — How well a solution does what it was meant to do, giving correct, complete and usable results that meet the requirements and suit its purpose.
Section D: Fill in the Blanks
Q1
IF actual = expected THEN DISPLAY "Output is accurate" END IF
Q2
IF meetsRequirements = TRUE THEN DISPLAY "Solution is effective" END IF
Q3
IF output <> expected THEN DISPLAY "Output is inaccurate" END IF
Q4
IF correct = TRUE AND complete = TRUE THEN DISPLAY "Fit for purpose" END IF
Q5
passed ← 18 tests ← 20 accuracy ← passed / tests * 100
Section E: Spot the Error
Q1
B — Adding 1.1 gives 101.1, not the expected 110, so the output is inaccurate. Adding 10% needs price * 1.1 to give a correct result.
Q2
C — The requirement says a mark equal to the pass mark must pass. Using > wrongly fails a mark of 50, so the solution does not meet the requirement. It should be >=.
Q3
B — The loop skips the last mark, so the total is incomplete and the average is wrong. The loop should run to COUNT(marks) so the output is complete and correct.
Q4
B — The conversion formula is upside down, so the output is inaccurate. Celsius to Fahrenheit is celsius * 9 / 5 + 32.
Q5
A — The total cost is the price multiplied by the quantity. Adding them gives an incorrect result, so the solution is not accurate. It should be price * qty.