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.True or false: strong colour contrast is good button design. (a) False (b) True
-
2.🖼️ How many parts (boxes) does this wireframe have?
[ Add button ]
[ list of items ]
[ Save button ]
[ tab bar ]
[ big picture ]
[ search box ] -
3.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(2) + fee(11)); - 4.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) yellow on white (d) pale pink on white
-
5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 13 votes
forgetting homework: 20 votes
forgetting birthdays: 4 votes (a) no quiet study place (b) forgetting birthdays (c) forgetting homework - 6.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 7.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) MVP (c) CPU (d) FAQ
-
8.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
add a homework task: 4 days
set a due date: 1 days
see tasks by day: 5 days -
9.🔁 What number does this code show?
let scores = [5, 16, 17, 5];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 10.Which of these is an input? (a) tap to Send (b) a slider for volume (c) your saved notes (d) the game-over page
- 11.🔍 Which is the odd one out? (a) fast-flashing lights (b) tiny tap areas (c) icons with no labels (d) big touch targets
- 12.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 4 (c) 5 (d) 1
- 13.True or false: a wireframe shows the real fonts. (a) True (b) False
- 14.🗂️ What kind of app is a racing challenge? (a) a health app (b) a tool app (c) a learning app (d) a game
-
15.🔁 What number does this code show?
let scores = [77, 38, 77];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); -
16.🔁 What number does this code show?
let runs = [64, 94, 31];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 50) {
count = count + 1;
}
}
show(count); - 17.🔘 Our rule: buttons are at least 48 px tall. The Done button is 32 px tall. How many px taller must it be?
- 18.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) has a web address (d) comes from an app store
- 19.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to slow it down (d) to make it longer
-
20.🖼️ In this wireframe (top to bottom), what is right below the Save button?
[ list of items ]
[ Save button ]
[ filter buttons ]
[ big picture ]
[ top bar ] (a) list of items (b) filter buttons (c) top bar (d) big picture -
21.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(7) → expected 50
Test 2: price(10) → expected 100
Test 3: price(12) → expected 100 - 22.Which colour pair is easy to read? (a) pale pink on white (b) light grey on white (c) yellow on white (d) white on dark green
-
23.💾 What number does this code show?
let score = 6;
score = score - 5;
score = score + 3;
show(score); -
24.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[button] Help
[button] Send
[slider] Volume
[text box] Subject
[switch] Sound - 25.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 0, 1, 2, 3
- 26.🔢 In a sign-up flow, which comes LAST? (a) type name and email (b) see the home screen (c) enter the code sent (d) tap “Sign up”
- 27.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) well planned (c) a nice extra (d) missing a must-have
- 28.True or false: a website is installed on a phone. (a) False (b) True
-
29.🧩 How many buttons does this app screen have?
[title] Edit Profile
[button] Start
[switch] Remind me
[text box] Phone -
30.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 52 px tall
Save button: 56 px tall
Start button: 36 px tall (a) Help (b) Start (c) Save -
31.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 40; // start at 40
line 2: score = score + 2; // double it
line 3: score = score + 3; // add 3
line 4: show(score); // show it -
32.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age < 8) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(16) → expected 100
Test 3: price(6) → expected 50 -
33.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age < 9) {
return 50;
}
return 100;
}
Test 1: price(10) → expected 100
Test 2: price(11) → expected 100
Test 3: price(7) → expected 50 -
34.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 2 days
see today’s total: 4 days - 35.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) show the balance (c) pie-chart colours (d) add money received
- 36.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) see where the bus is (c) a dark mode (d) pick your bus stop
- 37.True or false: a date picker is a screen. (a) True (b) False
-
38.🔀 What number does this shop app show?
let total = 210;
if (total > 500) {
total = total - 50;
}
show(total); - 39.True or false: a pocket-money tracker is the best fit for a reader who finds small print hard. (a) True (b) False
- 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) share your streak (d) set a reminder time
Answer key
- True
- 6
- 20
- dark blue on white
- forgetting homework
- 6
- MVP
- 3
- 17
- a slider for volume
- big touch targets
- 5
- False
- a game
- 2
- 2
- 16
- has a web address
- to build what they need
- filter buttons
- 3
- white on dark green
- 4
- 3
- 0, 1, 2
- see the home screen
- missing a must-have
- False
- 1
- Start
- 83
- 3
- 3
- 6
- pie-chart colours
- a dark mode
- False
- 210
- False
- share your streak
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students