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.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to confuse users (c) to use up storage (d) to look bigger
- 2.Which of these is true of a wireframe? (a) uses the final pictures (b) uses plain grey boxes (c) looks like the real app (d) has the real colours
-
3.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Size
Design B: Home → Confirm → Search → Cart (a) Design A (b) Design B -
4.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 40
Test 2: delivery(700) → expected 0
Test 3: delivery(800) → expected 0 - 5.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 24 px tall. How many px taller must it be?
-
6.🔁 What number does this code show?
let runs = [11, 18, 1, 6];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 7.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
- 8.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) ready to release (c) a nice extra (d) well planned
- 9.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
-
10.🔀 What number does this shop app show?
let total = 350;
if (total > 500) {
total = total - 50;
}
show(total); -
11.👆 The user taps the button 5 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 - 12.🎯 Why learn about users before you build? (a) to pick a logo (b) to slow it down (c) to make it longer (d) to build what they need
- 13.True or false: the button colours is about UI (the look). (a) False (b) True
-
14.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. tap the Chat tab
3. open “Match report”
Which screen are you on now? (a) Settings (b) Chat (c) Match report (d) Feed - 15.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) never (c) on day one (d) before anything
-
16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 47; // start at 47
line 2: lives = lives * 3; // double it
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 - 17.True or false: a shared to-do list fits saving on the phone. (a) True (b) False
- 18.👥 A library app has 90 readers, 175 librarians and 155 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
-
19.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 20 votes
losing water bottles: 15 votes
forgetting homework: 18 votes - 20.🐞 After fixing a bug you should ___. (a) test it again (b) never test (c) delete the test (d) release at once
-
21.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Zoya")); (a) Zoya (b) Hi, name! (c) greet (d) Hi, Zoya! - 22.Which of these is a button? (a) the settings page (b) your friends list (c) today’s step count (d) tap to Send
-
23.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 6)); - 24.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
25.🔀 What does this battery rule show?
let battery = 96;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
26.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pens → Cart → Confirm → Offers → Size → Item
Design B: Home → Cart → Search → Shop -
27.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(11) + fee(11)); -
28.🧩 How many buttons does this app screen have?
[title] Edit Profile
[button] Cancel
[text box] Due date
[button] Save
[button] Help
[switch] Dark mode - 29.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) see where the bus is (b) change the bus icon (c) rate the driver (d) a dark mode
- 30.🔁 What does a loop do? (a) saves photos (b) draws icons (c) repeats code (d) deletes code
- 31.🗒️ In MVP, the M stands for ___. (a) mobile (b) minimum (c) maximum (d) music
-
32.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
forgetting homework: 24 votes
forgetting birthdays: 18 votes
wasting pocket money: 23 votes - 33.True or false: the log-in page is an input. (a) False (b) True
- 34.True or false: buttons almost touching is good button design. (a) True (b) False
-
35.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 36.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
- 37.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
-
38.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 23 votes
forgetting homework: 4 votes
missing the bus: 12 votes - 39.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) a picture goes here (c) delete this (d) an error
-
40.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(13));
Answer key
- to learn from users soon
- uses plain grey boxes
- Design A
- 3
- 24
- 36
- fair
- missing a must-have
- expected result
- 350
- ON
- to build what they need
- True
- Match report
- after the must-haves
- line 2
- False
- librarians
- 53
- test it again
- Hi, Zoya!
- tap to Send
- 360
- in the cloud
- Battery OK
- 6
- 100
- 3
- see where the bus is
- repeats code
- minimum
- 1
- False
- False
- Ask a parent
- a user need
- real users
- 39
- a picture goes here
- 26
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students