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.🐞 Finding and fixing bugs is called ___. (a) designing (b) debugging (c) decorating (d) downloading
- 2.Which of these is a screen? (a) the log-in page (b) a slider for volume (c) tap to Start (d) tap to Send
-
3.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 5)); -
4.🔀 What number does this shop app show?
let total = 680;
if (total > 500) {
total = total - 50;
}
show(total); - 5.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) share tasks to friends (c) set a due date (d) earn stickers
- 6.Which of these is about UI (the look)? (a) how users feel after (b) how many taps it takes (c) how easy sign-up is (d) the button colours
-
7.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Menu → Item
Design B: Home → Pay → Pens -
8.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “missing the bus”?
no quiet study place: 22 votes
forgetting birthdays: 23 votes
missing the bus: 8 votes - 9.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
-
10.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting homework”?
wasting pocket money: 11 votes
forgetting homework: 7 votes
missing the bus: 12 votes -
11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 48 px tall
Help button: 40 px tall
Send button: 48 px tall -
12.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 35; // start at 35
line 2: coins = coins + 5; // add 4
line 3: coins = coins - 4; // take away 4
line 4: show(coins); // show it - 13.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
-
14.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(16)); - 15.🔍 Which is the odd one out? (a) how many taps it takes (b) how users feel after (c) how easy sign-up is (d) the button colours
- 16.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
-
17.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 36; // start at 34
line 2: lives = lives * 2; // double it
line 3: lives = lives - 1; // take away 1
line 4: show(lives); // show it - 18.🔐 Which permission does a walking map really need? (a) the microphone (b) the camera (c) contacts (d) location
- 19.🔍 Which is the odd one out? (a) captions on videos (b) strong colour contrast (c) big touch targets (d) colour as the only clue
- 20.⚙️ In an app, is typing your age an input, processing or an output? (a) input (b) output (c) processing
- 21.💾 Which can hold many values in order? (a) a button (b) a single number (c) a list (d) a switch
-
22.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(7) → expected 50
Test 2: price(11) → expected 100
Test 3: price(8) → expected 100 -
23.🧩 How many buttons does this app screen have?
[title] Add Homework
[switch] Remind me
[text box] Name
[slider] Brightness
[button] Save
[text box] Subject - 24.🧪 What is the actual result of a test? (a) the app’s name (b) what the app really does (c) what we hope for (d) the test’s number
-
25.💾 What number does this code show?
let score = 5;
score = score - 3;
score = score + 2;
show(score); -
26.🔀 What number does this shop app show?
let total = 280;
if (total > 500) {
total = total - 50;
}
show(total); -
27.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age < 14) {
return 50;
}
return 100;
}
Test 1: price(16) → expected 100
Test 2: price(11) → expected 50
Test 3: price(19) → expected 100 - 28.🔢 In a food-order flow, what comes right after “open the menu”? (a) pick a dish (b) add it to the cart (c) track the order (d) check the cart
- 29.Which of these app ideas solves no real problem? (a) a bill splitter (b) a library due-date alert (c) a medicine reminder (d) a button with no action
-
30.🖼️ In this wireframe (top to bottom), what is right above the search box?
[ filter buttons ]
[ search box ]
[ title text ]
[ big picture ]
[ Add button ] (a) filter buttons (b) big picture (c) Add button (d) title text -
31.🚀 Which of these versions is the NEWEST?
2.10.8, 2.9.8, 2.19.9, 1.21.3 (a) 1.21.3 (b) 2.19.9 (c) 2.9.8 (d) 2.10.8 - 32.🔐 A torch app asks for your contacts. What should you do? (a) deny it (b) post them online (c) share them all (d) allow it
- 33.🚀 Your app is at version 4.4.8. The next release fixes a small bug. What is its version number? (a) 4.5.8 (b) 5.0.0 (c) 4.4.9 (d) 4.5.0
- 34.🔀 When does the else part run? (a) always (b) when the test is false (c) never (d) when the test is true
-
35.🗒️ 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: 3 days
add money spent: 4 days
show the balance: 4 days - 36.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) show the balance (c) savings stickers (d) pie-chart colours
- 37.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) shows the real fonts (d) shows where things go
- 38.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
- 39.🔢 When you make an app, which comes LAST? (a) plan the screens (b) build the app (c) release it (d) test the app
- 40.True or false: an app opens from a link. (a) False (b) True
Answer key
- debugging
- the log-in page
- 425
- 630
- set a due date
- the button colours
- 3
- 14
- helps everyone
- 4
- 2
- 35
- Yes
- 48
- the button colours
- fair
- 71
- location
- colour as the only clue
- input
- a list
- 100
- 1
- what the app really does
- 4
- 280
- 100
- pick a dish
- a button with no action
- filter buttons
- 2.19.9
- deny it
- 4.4.9
- when the test is false
- 3
- show the balance
- shows where things go
- True
- release it
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students