Beta testing

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

Beta testing

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Who carries out beta testing?
A Potential users of the solution
B Only the developers who built it
2. Which comes first?
A Beta testing, then alpha testing
B Alpha testing, then beta testing
3. When is beta testing done?
A When the solution is near-finished
B Before any code has been written
4. What is one main purpose of beta testing?
A To check the solution meets requirements
B To write the header comments in the code
5. Which question is a beta tester most likely to answer?
A Is the variable named in snake_case?
B Is the solution easy to use?

Match the Pairs

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

Left columnRight column
1beta testing Atesters = ['Year 10 student', 'teacher', 'parent']
2alpha testing Bresults = {'meets_requirements': True, 'usable': True}
3Beta testers should be potential users of the solution, not the developers who built it CBeta testing happens late, once the solution is near-finished, because users need something working to try.
4Beta testing checks the solution meets its requirements and is usable DTesting done by the developers or the development team before the solution is released to potential users
5Beta testing is done by the developers on their own computers before anyone else sees the solution. EPotential users try the near-finished solution to check it meets requirements and is usable
6Beta testing happens at the start of a project, before any code has been written. FThis describes alpha testing. Beta testing is done by potential users, not the developers.

Definitions

beta testing

Fill in the Blanks

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

1.
___ betatest(solution, testers):
2.
stages = ["alpha", "____", "release"]
3.
stage = "alpha" if developer ____ "beta"
4.
passed = ___(results)
5.
if ___ completed: issues.append(task)

Spot the Error

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

Question 1
A stage = beta
B testers = "potential users"
C if stage == "beta":
D print(testers, "try it")
Question 2
A alpha_by = "developers"
B beta_by = "potential users"
C print("Beta by", alpha_by)
Question 3
A met = 8
B total = 10
C percent = met / total * 100
D print("Met:", percent, "%"
Question 4
A feedback = []
B feedback.add("Too slow")
C for item in feedback:
D print(item)
Question 5
A testers = ["Sam", "Ali"]
B for name in testers
C print(name, "is testing")

Answer Key

Beta testing
Section A: Quick Questions
Q1
A — Potential users of the solution
Q2
B — Alpha testing, then beta testing
Q3
A — When the solution is near-finished
Q4
A — To check the solution meets requirements
Q5
B — Is the solution easy to use?
Section B: Match the Pairs
Q1
beta testing → Potential users try the near-finished solution to check it meets requirements and is usable
Q2
alpha testing → Testing done by the developers or the development team before the solution is released to potential users
Q3
Beta testers should be potential users of the solution, not the developers who built it → testers = ['Year 10 student', 'teacher', 'parent']
Q4
Beta testing checks the solution meets its requirements and is usable → results = {'meets_requirements': True, 'usable': True}
Q5
Beta testing is done by the developers on their own computers before anyone else sees the solution. → This describes alpha testing. Beta testing is done by potential users, not the developers.
Q6
Beta testing happens at the start of a project, before any code has been written. → Beta testing happens late, once the solution is near-finished, because users need something working to try.
Section C: Definitions
Q1
beta testing — Testing where potential users try the near-finished solution to check it meets requirements and is usable. It follows alpha testing, which is done by the developers.
Section D: Fill in the Blanks
Q1
def betatest(solution, testers):
Q2
stages = ["alpha", "beta", "release"]
Q3
stage = "alpha" if developer else "beta"
Q4
passed = all(results)
Q5
if not completed: issues.append(task)
Section E: Spot the Error
Q1
A — The stage is text, so it needs quotes: stage = "beta". Without quotes Python looks for a variable called beta and raises a NameError.
Q2
C — Beta testing is done by potential users, not the developers. The line should print beta_by. Alpha_by holds the developers, who do alpha testing.
Q3
D — The print call is missing its closing bracket. It should end with ) so the percentage of requirements met by the beta testers is displayed.
Q4
B — Lists do not have an add() method. Use feedback.append("Too slow") to store a beta tester's comment in the list.
Q5
B — A for loop header must end with a colon. It should be for name in testers: so each beta tester in the list is processed.