Constraints on a solution

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

Constraints on a solution

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which one is a constraint on a school app project?
A The app must be finished in 4 weeks
B The app shows the lunch menu
2. A team has a budget of $0 and can only use free tools. What is this?
A A budget constraint
B A functional requirement
3. True or false: A constraint is a feature the solution must do.
A True
B False
4. Which one is a technical constraint?
A The program must let users save their score
B The program must run on the school's old tablets
5. Your team only knows block coding. What type of constraint is this?
A A skills constraint
B A time constraint

Match the Pairs

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

Left columnRight column
1Constraint: finish in 3 weeks ARequirement: show the bus times Constraint: use only free software
2Constraint: budget of $200 BA time limit on how long the team has to build the solution
3A technical limit: the solution must run on the school's old laptops CA cost limit on what can be spent on the solution
4A constraint is different from a requirement: it limits how you build, not what the solution does DThis is a feature or functional requirement, not a constraint. A constraint is a limit such as time, cost, skills, devices or software.
5Constraint: the app must have a quiz feature EConstraint: must work on old laptops
6Constraint: our team has no coding skills, so we can ignore this FSkills are a real constraint. Ignoring a limit on skills or resources leads to a plan the team cannot finish.

Definitions

constraint

Fill in the Blanks

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

1.
__________: Only 2 weeks to build the app
2.
___________: The app shows the quiz score Constraint: Only school laptops can be used
3.
Constraint: The budget is only $20 Type: ____
4.
Constraint: Must run on old school tablets Type: ______
5.
Constraint: The team only knows Scratch Type: ______

Spot the Error

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

Question 1
A Project: Homework planner app
B Constraint: Budget is $50
C Feature: Must run on iPads
D Requirement: Shows due dates
Question 2
A Project: Class quiz website
B Constraint: Unlimited time
C Plan: Week 1 design
D Plan: Weeks 2-3 build and test
Question 3
A Project: Class photo gallery
B Team skill: HTML and CSS only
C Budget: $0
D Constraint: Buy new tools
Question 4
A Requirement: App shows scores
B Requirement: Users can log in
C Constraint: App sends reminders
D Constraint: Budget is $100
Question 5
A Budget constraint: $40
B Buy: drawing tool for $60
C Money left: $10

Answer Key

Constraints on a solution
Section A: Quick Questions
Q1
A — The app must be finished in 4 weeks
Q2
A — A budget constraint
Q3
B — False
Q4
B — The program must run on the school's old tablets
Q5
A — A skills constraint
Section B: Match the Pairs
Q1
Constraint: finish in 3 weeks → A time limit on how long the team has to build the solution
Q2
Constraint: budget of $200 → A cost limit on what can be spent on the solution
Q3
A technical limit: the solution must run on the school's old laptops → Constraint: must work on old laptops
Q4
A constraint is different from a requirement: it limits how you build, not what the solution does → Requirement: show the bus times Constraint: use only free software
Q5
Constraint: the app must have a quiz feature → This is a feature or functional requirement, not a constraint. A constraint is a limit such as time, cost, skills, devices or software.
Q6
Constraint: our team has no coding skills, so we can ignore this → Skills are a real constraint. Ignoring a limit on skills or resources leads to a plan the team cannot finish.
Section C: Definitions
Q1
constraint — A limit on how a solution can be made, such as time, cost, skills, devices or software. A constraint is not a feature; it limits what you can build.
Section D: Fill in the Blanks
Q1
Constraint: Only 2 weeks to build the app
Q2
Requirement: The app shows the quiz score Constraint: Only school laptops can be used
Q3
Constraint: The budget is only $20 Type: cost
Q4
Constraint: Must run on old school tablets Type: device
Q5
Constraint: The team only knows Scratch Type: skills
Section E: Spot the Error
Q1
C — Having to run on school iPads is a device limit, so it is a constraint. The line should start with 'Constraint:', not 'Feature:'.
Q2
B — A constraint is a limit. 'Unlimited time' is not a limit. It should be a real time limit such as 'Finish in 3 weeks', which matches the plan.
Q3
D — The budget is $0, so the team cannot buy tools. The constraint should say 'Use free tools'.
Q4
C — Sending reminders is something the app does, so it is a requirement, not a constraint. A constraint is a limit, such as 'Done by May'.
Q5
B — A $60 tool is over the $40 budget, and it would not leave $10. The tool must cost $30 to stay within the constraint.