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.True or false: a switch for dark mode is a button. (a) False (b) True
- 2.🔀 Why plan the user flow before building? (a) to add more taps (b) to hide the buttons (c) to skip testing (d) so each step is clear
- 3.Which of these happens at the idea stage? (a) connect the data (b) draw the user flow (c) spot a problem to solve (d) write the code
- 4.👥 A clinic app has 110 patients, 20 doctors and 255 nurses as users. How many users does it have in all?
-
5.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 60; // typed by the user
line 2: let qty = 6; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 3 (c) line 2 (d) line 1 -
6.🔁 What number does this code show?
let marks = [57, 16, 78];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 60) {
count = count + 1;
}
}
show(count); - 7.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
- 8.👆 An event in an app is ___. (a) something that happens (b) a colour theme (c) a kind of list (d) an app store
- 9.🔘 Is this good or poor button design: grey text on grey? (a) poor design (b) good design
-
10.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap Back
3. open “Map”
4. tap the Quiz tab
5. open “Friend list”
Which screen are you on now? (a) Friend list (b) Match report (c) Map (d) Lessons - 11.🧪 What is the actual result of a test? (a) what the app really does (b) the app’s name (c) what we hope for (d) the test’s number
-
12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Video”
3. tap Back
Which screen are you on now? (a) Feed (b) Settings (c) Video (d) Chat - 13.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 14.🔢 In a sign-up flow, which comes first: “make a password” or “enter the code sent”? (a) make a password (b) enter the code sent
- 15.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Kids forget homework” (c) “Add a logo” (d) “Make it fast”
-
16.🔀 What does this sign-up rule show?
let age = 17;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
17.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Offers → Pay → Shop → Menu → Results → Cart
Design B: Home → Menu → Pens → Search (a) Design B (b) Design A -
18.🧪 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(500) → expected 40
Test 2: delivery(1050) → expected 0
Test 3: delivery(900) → expected 0 - 19.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
- 20.True or false: the user presses Save is a tap event. (a) True (b) False
- 21.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
- 22.True or false: you let friends try it at the release stage. (a) True (b) False
- 23.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) see if it is right (c) pick an answer (d) tap “Start quiz”
- 24.True or false: an app updates from the store. (a) True (b) False
- 25.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “What should I cook?”
-
26.👆 The user taps the button 4 times. What number does the label show now?
let stars = 9;
button.onTap = function () {
stars = stars + 4;
label.text = stars;
}; -
27.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
28.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(12) + fee(7)); - 29.True or false: speaking a command is processing. (a) False (b) True
-
30.🔀 What does this battery rule show?
let battery = 30;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
31.🧪 How many of these test cases pass?
🎟️ 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(10) → expected 100
Test 2: price(9) → expected 100
Test 3: price(7) → expected 50 - 32.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
- 33.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
- 34.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
- 35.💡 How can you check that people really have the problem? (a) ask possible users (b) copy another app (c) pick a colour (d) just guess
- 36.True or false: a pop-up message is an input. (a) True (b) False
- 37.🔍 Which is the odd one out? (a) how fast a task is done (b) how easy sign-up is (c) the font size (d) how many taps it takes
- 38.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) check the cart (b) pay for the order (c) pick a dish (d) open the menu
- 39.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) add money received (c) pie-chart colours (d) export to a file
-
40.🧪 How many of these test cases pass?
🚚 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(700) → expected 40
Test 2: delivery(1200) → expected 0
Test 3: delivery(1100) → expected 0
Answer key
- False
- so each step is clear
- spot a problem to solve
- 385
- line 3
- 1
- get an idea
- something that happens
- poor design
- Friend list
- what the app really does
- Feed
- hard to read
- make a password
- “Kids forget homework”
- Welcome!
- Design B
- 3
- True
- True
- good design
- False
- see the final score
- True
- “What should I cook?”
- 25
- Ask a parent
- 60
- False
- Battery OK
- 2
- handler
- UX
- Yes
- ask possible users
- False
- the font size
- check the cart
- add money received
- 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students