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.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 37; // start at 35
line 2: points = points + 3; // add 3
line 3: points = points - 3; // take away 3
line 4: show(points); // show it - 2.💡 Which app idea solves this problem: pupils forget due dates? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a homework planner
-
3.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Confirm → Pens
Design B: Home → Shop → Cart → Size → Results - 4.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) background music (c) show the score (d) check the answer
- 5.🔍 Which is the odd one out? (a) the theme colours (b) the button colours (c) the screen layout (d) how easy sign-up is
-
6.🧰 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(3) + fee(9)); - 7.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
- 8.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) a page of random dots (d) a bill splitter
- 9.Which colour pair is easy to read? (a) light grey on white (b) yellow on white (c) red on green (d) white on dark green
- 10.🚀 Which version is newer: 4.8.2 or 4.18.3? (a) 4.8.2 (b) 4.18.3
- 11.🔢 In a photo-post flow, what comes right after “write a caption”? (a) open the camera screen (b) post the photo (c) take the photo (d) add a filter
- 12.True or false: strong colour contrast is good button design. (a) False (b) True
- 13.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) well planned (d) missing a must-have
-
14.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(38)); -
15.💾 What number does this code show?
let points = 6;
points = points - 3;
points = points + 1;
show(points); - 16.🗂️ What kind of app is a torch? (a) a game (b) a tool app (c) a learning app (d) a health app
- 17.💾 In most code, the first item of a list is at position ___. (a) 2 (b) 10 (c) 1 (d) 0
-
18.🗒️ Version 1 of a pocket-money tracker must be ready in 15 days. How many days are left for extras after the must-haves?
add money received: 4 days
add money spent: 1 days
show the balance: 5 days -
19.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 18 px
Title: 21 px
Body text: 17 px - 20.Which of these is a feature? (a) “I forget my homework” (b) a share button (c) “I keep missing the bus” (d) “Small text is hard”
- 21.🎨 Fewer taps to finish a task usually means ___. (a) better UX (b) a bigger app (c) more colours (d) worse UX
-
22.🗒️ Version 1 of a homework planner must be ready in 18 days. How many days are left for extras after the must-haves?
add a homework task: 4 days
set a due date: 4 days
see tasks by day: 4 days - 23.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
- 24.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) see today’s total (c) water animations (d) custom alert sounds
-
25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 51; // start at 50
line 2: score = score - 5; // take away 5
line 3: score = score * 2; // double it
line 4: show(score); // show it -
26.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 56 px tall
Next button: 32 px tall
Done button: 60 px tall (a) Next (b) Done (c) Help - 27.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 3 to 5 (c) 1 (d) 20
- 28.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) tap “Sign up” (c) make a password (d) enter the code sent
- 29.♿ A screen has 12 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 30.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 31.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
-
32.💾 What number does this code show?
let coins = 3;
coins = coins - 2;
coins = coins + 3;
show(coins); -
33.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 35; // start at 35
line 2: coins = coins * 2; // double it
line 3: coins = coins - 5; // take away 5
line 4: coins = coins + 2; // double it
line 5: show(coins); // show it (a) line 4 (b) line 3 (c) line 2 (d) line 1 -
34.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, nameBox.text! (b) Well done, Kabir! (c) Well done! (d) Kabir -
35.🔀 What does this PIN rule show?
let pin = "731";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
36.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(70, 4)); - 37.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) shows the real fonts (d) uses plain grey boxes
- 38.🔍 Which is the odd one out? (a) speaking a command (b) taking a photo (c) a result on screen (d) tapping a button
-
39.🔀 What does this battery rule show?
let battery = 98;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
40.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 14 votes
forgetting homework: 8 votes
missing the bus: 6 votes (a) forgetting homework (b) wasting pocket money (c) missing the bus
Answer key
- 37
- a homework planner
- 3
- background music
- how easy sign-up is
- 20
- makes it harder
- a bill splitter
- white on dark green
- 4.18.3
- post the photo
- True
- missing a must-have
- 114
- 4
- a tool app
- 0
- 5
- 0
- a share button
- better UX
- 6
- a named block of code
- see today’s total
- 90
- Next
- 3 to 5
- open the app
- 10
- a wireframe
- a wireframe
- 4
- line 4
- Well done, Kabir!
- Use 4 digits
- 280
- uses plain grey boxes
- a result on screen
- Battery OK
- wasting pocket money
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students