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.👆 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 - 2.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
- 3.💡 Which app idea solves this problem: bottles go missing at school? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
-
4.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Save button ]
[ tab bar ]
[ menu icon ]
[ search box ]
[ Add button ]
[ title text ] (a) Save button (b) title text (c) search box (d) tab bar - 5.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
-
6.👆 The user taps the button 3 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) ON (b) OFF - 7.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to skip testing (c) so each step is clear (d) to add more taps
-
8.🗒️ Version 1 of a pocket-money tracker must be ready in 14 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 4 days
show the balance: 3 days -
9.🧩 Which of these is a button on this screen?
[title] Edit Profile
[text box] Email
[button] Next
[button] Back
[button] Cancel
[text box] Subject
[text box] Notes
[switch] Dark mode (a) Notes (b) Email (c) Subject (d) Back -
10.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 40; // start at 40
line 2: coins = coins + 3; // add 3
line 3: coins = coins + 1; // take away 1
line 4: show(coins); // show it - 11.🚀 Which version is newer: 2.3.7 or 2.3.15? (a) 2.3.15 (b) 2.3.7
- 12.True or false: a guitar tuner needs the camera. (a) True (b) False
- 13.⚙️ In an app, is taking a photo an input, processing or an output? (a) output (b) processing (c) input
- 14.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) wins every prize (c) is easy to build (d) helps nobody well
- 15.True or false: a countdown hits zero is a load event. (a) True (b) False
- 16.🗂️ What kind of app is a racing challenge? (a) a health app (b) a game (c) a tool app (d) a learning app
-
17.🔀 What does this PIN rule show?
let pin = "4672";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 18.Which of these is true of a final design? (a) uses plain grey boxes (b) has the real colours (c) is a quick sketch (d) shows where things go
-
19.🔀 What does this PIN rule show?
let pin = "3593";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 20.True or false: working out a tip is an input. (a) True (b) False
- 21.💡 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
- 22.True or false: you spot a problem to solve at the idea stage. (a) False (b) True
-
23.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(350) → expected 40 - 24.🎯 Who are the users of an app? (a) the app icons (b) the people who use it (c) only the testers (d) only the coders
- 25.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
- 26.🔢 In a food-order flow, what comes right after “check the cart”? (a) pay for the order (b) open the menu (c) add it to the cart (d) track the order
-
27.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right >= 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(9) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(3) → expected Try again - 28.Which of these is a button? (a) your high score (b) the log-in page (c) tap to Start (d) the settings page
- 29.💾 Saving data in the cloud lets you ___. (a) never need a password (b) skip the internet (c) use it on any device (d) shrink the app
-
30.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Riya")); (a) greet (b) Riya (c) Well done, name! (d) Well done, Riya! -
31.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Meera")); (a) greet (b) Meera (c) Hello, Meera! (d) Hello, name! - 32.🧩 In an app, what is the settings page? (a) a screen (b) an input (c) a button (d) data
-
33.🧪 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(12) → expected 100
Test 2: price(14) → expected 100
Test 3: price(5) → expected 50 -
34.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 6 votes
forgetting homework: 8 votes
missing the bus: 14 votes -
35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 46; // start at 46
line 2: stars = stars - 4; // take away 2
line 3: stars = stars + 2; // add 2
line 4: show(stars); // show it -
36.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(2)); - 37.🎨 Who should you test the UX with? (a) the app icon (b) real users (c) nobody (d) only yourself
- 38.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) dead end (c) shortcut (d) home screen
- 39.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) deletes the app (d) repeats the code
- 40.Which of these is true of a menu button? (a) switches main sections (b) sits at the bottom (c) undoes one move (d) hides extra links
Answer key
- OFF
- good design
- a lost-and-found board
- title text
- True
- ON
- so each step is clear
- 5
- Back
- 44
- 2.3.15
- False
- input
- helps nobody well
- False
- a game
- PIN saved
- has the real colours
- PIN saved
- False
- hard to use
- True
- 40
- the people who use it
- True
- pay for the order
- 3
- tap to Start
- use it on any device
- Well done, Riya!
- Hello, Meera!
- a screen
- 3
- 28
- 46
- 80
- real users
- dead end
- sends back a value
- hides extra links
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students