Legal constraints

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

Legal constraints

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which of these is a legal constraint on a software solution?
A The solution must comply with the Privacy Act 1988 when storing customer details
B The solution should use a blue colour scheme because the client likes it
2. A developer wants to use a photo found on a website in their app. What does copyright law generally require?
A Permission or a suitable licence from the copyright owner
B Nothing, because anything on the internet is free to use
3. A school app collects student names and addresses. Which type of legal constraint applies most directly?
A Privacy law
B Software licensing law
4. A legal constraint is best described as:
A A preference the client can choose to ignore
B A law or regulation the solution must obey
5. A team uses an open-source library with a licence that requires attribution. What must they do?
A Remove the licence text and claim the code as their own
B Follow the licence terms and credit the original author

Match the Pairs

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

Left columnRight column
1Privacy Act 1988 (Cwlth) ALicensing terms that limit how third-party code or assets can be copied, changed or redistributed in the solution
2Copyright licence: MIT or GPL BImages found online are still protected by copyright, so the developer needs permission or a suitable licence to use them.
3A legal constraint can come from industry regulations, such as a payment card standard that sets how card data must be handled CA privacy law the solution must obey when it collects, stores, uses or discloses personal information
4A legal constraint written in an SRS names the law and says what the solution must do to obey it DConstraint: must comply with PCI DSS when storing card details
5Constraint: the app can ignore copyright because the images were found online ELegal constraints are mandatory, not optional. A low budget does not remove the need to obey privacy law.
6Constraint: privacy law is optional if the budget is small FConstraint: user data must be collected only with consent (Privacy Act 1988)

Definitions

legal constraint

Fill in the Blanks

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

1.
// _________ Act 1968 protects creators
2.
IF consent = TRUE ____ SAVE data
3.
IF licensed ___ paid THEN USE library
4.
IF data = "health" THEN _______ record
5.
IF age > 7 THEN ______ record

Spot the Error

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

Question 1
A GET imageLicence
B IF imageLicence = "none" THEN
C DISPLAY "Image allowed"
D END IF
Question 2
A GET userConsent
B IF userConsent = FALSE THEN
C SAVE email TO database
D END IF
Question 3
A GET cardNumber
B SEND cardNumber TO bank
C STORE cvv IN database
D DISPLAY "Payment done"
Question 4
A SET keepYears = 7
B IF recordAge > keepYears THEN
C KEEP record forever
D END IF
Question 5
A GET songLicence
B IF songLicence = "CC-BY" THEN
C PLAY song
D HIDE creditToArtist
E END IF

Answer Key

Legal constraints
Section A: Quick Questions
Q1
A — The solution must comply with the Privacy Act 1988 when storing customer details
Q2
A — Permission or a suitable licence from the copyright owner
Q3
A — Privacy law
Q4
B — A law or regulation the solution must obey
Q5
B — Follow the licence terms and credit the original author
Section B: Match the Pairs
Q1
Privacy Act 1988 (Cwlth) → A privacy law the solution must obey when it collects, stores, uses or discloses personal information
Q2
Copyright licence: MIT or GPL → Licensing terms that limit how third-party code or assets can be copied, changed or redistributed in the solution
Q3
A legal constraint can come from industry regulations, such as a payment card standard that sets how card data must be handled → Constraint: must comply with PCI DSS when storing card details
Q4
A legal constraint written in an SRS names the law and says what the solution must do to obey it → Constraint: user data must be collected only with consent (Privacy Act 1988)
Q5
Constraint: the app can ignore copyright because the images were found online → Images found online are still protected by copyright, so the developer needs permission or a suitable licence to use them.
Q6
Constraint: privacy law is optional if the budget is small → Legal constraints are mandatory, not optional. A low budget does not remove the need to obey privacy law.
Section C: Definitions
Q1
legal constraint — A law or regulation a solution must obey, such as privacy law, copyright and licensing rules, or industry regulations. It limits what the software can do and how it handles data.
Section D: Fill in the Blanks
Q1
// Copyright Act 1968 protects creators
Q2
IF consent = TRUE THEN SAVE data
Q3
IF licensed AND paid THEN USE library
Q4
IF data = "health" THEN ENCRYPT record
Q5
IF age > 7 THEN DELETE record
Section E: Spot the Error
Q1
C — Copyright law means an image with no licence cannot be used. The line should block the image, for example DISPLAY "Image blocked", not allow it.
Q2
B — Privacy law says personal information is collected only with consent. The email should be saved when consent is TRUE, not when it is FALSE.
Q3
C — Payment card industry rules forbid storing the security code (CVV) after payment. It should be deleted after the payment, not stored.
Q4
C — Privacy law requires personal information to be destroyed once it is no longer needed. Records older than the retention period should be deleted, not kept forever.
Q5
D — A CC-BY licence allows use only if the creator is credited. The artist credit must be displayed, not hidden.