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.🧩 How many buttons does this app screen have?
[title] Sign Up
[switch] Remind me
[button] Next
[slider] Text size
[text box] Due date
[text box] Phone - 2.🔢 In a photo-post flow, which comes FIRST? (a) open the camera screen (b) take the photo (c) write a caption (d) post the photo
-
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 49; // start at 49
line 2: lives = lives - 2; // add 2
line 3: lives = lives + 4; // add 4
line 4: lives = lives - 3; // take away 3
line 5: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 (d) line 4 - 4.Which of these fits saving in the cloud? (a) your last game level (b) notes to read offline (c) chat messages to friends (d) the sound on/off setting
-
5.🗒️ 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 -
6.🔀 What does this battery rule show?
let battery = 38;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 7.♿ What does a screen reader do? (a) takes photos (b) reads the screen aloud (c) plays music (d) makes text tiny
-
8.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 5)); - 9.🔀 With if / else if / else, how many parts run? (a) all of them (b) two (c) none (d) only one
- 10.Which of these is true of a wireframe? (a) looks like the real app (b) has the real colours (c) uses the final pictures (d) uses plain grey boxes
- 11.True or false: you add the buttons at the build stage. (a) True (b) False
- 12.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a wireframe (c) a variable (d) a notification
- 13.🔢 When you make an app, which comes first: “get an idea” or “release it”? (a) get an idea (b) release it
-
14.💾 What number does this code show?
let songs = ["Monsoon", "Stars", "Rain", "Ocean"];
songs.push("Kites");
songs.push("Sunrise");
show(songs.length); - 15.Which of these happens at the test stage? (a) connect the data (b) share the download link (c) list what users need (d) write down the bugs
- 16.🔍 Which is the odd one out? (a) the icon shapes (b) the theme colours (c) the button colours (d) how users feel after
-
17.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 40
Test 2: delivery(800) → expected 0
Test 3: delivery(700) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 - 18.True or false: a clear word like Save is poor button design. (a) False (b) True
-
19.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 38; // start at 38
line 2: coins = coins * 3; // double it
line 3: coins = coins + 2; // add 2
line 4: show(coins); // show it - 20.🧭 Which part of navigation hides extra links? (a) the back button (b) a tab bar (c) a menu button
- 21.🗒️ In MVP, the M stands for ___. (a) mobile (b) minimum (c) music (d) maximum
- 22.True or false: “labels on every icon” helps everyone use the app. (a) True (b) False
- 23.👥 A library app has 290 readers, 140 librarians and 255 volunteers as users. How many users does it have in all?
- 24.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
- 25.True or false: a website comes from an app store. (a) False (b) True
-
26.🗒️ Version 1 of a homework planner must be ready in 14 days. How many days are left for extras after the must-haves?
add a homework task: 4 days
set a due date: 1 days
see tasks by day: 5 days - 27.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
- 28.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) add more colours (d) find where it goes wrong
- 29.⚙️ In an app, is taking a photo an input, processing or an output? (a) input (b) processing (c) output
- 30.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) write a caption (c) take the photo (d) post the photo
-
31.🔁 What number does this code show?
let marks = [9, 16, 1, 5];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 32.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
-
33.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(18)); - 34.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
- 35.Which of these is data? (a) the home page of an app (b) a slider for volume (c) your saved notes (d) tap to go Next
- 36.True or false: a website has a home-screen icon. (a) True (b) False
- 37.👆 Which of these is an event? (a) the font size (b) the icon colour (c) a list of names (d) the user taps a button
- 38.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
-
39.⚙️ What number does this app show?
let price = 55; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); -
40.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 36 px tall
Start button: 32 px tall
Done button: 64 px tall
Save button: 64 px tall
Answer key
- 1
- open the camera screen
- line 2
- chat messages to friends
- 5
- Battery OK
- reads the screen aloud
- 175
- only one
- uses plain grey boxes
- True
- a notification
- get an idea
- 6
- write down the bugs
- how users feel after
- Test 3
- False
- 116
- a menu button
- minimum
- True
- 685
- repeats code
- False
- 4
- the people who use it
- find where it goes wrong
- input
- write a caption
- 16
- a user need
- 36
- open the camera screen
- your saved notes
- False
- the user taps a button
- Yes
- 275
- 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students