Mobile apps as a digital solution

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

Mobile apps as a digital solution

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which phone feature would a bus-tracking app mainly use to show you the nearest stop?
A Camera flash
B GPS location
2. A mobile app solves a problem by using phone features to meet a need on the go.
A False
B True
3. A student scans a QR code to join a class activity. Which feature does the app use?
A Camera
B Microphone
4. Which everyday problem is a mobile app well suited to solve?
A Paying for a bus ticket while you are out
B Printing a 50-page report
5. Which is a limit of a mobile app's small screen?
A Less room to show lots of information at once
B It cannot use touch input

Match the Pairs

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

Left columnRight column
1gps.getLocation() AThis ignores connectivity limits. With no signal the app fails, so it should store recent data and show a message when offline.
2camera.scan(barcode) Bif signal == false: showSavedData()
3A mobile app can use touch input so a user can act quickly on a small screen ConTap(bookButton)
4An app must handle poor connectivity because a phone may lose signal on the go DThis ignores the limits of a small screen. The data is too crowded to read or tap, so the app should show less per screen with larger buttons.
5Design: a 12-column table with tiny text on a phone screen EUses the phone's camera to read a code, so a shopper can check a product's price or details quickly
6Bus app: always loads live maps, no offline mode FUses the phone's location sensor so an app can find where the user is, such as for a map or bus tracker

Definitions

mobile app

Fill in the Blanks

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

1.
userLocation ← ___.getPosition()
2.
photo ← ______.takePhoto()
3.
ON ___ searchButton DO showResults(query)
4.
IF signal = "none" THEN saveOffline(order) ____ sendOrder(order)
5.
IF screenWidth _ 400 THEN showMenu("compact")

Spot the Error

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

Question 1
A START ParkingApp
B need ← find a nearby car park
C sensor ← camera
D DISPLAY nearby car parks
Question 2
A app ← TicketScanner
B need ← scan a QR code to pay
C sensor ← GPS
D DISPLAY ticket confirmation
Question 3
A WHEN user clicks mouse on Order
B location ← GPS.getLocation()
C SEND order to cafe
Question 4
A IF signal = none THEN
B SEND data to server
C ELSE
D SEND data to server
E ENDIF
Question 5
A FOR each result in results
B SHOW every column and detail
C END FOR

Answer Key

Mobile apps as a digital solution
Section A: Quick Questions
Q1
B — GPS location
Q2
B — True
Q3
A — Camera
Q4
A — Paying for a bus ticket while you are out
Q5
A — Less room to show lots of information at once
Section B: Match the Pairs
Q1
gps.getLocation() → Uses the phone's location sensor so an app can find where the user is, such as for a map or bus tracker
Q2
camera.scan(barcode) → Uses the phone's camera to read a code, so a shopper can check a product's price or details quickly
Q3
A mobile app can use touch input so a user can act quickly on a small screen → onTap(bookButton)
Q4
An app must handle poor connectivity because a phone may lose signal on the go → if signal == false: showSavedData()
Q5
Design: a 12-column table with tiny text on a phone screen → This ignores the limits of a small screen. The data is too crowded to read or tap, so the app should show less per screen with larger buttons.
Q6
Bus app: always loads live maps, no offline mode → This ignores connectivity limits. With no signal the app fails, so it should store recent data and show a message when offline.
Section C: Definitions
Q1
mobile app — A program on a phone that uses features like GPS, camera and touch to solve a problem or meet a user's need on the go, within limits like screen size and signal.
Section D: Fill in the Blanks
Q1
userLocation ← GPS.getPosition()
Q2
photo ← camera.takePhoto()
Q3
ON TAP searchButton DO showResults(query)
Q4
IF signal = "none" THEN saveOffline(order) ELSE sendOrder(order)
Q5
IF screenWidth < 400 THEN showMenu("compact")
Section E: Spot the Error
Q1
C — Finding nearby car parks needs the phone's location, which comes from the GPS sensor, not the camera. The line should be sensor ← GPS.
Q2
C — Scanning a QR code means capturing an image, so the app uses the phone's camera. GPS only gives location. The line should be sensor ← camera.
Q3
A — Phones are controlled by touch, so the event should be a tap on the screen. A phone has no mouse. The line should be WHEN user taps Order Food.
Q4
B — With no signal the app cannot reach the server, so sending would fail. It should save the data on the phone and send it later. The line should be SAVE data on phone.
Q5
B — A small phone screen cannot fit every column and detail. A good mobile app shows only the key information, such as the title and price.