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.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 43; // start at 43
line 2: coins = coins + 6; // add 3
line 3: coins = coins - 4; // take away 4
line 4: show(coins); // show it (a) line 2 (b) line 1 (c) line 3 - 2.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) water animations (c) see today’s total (d) set a reminder time
- 3.🗒️ In MVP, the M stands for ___. (a) music (b) minimum (c) maximum (d) mobile
- 4.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
- 5.Which of these is true of a final design? (a) uses the final pictures (b) shows where things go (c) is a quick sketch (d) uses plain grey boxes
- 6.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
- 7.⚙️ In an app, is speaking a command an input, processing or an output? (a) output (b) input (c) processing
- 8.🔍 Which is the odd one out? (a) how fast a task is done (b) how easy sign-up is (c) how users feel after (d) the theme colours
-
9.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 10.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
-
11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap Back
3. open “Score card”
4. tap the Search tab
5. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? - 12.True or false: a box to type a name is a button. (a) True (b) False
-
13.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(25, 4)); -
14.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(15) → expected 100
Test 2: price(9) → expected 50
Test 3: price(18) → expected 100 - 15.Which of these requests asks for too much? (a) voice notes → microphone (b) timer → your photos (c) camera app → camera (d) calling app → contacts
- 16.Which of these is an input? (a) the game-over page (b) today’s step count (c) your friends list (d) a date picker
-
17.🔀 What does this PIN rule show?
let pin = "423";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 18.Which of these makes the app harder to use? (a) big touch targets (b) tiny tap areas (c) captions on videos (d) labels on every icon
-
19.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(65, 3)); - 20.Which of these fits saving on the phone? (a) photos on two devices (b) a class leaderboard (c) the sound on/off setting (d) chat messages to friends
-
21.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting birthdays”?
missing the bus: 23 votes
forgetting birthdays: 13 votes
forgetting homework: 10 votes - 22.True or false: a cricket run chase is a tool app. (a) False (b) True
- 23.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
- 24.🔀 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
- 25.True or false: a wireframe uses plain grey boxes. (a) False (b) True
-
26.🧰 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(9)); - 27.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
- 28.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
- 29.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) add money received
-
30.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Pass
Test 2: result(5) → expected Try again
Test 3: result(6) → expected Pass (a) Test 1 (b) Test 2 (c) Test 3 -
31.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 100; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 3 (c) line 4 (d) line 1 -
32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 33; // start at 33
line 2: score = score - 5; // add 5
line 3: score = score * 2; // double it
line 4: show(score); // show it (a) line 1 (b) line 3 (c) line 2 - 33.True or false: you spot a problem to solve at the idea stage. (a) False (b) True
-
34.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(10) → expected 100
Test 2: price(15) → expected 100
Test 3: price(7) → expected 50 -
35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Score card”
3. tap Back
4. tap Back
5. open “Video”
How many times must you tap Back to reach the main screen of this tab? - 36.True or false: a homework planner is the best fit for a child saving up for a cycle. (a) False (b) True
- 37.🔢 In a sign-up flow, what comes right after “open the app”? (a) see the home screen (b) enter the code sent (c) make a password (d) tap “Sign up”
- 38.True or false: a bill splitter solves a real problem. (a) True (b) False
- 39.📴 Which of these can often still work with no internet? (a) a video call (b) an installed app (c) a new website (d) an online search
-
40.🔀 Which badge does this quiz app show?
let marks = 48;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze
Answer key
- line 2
- water animations
- minimum
- Yes
- uses the final pictures
- a final design
- input
- the theme colours
- Ask a parent
- True
- 0
- False
- 100
- 100
- timer → your photos
- a date picker
- Use 4 digits
- tiny tap areas
- 195
- the sound on/off setting
- 10
- False
- hard to read
- a clear next step
- True
- 60
- a feature
- helps everyone
- add money received
- Test 3
- line 3
- line 2
- True
- 50
- 1
- False
- tap “Sign up”
- True
- an installed app
- Bronze
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students