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 stars = 37; // start at 37
line 2: stars = stars * 2; // double it
line 3: stars = stars - 6; // take away 3
line 4: stars = stars + 3; // add 3
line 5: show(stars); // show it -
2.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 38; // start at 37
line 2: points = points * 2; // double it
line 3: points = points * 2; // double it
line 4: points = points + 6; // add 6
line 5: show(points); // show it - 3.🔍 Which is the odd one out? (a) strong colour contrast (b) tiny tap areas (c) labels on every icon (d) text that can grow
-
4.🔀 What does this battery rule show?
let battery = 45;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 5.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
- 6.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) see where the bus is (b) a dark mode (c) change the bus icon (d) rate the driver
- 7.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 0 (c) 2 (d) 1
- 8.🗂️ What kind of app is a puzzle with levels? (a) a learning app (b) a game (c) a tool app (d) a health app
-
9.🔁 What is the LAST line this code shows?
let names = ["Meera", "Arjun", "Riya", "Zoya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Arjun (c) Hi, Aman (d) Hi, Meera - 10.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
- 11.🎯 Which app would help this user most: a student who often misses the school bus? (a) a big-text reader (b) a pocket-money tracker (c) a recipe finder (d) a bus tracker
- 12.🗒️ What is a must-have feature? (a) a sound effect (b) a colour theme (c) a nice extra (d) one the app cannot skip
- 13.Which of these is data? (a) your friends list (b) a switch for dark mode (c) a box to type a name (d) the game-over page
- 14.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) release an update (c) test it again (d) list what to fix
- 15.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) easy to build (c) very small (d) finished fast
-
16.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(200) → expected 40
Test 2: delivery(400) → expected 0
Test 3: delivery(450) → expected 0 (a) Test 2 (b) Test 3 (c) Test 1 -
17.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 18.🎯 Is this a user need or a feature: a reminder alarm? (a) a feature (b) a user need
-
19.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(5) → expected 50
Test 3: price(11) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 - 20.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) add money spent (d) pie-chart colours
- 21.Which colour pair is easy to read? (a) light grey on white (b) red on green (c) yellow on white (d) dark blue on white
-
22.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. open “Friend list”
3. tap Back
4. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? - 23.True or false: space between buttons is poor button design. (a) True (b) False
- 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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 38; // start at 38
line 2: points = points - 2; // take away 2
line 3: points = points - 6; // take away 5
line 4: points = points + 3; // add 3
line 5: show(points); // show it (a) line 4 (b) line 3 (c) line 1 (d) line 2 -
26.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(4)); -
27.🔀 What does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
28.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(45, 2)); - 29.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) see tasks by day (d) earn stickers
- 30.🧪 A test case is an input together with its ___. (a) expected result (b) app icon (c) screen colour (d) font size
- 31.True or false: the theme colours is about UI (the look). (a) True (b) False
- 32.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
-
33.👆 The user taps the button 6 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 - 34.Which of these is processing? (a) a pop-up message (b) speaking a command (c) sorting the scores (d) a buzz (vibration)
-
35.🔀 Which badge does this quiz app show?
let marks = 31;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 36.📅 An app team plans for 3 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
- 37.🔍 Which is the odd one out? (a) a beep sound (b) a result on screen (c) typing your age (d) a buzz (vibration)
- 38.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) has a web address (d) is installed on a phone
-
39.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Offers → Cart
Design B: Home → Search → Results → Confirm → Offers - 40.🗒️ When should nice-to-have features be built? (a) never (b) on day one (c) before anything (d) after the must-haves
Answer key
- 71
- 158
- tiny tap areas
- Battery OK
- an app
- see where the bus is
- 0
- a game
- Hi, Aman
- Yes
- a bus tracker
- one the app cannot skip
- your friends list
- read user reviews
- hard to use
- Test 2
- 2
- a feature
- Test 1
- add money spent
- dark blue on white
- 0
- False
- in the cloud
- line 3
- 80
- Welcome!
- 90
- earn stickers
- expected result
- True
- UX
- OFF
- sorting the scores
- Bronze
- 10
- typing your age
- is installed on a phone
- 2
- after the must-haves
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students