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.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Menu → Confirm → Shop → Results → Offers → Size
Design B: Home → Shop → Menu → Search → Cart - 2.🔍 Which is the odd one out? (a) an alarm clock (b) a step counter (c) a unit converter (d) a torch
- 3.🔢 After an app is released, which comes first: “test it again” or “fix and improve”? (a) test it again (b) fix and improve
- 4.Which of these fits saving in the cloud? (a) notes to read offline (b) the sound on/off setting (c) a draft you are typing (d) chat messages to friends
- 5.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) an avatar shop (c) check the answer (d) confetti effects
-
6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 36; // start at 36
line 2: stars = stars + 7; // add 4
line 3: stars = stars + 3; // add 3
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 -
7.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(16) → expected 100
Test 3: price(10) → expected 50 - 8.🔘 Our rule: buttons are at least 48 px tall. The Save button is 20 px tall. How many px taller must it be?
-
9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 50; // start at 49
line 2: points = points + 2; // add 2
line 3: points = points + 3; // add 3
line 4: show(points); // show it (a) line 2 (b) line 1 (c) line 3 -
10.🔀 Which badge does this quiz app show?
let marks = 38;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 11.🔢 In a quiz-app flow, what comes right after “read a question”? (a) pick an answer (b) tap “Start quiz” (c) see the final score (d) see if it is right
- 12.🧰 In function tip(bill), what is bill? (a) a screen (b) a parameter (c) a loop (d) an event
-
13.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 2 days
pick your bus stop: 4 days -
14.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(20) → expected 100
Test 2: price(12) → expected 50
Test 3: price(19) → expected 100 - 15.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) share your streak (b) see today’s total (c) set a reminder time (d) log a glass of water
- 16.🎨 Is this about UI or UX: how many taps it takes? (a) UX (b) UI
-
17.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 136; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 3 (c) line 2 (d) line 1 -
18.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 3; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 1 (c) line 2 - 19.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a button with no action (c) a free study-room finder (d) a blank grey screen
- 20.True or false: icons with no meaning is good button design. (a) False (b) True
- 21.True or false: the font size is about UX (the experience). (a) False (b) True
-
22.🧰 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(1) + fee(1)); - 23.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
-
24.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Item → Results → Menu → Shop → Address
Design B: Home → Confirm → Pens → Pay → Menu - 25.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
-
26.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Menu → Pens → Search → Pay
Design B: Home → Address → Menu → Confirm → Shop → Pay → Offers (a) Design B (b) Design A - 27.🔍 Which is the odd one out? (a) labels on every icon (b) strong colour contrast (c) colour as the only clue (d) text that can grow
-
28.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “wasting pocket money”?
wasting pocket money: 16 votes
forgetting birthdays: 22 votes
no quiet study place: 9 votes -
29.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
30.🔀 What does this PIN rule show?
let pin = "960";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 31.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) test it again (d) delete the test
- 32.🧰 What is a function? (a) a screen size (b) a type of phone (c) a named block of code (d) a list of colours
-
33.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
add money received: 3 days
add money spent: 1 days
show the balance: 4 days - 34.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) post the photo (b) take the photo (c) add a filter (d) write a caption
-
35.🧪 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(450) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(250) → expected 40 - 36.Which of these is an input? (a) a result on screen (b) checking a password (c) adding up a bill (d) taking a photo
- 37.🧰 How do you run (call) a function called greet? (a) run greet (b) greet() (c) greet[] (d) #greet
-
38.🧰 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(10) + fee(9)); -
39.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Shop
Design B: Home → Menu → Pens → Offers → Size → Shop → Cart (a) Design A (b) Design B - 40.🌗 Is white on black easy or hard to read on a button? (a) hard to read (b) easy to read
Answer key
- 2
- a step counter
- fix and improve
- chat messages to friends
- check the answer
- line 2
- 50
- 28
- line 1
- Bronze
- pick an answer
- a parameter
- 2
- 3
- share your streak
- UX
- line 3
- line 2
- a free study-room finder
- False
- False
- 0
- fair
- 1
- a user need
- Design A
- colour as the only clue
- 6
- Ask a parent
- Use 4 digits
- test it again
- a named block of code
- 1
- take the photo
- 3
- taking a photo
- greet()
- 100
- Design A
- easy to read
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students