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.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) change the bus icon (c) see where the bus is (d) pick your bus stop
- 2.Which of these is true of a final design? (a) shows where things go (b) has no real colours (c) has the real colours (d) uses plain grey boxes
- 3.Which of these happens at the test stage? (a) spot a problem to solve (b) try every button (c) write the store text (d) share the download link
-
4.🔀 Which badge does this quiz app show?
let marks = 57;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver -
5.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(10) → expected 50
Test 3: price(20) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 -
6.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Edit photo”
2. tap the Feed tab
3. open “Match report”
4. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
7.🔀 What number does this shop app show?
let total = 720;
if (total > 500) {
total = total - 50;
}
show(total); - 8.Which of these is true of a website? (a) updates from the store (b) comes from an app store (c) is installed on a phone (d) opens in a web browser
- 9.True or false: “strong colour contrast” helps everyone use the app. (a) False (b) True
- 10.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
-
11.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 35; // start at 35
line 2: points = points * 3; // double it
line 3: points = points - 2; // take away 2
line 4: points = points * 2; // double it
line 5: show(points); // show it -
12.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 50
Test 2: price(18) → expected 100
Test 3: price(13) → expected 100 (a) Test 3 (b) Test 1 (c) Test 2 - 13.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to confuse users (d) to learn from users soon
- 14.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
-
15.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ Save button ]
[ top bar ]
[ big picture ]
[ filter buttons ] - 16.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) makes it harder (b) helps everyone
-
17.🔀 Which badge does this quiz app show?
let marks = 77;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold -
18.🧩 Which of these is a button on this screen?
[title] New Note
[button] Start
[text box] Email (a) Email (b) Start -
19.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(5) → expected Try again (a) Test 3 (b) Test 1 (c) Test 2 - 20.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a bug fix (c) a new app (d) a big redesign
- 21.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) sends back a value (d) repeats the code
-
22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 48; // start at 46
line 2: points = points + 3; // add 3
line 3: points = points + 6; // add 6
line 4: show(points); // show it - 23.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
-
24.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Edit photo”
3. open “Friend list”
4. tap Back
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 25.🔍 Which is the odd one out? (a) icons with no labels (b) colour as the only clue (c) fast-flashing lights (d) labels on every icon
- 26.True or false: a medicine reminder solves a real problem. (a) True (b) False
-
27.⚙️ What number does this app show?
let price = 50; // typed by the user
let qty = 3; // typed by the user
let total = price * qty;
show(total); - 28.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) never need a password (d) use it on any device
- 29.True or false: a final design shows where things go. (a) True (b) False
-
30.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(40, 6)); -
31.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
wasting pocket money: 13 votes
no quiet study place: 24 votes
forgetting homework: 23 votes - 32.True or false: a flashcard trainer is a learning app. (a) False (b) True
-
33.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(31)); -
34.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(17) → expected 100
Test 3: price(10) → expected 50 - 35.👥 A clinic app has 75 patients, 115 doctors and 245 nurses as users. How many users does it have in all?
- 36.True or false: an app opens from a link. (a) True (b) False
- 37.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) pick your bus stop (c) show arrival time (d) see where the bus is
- 38.🔢 In a sign-up flow, which comes first: “open the app” or “see the home screen”? (a) see the home screen (b) open the app
-
39.🔁 What number does this code show?
let marks = [19, 17, 6, 7, 9];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 40.🗒️ 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
Answer key
- change the bus icon
- has the real colours
- try every button
- Silver
- Test 1
- 2
- 670
- opens in a web browser
- True
- a user need
- 136
- Test 3
- to learn from users soon
- repeats code
- 5
- helps everyone
- Silver
- Start
- Test 2
- a bug fix
- sends back a value
- 55
- No
- 0
- labels on every icon
- True
- 150
- use it on any device
- False
- 240
- 10
- True
- 93
- 3
- 435
- False
- a dark mode
- open the app
- 19
- see today’s total
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students