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.🚀 Your app is at version 4.0.8. The next release fixes a small bug. What is its version number? (a) 4.1.0 (b) 5.0.0 (c) 4.0.9 (d) 4.1.8
-
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 30; // start at 30
line 2: lives = lives + 2; // add 2
line 3: lives = lives - 4; // take away 1
line 4: lives = lives + 4; // add 4
line 5: show(lives); // show it (a) line 4 (b) line 1 (c) line 2 (d) line 3 -
3.👆 The user taps the button 3 times. What number does the label show now?
let lives = 2;
button.onTap = function () {
lives = lives + 4;
label.text = lives;
}; - 4.🔢 When you make an app, what comes right after “build the app”? (a) get an idea (b) plan the screens (c) release it (d) test the app
-
5.🔀 Which badge does this quiz app show?
let marks = 68;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver - 6.🔍 Which is the odd one out? (a) connect the data (b) add the buttons (c) share the download link (d) write the code
- 7.True or false: one second passes is a load event. (a) True (b) False
-
8.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Size → Confirm → Pens → Menu → Search → Shop
Design B: Home → Offers → Results → Item → Shop -
9.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. open “Badges”
3. tap Back
4. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 10.True or false: today’s step count is data. (a) True (b) False
- 11.True or false: today’s step count is a button. (a) False (b) True
-
12.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Caption: 24 px
Menu: 12 px
Hint: 11 px
Body text: 23 px - 13.Which of these makes the app harder to use? (a) icons with no labels (b) big touch targets (c) captions on videos (d) text that can grow
-
14.🔀 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 - 15.🔐 Is this permission request fair or too much: torch → contacts? (a) fair (b) too much
- 16.🔘 Our rule: buttons are at least 48 px tall. The Next button is 36 px tall. How many px taller must it be?
-
17.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Size → Pens
Design B: Home → Pens → Offers → Shop → Item → Cart → Menu - 18.Which colour pair is easy to read? (a) light grey on white (b) yellow on white (c) dark blue on white (d) pale pink on white
- 19.🚀 A privacy policy tells users ___. (a) the app’s price (b) the screen size (c) what data is collected (d) the app’s colours
- 20.True or false: tap to Save is a button. (a) False (b) True
-
21.🚀 Which of these versions is the NEWEST?
3.21.3, 4.11.1, 4.18.4, 4.2.4 (a) 4.2.4 (b) 4.11.1 (c) 3.21.3 (d) 4.18.4 - 22.🔢 In a food-order flow, what comes right after “pay for the order”? (a) add it to the cart (b) open the menu (c) track the order (d) check the cart
- 23.🔁 What does a loop do? (a) deletes code (b) repeats code (c) draws icons (d) saves photos
- 24.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
- 25.🔢 In a photo-post flow, which comes FIRST? (a) take the photo (b) post the photo (c) open the camera screen (d) write a caption
- 26.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) pick your bus stop
- 27.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 5 (d) 4
- 28.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) test it again (c) release an update (d) list what to fix
- 29.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) find where it goes wrong (c) add more colours (d) delete the app
- 30.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
- 31.True or false: you add the buttons at the build stage. (a) False (b) True
-
32.⚙️ What number does this app show?
let km = 4; // typed by the user
let metres = km * 1000;
show(metres); - 33.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
-
34.🔀 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 -
35.🧩 How many buttons does this app screen have?
[title] Sign Up
[button] Next
[text box] Phone
[button] Start
[button] Cancel
[text box] Email -
36.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(5) + fee(9)); - 37.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows the real fonts (d) shows where things go
- 38.True or false: a bus tracker is the best fit for a runner who forgets to sip water. (a) True (b) False
- 39.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) checking a password (d) speaking a command
-
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 32; // start at 32
line 2: coins = coins * 3; // double it
line 3: coins = coins - 1; // take away 1
line 4: show(coins); // show it (a) line 2 (b) line 1 (c) line 3
Answer key
- 4.0.9
- line 3
- 14
- test the app
- Silver
- share the download link
- False
- 4
- 1
- True
- False
- 2
- icons with no labels
- Ask a parent
- too much
- 12
- 4
- dark blue on white
- what data is collected
- True
- 4.18.4
- track the order
- repeats code
- True
- open the camera screen
- pick your bus stop
- 5
- test it again
- find where it goes wrong
- an app
- True
- 4000
- UX
- Welcome!
- 3
- 40
- shows the real fonts
- False
- checking a password
- line 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students