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 lives = 40; // start at 39
line 2: lives = lives * 2; // double it
line 3: lives = lives - 5; // take away 5
line 4: show(lives); // show it (a) line 3 (b) line 2 (c) line 1 - 2.Which of these happens at the build stage? (a) connect the data (b) spot a problem to solve (c) write the store text (d) draw the user flow
- 3.🔢 In a food-order flow, which comes first: “track the order” or “add it to the cart”? (a) track the order (b) add it to the cart
-
4.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 11 px
Label: 12 px
Title: 14 px
Menu: 14 px - 5.🔐 Which permission does a voice recorder really need? (a) the microphone (b) the camera (c) location (d) contacts
- 6.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
-
7.🗒️ Version 1 of a water reminder must be ready in 6 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 1 days
see today’s total: 4 days -
8.🔁 What number does this code show?
let runs = [4, 20, 5];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 9.True or false: a torch is a game. (a) False (b) True
- 10.🗒️ Why keep version 1 small? (a) to use up storage (b) to confuse users (c) to look bigger (d) to learn from users soon
- 11.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 1 (c) 251 (d) 2
-
12.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Hint: 23 px
Body text: 15 px
Menu: 20 px - 13.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
- 14.👆 What kind of event is this: the user presses Save? (a) a load event (b) a text event (c) a timer event (d) a tap event
- 15.Which of these is about UI (the look)? (a) how fast a task is done (b) how easy sign-up is (c) the icon shapes (d) whether users get lost
-
16.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Caption: 17 px
Hint: 24 px
Footer: 11 px
Title: 27 px
Body text: 19 px (a) Hint (b) Footer (c) Caption (d) Title - 17.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) updates from the store (d) opens from a link
- 18.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) allow it (c) post them online (d) deny it
- 19.🔍 Which is the odd one out? (a) write the code (b) spot a problem to solve (c) talk to possible users (d) list what users need
- 20.True or false: a voice recorder needs the microphone. (a) False (b) True
- 21.🎨 A beautiful app that confuses everyone has ___. (a) good UI but poor UX (b) no UI at all (c) good UX but poor UI (d) perfect UX
- 22.📱 Which one has a web address: an app or a website? (a) a website (b) an app
-
23.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 38; // start at 38
line 2: coins = coins + 3; // add 3
line 3: coins = coins + 2; // take away 2
line 4: coins = coins - 1; // take away 1
line 5: show(coins); // show it -
24.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age < 8) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(12) → expected 100
Test 3: price(6) → expected 50 - 25.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
- 26.True or false: tap to go Next is a button. (a) True (b) False
- 27.🔘 Our rule: buttons are at least 48 px tall. The Done button is 28 px tall. How many px taller must it be?
- 28.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) find where it goes wrong (d) add more colours
- 29.🔍 Which is the odd one out? (a) a result on screen (b) a buzz (vibration) (c) a beep sound (d) typing your age
- 30.Which of these makes the app harder to use? (a) captions on videos (b) strong colour contrast (c) text that can grow (d) tiny tap areas
-
31.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[switch] Show hints
[slider] Volume
[button] Send
[text box] Notes
[button] Help
[button] Done -
32.👆 The user taps the button 3 times. What number does the label show now?
let stars = 3;
button.onTap = function () {
stars = stars + 4;
label.text = stars;
}; - 33.🔢 After an app is released, what comes right after “read user reviews”? (a) release an update (b) test it again (c) list what to fix (d) fix and improve
- 34.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it is slower (c) it hides them (d) it uses more lines
-
35.⚙️ What number does this app show?
let km = 4; // typed by the user
let metres = km * 1000;
show(metres); - 36.🌗 Is white on black easy or hard to read on a button? (a) hard to read (b) easy to read
-
37.⚙️ What number does this app show?
let km = 8; // typed by the user
let metres = km * 1000;
show(metres); -
38.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(1) + fee(4)); - 39.🗂️ What kind of app is a puzzle with levels? (a) a game (b) a tool app (c) a health app (d) a learning app
- 40.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
Answer key
- line 1
- connect the data
- add it to the cart
- 4
- the microphone
- Yes
- 0
- 29
- False
- to learn from users soon
- 2
- 1
- No
- a tap event
- the icon shapes
- Footer
- opens from a link
- deny it
- write the code
- True
- good UI but poor UX
- a website
- 42
- 50
- ask and watch users
- True
- 20
- find where it goes wrong
- typing your age
- tiny tap areas
- 3
- 15
- list what to fix
- less code to write
- 4000
- easy to read
- 8000
- 0
- a game
- No
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students