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.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
-
2.👆 The user taps the button 6 times. What number does the label show now?
let stars = 3;
button.onTap = function () {
stars = stars + 2;
label.text = stars;
}; - 3.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) opens a list of pages (c) switches main sections (d) goes to the last screen
-
4.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(350) → expected 0
Test 2: delivery(100) → expected 40
Test 3: delivery(300) → expected 0 - 5.Which of these is a screen? (a) tap to go Next (b) a box to type a name (c) the settings page (d) tap to Start
- 6.🔍 Which is the odd one out? (a) let friends try it (b) write the store text (c) write down the bugs (d) try every button
-
7.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 4 days
show the score: 5 days - 8.🗂️ What kind of app is a torch? (a) a learning app (b) a tool app (c) a health app (d) a game
-
9.🔁 What number does this code show?
let scores = [31, 52, 84];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); - 10.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) pie-chart colours
- 11.Which of these is a user need? (a) “Small text is hard” (b) a reminder alarm (c) a dark mode switch (d) a search bar
-
12.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(3) + fee(3)); -
13.🔁 What number does this code show?
let steps = [12, 4, 18];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); -
14.🔁 What number does this code show?
let scores = [2, 12, 14];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 15.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
-
16.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Back button: 28 px tall
Start button: 64 px tall
Done button: 56 px tall (a) Done (b) Start (c) Back -
17.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Kabir", "Zoya", "Meera", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Riya (d) Hi, Kabir - 18.🧭 What does the back button usually do? (a) deletes the page (b) opens settings (c) goes to the last screen (d) closes all apps
- 19.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) add a filter
- 20.🔢 In a photo-post flow, which comes first: “write a caption” or “take the photo”? (a) write a caption (b) take the photo
-
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 34; // start at 32
line 2: coins = coins + 5; // add 5
line 3: coins = coins - 4; // take away 4
line 4: coins = coins + 3; // add 3
line 5: show(coins); // show it (a) line 2 (b) line 3 (c) line 4 (d) line 1 - 22.🔐 Which permission does a selfie sticker app really need? (a) the microphone (b) the camera (c) contacts (d) location
- 23.True or false: a bill splitter solves no real problem. (a) False (b) True
- 24.True or false: a final design uses plain grey boxes. (a) False (b) True
- 25.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) pick a dish (c) check the cart (d) open the menu
-
26.🔀 What does this battery rule show?
let battery = 22;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 27.🧭 Why should every screen show where you are? (a) to use more battery (b) to look busy (c) to hide the menu (d) so users do not get lost
- 28.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 29.Which of these is an input? (a) a box to type a name (b) tap to Start (c) the log-in page (d) the settings page
- 30.👥 A school app has 85 students, 60 teachers and 150 parents as users. Which user group is the biggest? (a) parents (b) teachers (c) students
- 31.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) tap “Start quiz” (b) read a question (c) pick an answer (d) see the final score
- 32.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
- 33.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) take the photo (b) post the photo
- 34.True or false: a walking map needs your location. (a) False (b) True
-
35.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 43; // start at 43
line 2: points = points * 2; // double it
line 3: points = points - 4; // take away 4
line 4: points = points - 6; // add 6
line 5: show(points); // show it - 36.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) pick your bus stop (d) change the bus icon
- 37.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
- 38.Which of these is about UX (the experience)? (a) the theme colours (b) the button colours (c) whether users get lost (d) the icon shapes
- 39.📱 Where do people usually download phone apps from? (a) a printer (b) an app store (c) a web server (d) a charger
-
40.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[button] Cancel
[button] Start
[text box] Subject
[button] Help
[switch] Sound
Answer key
- UI
- 15
- opens a list of pages
- 2
- the settings page
- write the store text
- 1
- a tool app
- 2
- pie-chart colours
- “Small text is hard”
- 0
- 18
- 28
- UX
- Back
- Hi, Riya
- goes to the last screen
- open the camera screen
- take the photo
- line 1
- the camera
- False
- False
- open the menu
- Battery OK
- so users do not get lost
- on the phone
- a box to type a name
- parents
- see the final score
- helps everyone
- take the photo
- True
- 76
- pick your bus stop
- test it again
- whether users get lost
- an app store
- 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students