App Dev Worksheet: Final Test
Developer's tip (Plan, design, build, check): Find the topic: what apps are, designing apps, or logic and building. Read every screen, list or code line carefully, top to bottom. For code, write each value down step by step and check it again.
NameDateTime takenScore ___ / 40
-
1.🔀 What number does this shop app show?
let total = 570;
if (total > 500) {
total = total - 50;
}
show(total); - 2.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a bright colour (c) a sound (d) a text label
-
3.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(1)); - 4.🧭 What does the back button usually do? (a) closes all apps (b) deletes the page (c) opens settings (d) goes to the last screen
- 5.👥 A library app has 285 readers, 250 librarians and 85 volunteers as users. Which user group is the biggest? (a) volunteers (b) librarians (c) readers
- 6.🎨 Is this about UI or UX: whether users get lost? (a) UI (b) UX
-
7.🗒️ Version 1 of a pocket-money tracker must be ready in 13 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 4 days
show the balance: 5 days - 8.💡 How can you check that people really have the problem? (a) ask possible users (b) just guess (c) pick a colour (d) copy another app
- 9.👥 A school app has 165 students, 180 teachers and 25 parents as users. How many users does it have in all?
- 10.🔍 Which is the odd one out? (a) tiny tap areas (b) colour as the only clue (c) big touch targets (d) icons with no labels
- 11.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) people reading the code (c) the battery (d) the app store
-
12.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 32 px tall
Start button: 32 px tall
Help button: 52 px tall - 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) add money received (d) savings stickers
- 14.True or false: a weather-near-me app needs your contacts. (a) False (b) True
- 15.♿ Accessibility means an app works for ___. (a) everyone (b) only experts (c) only the coder (d) nobody
-
16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 34; // start at 34
line 2: score = score + 2; // take away 2
line 3: score = score + 5; // add 5
line 4: score = score * 2; // double it
line 5: show(score); // show it - 17.Which of these requests is fair? (a) quiz app → microphone (b) calculator → location (c) torch → contacts (d) map app → location
- 18.🎨 Is this about UI or UX: how fast a task is done? (a) UX (b) UI
- 19.🗂️ What kind of app is a unit converter? (a) a learning app (b) a game (c) a health app (d) a tool app
-
20.🖼️ In this wireframe (top to bottom), what is right below the search box?
[ top bar ]
[ title text ]
[ search box ]
[ tab bar ] (a) tab bar (b) top bar (c) title text - 21.True or false: a party-invite app for friends needs your location. (a) True (b) False
- 22.👆 What kind of event is this: a 5-minute alarm ends? (a) a load event (b) a timer event (c) a text event (d) a tap event
-
23.🔀 What does this battery rule show?
let battery = 49;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
24.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Search → Pens → Offers
Design B: Home → Pens → Menu → Item → Search → Shop → Offers - 25.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) True (b) False
- 26.🧩 In an app, what is your friends list? (a) a screen (b) a button (c) an input (d) data
-
27.🧩 Which of these is a button on this screen?
[title] Edit Profile
[slider] Brightness
[text box] Name
[button] Cancel
[switch] Remind me
[button] Start
[text box] Subject (a) Subject (b) Remind me (c) Cancel (d) Name - 28.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) a problem to solve (d) many colours
-
29.🔀 What does this PIN rule show?
let pin = "832";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 30.♿ What does a screen reader do? (a) takes photos (b) reads the screen aloud (c) makes text tiny (d) plays music
- 31.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) track the order (c) pick a dish (d) open the menu
-
32.💾 What number does this code show?
let score = 6;
score = score - 3;
score = score + 1;
show(score); -
33.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(13) → expected 100
Test 3: price(11) → expected 50 -
34.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 48; // start at 48
line 2: score = score + 6; // add 6
line 3: score = score * 3; // double it
line 4: score = score * 2; // double it
line 5: show(score); // show it (a) line 1 (b) line 2 (c) line 4 (d) line 3 - 35.👆 A tap handler runs how many times if the user taps 4 times? (a) 8 (b) 4 (c) 1 (d) 0
- 36.👥 A clinic app has 295 patients, 115 doctors and 45 nurses as users. Which user group is the biggest? (a) doctors (b) nurses (c) patients
- 37.Which of these is a button? (a) the log-in page (b) a slider for volume (c) the settings page (d) tap to Send
-
38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 44; // start at 44
line 2: lives = lives - 1; // take away 1
line 3: lives = lives + 4; // add 4
line 4: lives = lives * 3; // double it
line 5: show(lives); // show it (a) line 4 (b) line 2 (c) line 3 (d) line 1 - 39.Which colour pair is easy to read? (a) black on yellow (b) yellow on white (c) dark blue on black (d) light grey on white
-
40.🖼️ In this wireframe (top to bottom), what is right above the search box?
[ filter buttons ]
[ top bar ]
[ Add button ]
[ big picture ]
[ search box ] (a) Add button (b) big picture (c) filter buttons (d) top bar
Answer key
- 520
- a text label
- 60
- goes to the last screen
- readers
- UX
- 3
- ask possible users
- 370
- big touch targets
- people reading the code
- 1
- add money received
- False
- everyone
- 74
- map app → location
- UX
- a tool app
- tab bar
- False
- a timer event
- Battery OK
- 3
- True
- data
- Cancel
- a problem to solve
- Use 4 digits
- reads the screen aloud
- open the menu
- 4
- 100
- line 3
- 4
- patients
- tap to Send
- line 4
- black on yellow
- big picture
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students