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.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap Back
3. open “Badges”
4. open “Badges”
How many times must you tap Back to reach the main screen of this tab? - 2.🔢 In a photo-post flow, which comes LAST? (a) take the photo (b) open the camera screen (c) write a caption (d) post the photo
- 3.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) set a due date (d) pick a theme colour
-
4.🧪 What is the ACTUAL result of Test 1?
🚚 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(450) → expected 40
Test 2: delivery(800) → expected 0
Test 3: delivery(600) → expected 0 - 5.📅 An app team plans for 4 days, builds for 5 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
- 6.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) ready to release (c) a nice extra (d) missing a must-have
- 7.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) open the menu (c) check the cart (d) pick a dish
-
8.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(3)); - 9.🎨 UX stands for user ___. (a) example (b) express (c) extra (d) experience
- 10.Which of these is about UI (the look)? (a) the theme colours (b) how users feel after (c) how fast a task is done (d) whether users get lost
-
11.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Riya", "Meera", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Zoya (c) Hi, Arjun (d) Hi, Aman - 12.📅 An app team plans for 3 days, builds for 10 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
13.🧩 How many buttons does this app screen have?
[title] New Note
[button] Done
[button] Help
[switch] Dark mode
[button] Start
[text box] City
[text box] Phone - 14.Which of these is an input? (a) your friends list (b) a date picker (c) tap to Send (d) the settings page
-
15.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 800) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 40
Test 2: delivery(1050) → expected 0
Test 3: delivery(950) → expected 0 - 16.Which of these happens at the test stage? (a) draw the user flow (b) connect the data (c) sketch the screens (d) try every button
-
17.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting homework”?
forgetting homework: 4 votes
no quiet study place: 5 votes
losing water bottles: 19 votes - 18.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write the store text (d) write down the bugs
- 19.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money spent
-
20.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Help
[text box] Age
[button] Save
[text box] Phone
[text box] Name
[slider] Text size - 21.🧭 Why should every screen show where you are? (a) to hide the menu (b) to use more battery (c) to look busy (d) so users do not get lost
-
22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 40; // start at 38
line 2: coins = coins + 3; // add 3
line 3: coins = coins + 6; // add 6
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 23.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) use it on any device (d) never need a password
- 24.🔍 Which is the odd one out? (a) icons with no labels (b) labels on every icon (c) fast-flashing lights (d) tiny tap areas
- 25.True or false: tap to Start is data. (a) True (b) False
- 26.🎯 A short made-up profile of a typical user is called a ___. (a) protocol (b) password (c) pixel (d) persona
-
27.🔀 What does this battery rule show?
let battery = 72;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
28.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 29.True or false: “big touch targets” helps everyone use the app. (a) True (b) False
- 30.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) add a homework task (d) earn stickers
-
31.👆 The user taps the button 5 times. What number does the label show now?
let lives = 1;
button.onTap = function () {
lives = lives + 1;
label.text = lives;
}; -
32.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 32; // start at 32
line 2: lives = lives - 2; // add 2
line 3: lives = lives + 2; // add 2
line 4: lives = lives + 2; // add 2
line 5: show(lives); // show it -
33.🔁 What number does this code show?
let steps = [20, 2, 7, 14, 8];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 34.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) => (d) ===
-
35.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 7; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 1 (c) line 2 -
36.🔁 What number does this code show?
let runs = [30, 64, 42];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 70) {
count = count + 1;
}
}
show(count); -
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 36; // start at 36
line 2: score = score - 4; // add 4
line 3: score = score * 2; // double it
line 4: score = score + 2; // add 2
line 5: show(score); // show it -
38.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 25; // typed by the user
line 2: let qty = 4; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 1 (c) line 4 (d) line 3 -
39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. open “Edit photo”
3. tap the Feed tab
4. tap the Chat tab
5. tap the Feed tab
Which screen are you on now? (a) Edit photo (b) Chat (c) Feed (d) Settings -
40.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 44; // start at 42
line 2: lives = lives * 2; // double it
line 3: lives = lives * 2; // double it
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it
Answer key
- 2
- post the photo
- pick a theme colour
- 40
- 4
- missing a must-have
- open the menu
- 60
- experience
- the theme colours
- Hi, Arjun
- 9
- 3
- a date picker
- 0
- try every button
- 15
- write the store text
- add money spent
- 2
- so users do not get lost
- 94
- use it on any device
- labels on every icon
- False
- persona
- Battery OK
- Ask a parent
- True
- earn stickers
- 6
- 38
- 20
- ===
- line 2
- 0
- 82
- line 3
- Feed
- 336
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students