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 does this PIN rule show?
let pin = "25520";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
2.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON - 3.True or false: a button with no action solves a real problem. (a) True (b) False
-
4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 45; // start at 45
line 2: lives = lives + 4; // add 4
line 3: lives = lives * 3; // double it
line 4: lives = lives - 3; // take away 3
line 5: show(lives); // show it (a) line 4 (b) line 2 (c) line 1 (d) line 3 -
5.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting birthdays”?
missing the bus: 17 votes
forgetting homework: 12 votes
forgetting birthdays: 13 votes - 6.Which colour pair is easy to read? (a) black on yellow (b) red on green (c) pale pink on white (d) light grey on white
-
7.🗒️ Version 1 of a water reminder must be ready in 12 days. How many days are left for extras after the must-haves?
set a reminder time: 4 days
log a glass of water: 3 days
see today’s total: 3 days - 8.True or false: the sound on/off setting fits saving on the phone. (a) True (b) False
- 9.True or false: a cricket run chase is a game. (a) False (b) True
-
10.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 11 votes
losing water bottles: 14 votes
wasting pocket money: 9 votes - 11.Which colour pair is easy to read? (a) white on black (b) dark blue on black (c) light grey on white (d) pale pink on white
- 12.💡 Which app idea solves this problem: a patient misses doses? (a) a lost-and-found board (b) a homework planner (c) a medicine reminder (d) a bill splitter
- 13.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
-
14.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(40, 2)); -
15.🗒️ 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 -
16.🔀 Which badge does this quiz app show?
let marks = 69;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver - 17.True or false: a homework photo scanner needs the microphone. (a) True (b) False
- 18.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
- 19.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) show arrival time (d) change the bus icon
- 20.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) many colours (d) a problem to solve
-
21.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
no quiet study place: 8 votes
wasting pocket money: 6 votes
forgetting birthdays: 13 votes -
22.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(32)); - 23.🔀 What does if / else let an app do? (a) save a photo (b) pick one of two actions (c) repeat forever (d) draw a screen
-
24.🔁 What number does this code show?
let runs = [12, 12, 8];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 25.True or false: a water reminder is a health app. (a) True (b) False
-
26.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pay → Menu → Address → Shop
Design B: Home → Cart → Shop → Size (a) Design A (b) Design B - 27.🚀 Which version is newer: 4.3.1 or 4.17.3? (a) 4.17.3 (b) 4.3.1
- 28.♿ A screen has 5 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
- 29.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a big-text reader (b) a pocket-money tracker (c) a water reminder (d) a bus tracker
-
30.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 21 votes
losing water bottles: 7 votes
wasting pocket money: 6 votes (a) forgetting birthdays (b) wasting pocket money (c) losing water bottles -
31.🔁 What number does this code show?
let scores = [3, 8, 6, 20];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
32.🗒️ Version 1 of a pocket-money tracker must be ready in 11 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 3 days
show the balance: 2 days - 33.True or false: a clear word like Save is poor button design. (a) False (b) True
-
34.🔁 What number does this code show?
let runs = [1, 3, 14, 19, 16];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 35.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
- 36.💡 After a survey, which need should version 1 solve? (a) the rarest need (b) the newest trend (c) the most common need (d) a random need
-
37.🗒️ Version 1 of a pocket-money tracker must be ready in 6 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 2 days
show the balance: 2 days -
38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 72 px tall
Save button: 40 px tall
Back button: 48 px tall (a) Next (b) Back (c) Save - 39.🧩 Which input is best for typing your name? (a) a text box (b) a switch (c) a picture (d) a slider
- 40.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a type of font (d) a charging cable
Answer key
- Use 4 digits
- ON
- False
- line 3
- 4
- black on yellow
- 2
- True
- True
- 34
- white on black
- a medicine reminder
- good design
- 80
- 6
- Silver
- False
- a user need
- change the bus icon
- a problem to solve
- 5
- 96
- pick one of two actions
- 32
- True
- Design B
- 4.17.3
- 4
- a water reminder
- forgetting birthdays
- 37
- 4
- False
- 19
- the people who use it
- the most common need
- 1
- Save
- a text box
- the path through screens
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students