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) pick your bus stop (d) see where the bus is
- 2.True or false: a torch is a game. (a) False (b) True
- 3.🔍 Which is the odd one out? (a) draw the user flow (b) pick the features (c) put it on an app store (d) sketch the screens
- 4.🔘 Our rule: buttons are at least 48 px tall. The Save button is 40 px tall. How many px taller must it be?
- 5.Which of these happens at the test stage? (a) draw the user flow (b) write the code (c) try every button (d) talk to possible users
- 6.🔢 In a food-order flow, what comes right after “open the menu”? (a) add it to the cart (b) pay for the order (c) pick a dish (d) track the order
-
7.💾 pop() takes off the last item. What does this code show?
let notes = ["Maths", "Science", "Art", "Hindi"];
notes.pop();
show(notes[notes.length - 1]); (a) Art (b) Maths (c) Hindi (d) Science - 8.🧩 In an app, what is tap to Save? (a) a screen (b) an input (c) data (d) a button
- 9.📅 An app team plans for 4 days, builds for 5 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
- 10.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
-
11.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
12.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ search box ]
[ tab bar ]
[ Add button ] - 13.🗒️ What is a must-have feature? (a) a sound effect (b) a colour theme (c) a nice extra (d) one the app cannot skip
-
14.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 22 px
Label: 27 px
Hint: 11 px (a) Label (b) Hint (c) Menu - 15.🔔 What is a message an app shows on your lock screen called? (a) a variable (b) a web address (c) a notification (d) a wireframe
- 16.👆 What kind of event is this: the user types a letter? (a) a load event (b) a timer event (c) a tap event (d) a text event
-
17.🧰 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(2) + fee(1)); - 18.🎯 What is a user need? (a) a phone setting (b) a colour theme (c) a problem a user has (d) a type of button
- 19.Which of these app ideas solves no real problem? (a) a page of random dots (b) a bill splitter (c) a free study-room finder (d) a medicine reminder
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 430; // typed by the user
line 2: let off = 50; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 1 (b) line 3 (c) line 2 (d) line 4 - 21.🔢 When you make an app, what comes right after “test the app”? (a) build the app (b) release it (c) plan the screens (d) get an idea
-
22.💾 What number does this code show?
let points = 8;
points = points - 6;
points = points + 1;
show(points); -
23.🚀 Which of these versions is the OLDEST?
1.8.4, 0.30.3, 1.2.5, 1.5.1 (a) 0.30.3 (b) 1.8.4 (c) 1.2.5 (d) 1.5.1 -
24.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(24)); - 25.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) updates from the store (d) opens in a web browser
-
26.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(7) → expected 50
Test 3: price(15) → expected 100 (a) Test 1 (b) Test 3 (c) Test 2 - 27.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 28.Which of these is true of a tab bar? (a) opens a list of pages (b) undoes one move (c) goes to the last screen (d) shows 3 to 5 icons
- 29.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) see tasks by day (c) add a homework task (d) share tasks to friends
- 30.🚀 Your app is at version 2.5.8. The next release adds a new feature. What is its version number? (a) 2.6.8 (b) 3.0.0 (c) 2.6.0 (d) 2.5.9
- 31.Which of these is data? (a) a box to type a name (b) the log-in page (c) a date picker (d) today’s step count
- 32.💾 Which can hold many values in order? (a) a button (b) a list (c) a switch (d) a single number
-
33.🔁 What number does this code show?
let scores = [14, 14, 20];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 34.True or false: a weather-near-me app needs the camera. (a) False (b) True
- 35.🔀 With if / else if / else, how many parts run? (a) none (b) all of them (c) two (d) only one
- 36.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a dead end (c) a clear next step (d) the same screen
-
37.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 700) {
return 0;
}
return 40;
}
Test 1: delivery(850) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(600) → expected 40 -
38.🔀 What number does this shop app show?
let total = 340;
if (total > 500) {
total = total - 50;
}
show(total); -
39.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Name
[text box] Email
[button] Send
[text box] City -
40.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 32; // start at 32
line 2: points = points - 1; // take away 1
line 3: points = points - 1; // take away 1
line 4: points = points + 3; // take away 3
line 5: show(points); // show it
Answer key
- change the bus icon
- False
- put it on an app store
- 8
- try every button
- pick a dish
- Art
- a button
- 2
- easy to read
- Welcome!
- 4
- one the app cannot skip
- Hint
- a notification
- a text event
- 0
- a problem a user has
- a page of random dots
- line 3
- release it
- 3
- 0.30.3
- 72
- opens in a web browser
- Test 1
- hard to read
- shows 3 to 5 icons
- share tasks to friends
- 2.6.0
- today’s step count
- a list
- 20
- False
- only one
- a clear next step
- 3
- 340
- 3
- 33
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students