Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right 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 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
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.userLocation ← GPS.getPosition()photo ← camera.takePhoto()ON TAP searchButton DO
showResults(query)IF signal = "none" THEN
saveOffline(order)
ELSE
sendOrder(order)IF screenWidth < 400 THEN
showMenu("compact")