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.🔘 Is this good or poor button design: grey text on grey? (a) good design (b) poor design
-
2.🔀 What does this battery rule show?
let battery = 6;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 3.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) share your streak (c) log a glass of water (d) see today’s total
- 4.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
-
5.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 36; // start at 33
line 2: points = points - 4; // take away 4
line 3: points = points - 5; // take away 5
line 4: show(points); // show it - 6.🔘 Is this good or poor button design: icons with no meaning? (a) poor design (b) good design
- 7.📲 What happens when you tap an app’s icon? (a) the sound turns off (b) the phone charges (c) the app is deleted (d) the app opens
-
8.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 9 votes
no quiet study place: 19 votes
wasting pocket money: 22 votes -
9.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(13) → expected 100
Test 2: price(16) → expected 100
Test 3: price(8) → expected 50 - 10.👥 A library app has 40 readers, 75 librarians and 205 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
- 11.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to slow the app (d) to hide errors
- 12.♿ Accessibility means an app works for ___. (a) only experts (b) only the coder (c) nobody (d) everyone
- 13.🚀 Which version is newer: 2.0.2 or 2.0.13? (a) 2.0.13 (b) 2.0.2
-
14.🔀 Which badge does this quiz app show?
let marks = 74;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold - 15.Which of these fits saving on the phone? (a) chat messages to friends (b) a shared to-do list (c) photos on two devices (d) a draft you are typing
- 16.💾 Saving data in the cloud lets you ___. (a) never need a password (b) shrink the app (c) skip the internet (d) use it on any device
-
17.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Zoya")); (a) greet (b) Zoya (c) Hello, name! (d) Hello, Zoya! - 18.True or false: a calculator is a tool app. (a) True (b) False
-
19.🖼️ In this wireframe (top to bottom), what is right above the search box?
[ top bar ]
[ menu icon ]
[ search box ]
[ tab bar ] (a) tab bar (b) top bar (c) menu icon - 20.Which of these is an input? (a) working out a tip (b) sorting the scores (c) a buzz (vibration) (d) taking a photo
-
21.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 68 px tall
Start button: 68 px tall
Help button: 60 px tall
Done button: 36 px tall (a) Done (b) Start (c) Save (d) Help - 22.Which of these fits saving on the phone? (a) photos on two devices (b) chat messages to friends (c) a class leaderboard (d) notes to read offline
- 23.True or false: a switch for dark mode is a screen. (a) True (b) False
- 24.🔢 In a photo-post flow, which comes FIRST? (a) open the camera screen (b) write a caption (c) take the photo (d) add a filter
-
25.💾 What number does this code show?
let friends = ["Kabir", "Riya", "Aman", "Meera"];
friends.push("Arjun");
show(friends.length); -
26.🔀 What number does this shop app show?
let total = 470;
if (total > 500) {
total = total - 50;
}
show(total); -
27.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 5)); -
28.💾 pop() takes off the last item. What does this code show?
let songs = ["Ocean", "Rain", "Sunrise"];
songs.pop();
show(songs[songs.length - 1]); (a) Ocean (b) Rain (c) Sunrise - 29.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
-
30.👆 The user taps the button 4 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 - 31.Which colour pair is easy to read? (a) white on dark green (b) light grey on white (c) pale pink on white (d) dark blue on black
- 32.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) an input (d) a title
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 31; // start at 31
line 2: score = score + 2; // double it
line 3: score = score + 6; // add 6
line 4: show(score); // show it - 34.🔐 Which permission does a bus tracker really need? (a) the microphone (b) the camera (c) contacts (d) location
-
35.🔁 What number does this code show?
let marks = [19, 18, 10];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 36.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
-
37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ big picture ]
[ filter buttons ]
[ Save button ]
[ tab bar ]
[ title text ] (a) filter buttons (b) big picture (c) Save button (d) title text -
38.🚀 Which of these versions is the NEWEST?
3.18.2, 3.5.2, 3.19.7, 2.28.5 (a) 3.18.2 (b) 2.28.5 (c) 3.19.7 (d) 3.5.2 -
39.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 4 days
see today’s total: 5 days - 40.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
Answer key
- poor design
- Low battery
- share your streak
- a final design
- 27
- poor design
- the app opens
- 50
- 100
- volunteers
- to reuse code
- everyone
- 2.0.13
- Silver
- a draft you are typing
- use it on any device
- Hello, Zoya!
- True
- menu icon
- taking a photo
- Done
- notes to read offline
- False
- open the camera screen
- 5
- 470
- 425
- Rain
- UX
- OFF
- white on dark green
- an input
- 68
- location
- 19
- makes it harder
- title text
- 3.19.7
- 1
- Yes
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students