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.⚙️ What number does this app show?
let price = 270; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); - 2.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) header (d) headline
- 3.True or false: a slider for volume is an input. (a) True (b) False
- 4.🧪 What is the actual result of a test? (a) what the app really does (b) the app’s name (c) what we hope for (d) the test’s number
- 5.🗒️ What is a must-have feature? (a) one the app cannot skip (b) a sound effect (c) a nice extra (d) a colour theme
-
6.🔁 What number does this code show?
let marks = [6, 18, 20];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
7.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(13)); -
8.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[text box] Subject
[button] Help
[button] Done
[button] Save - 9.🔘 Our rule: buttons are at least 48 px tall. The Next button is 44 px tall. How many px taller must it be?
- 10.True or false: the screen layout is about UI (the look). (a) True (b) False
- 11.True or false: typing your age is an input. (a) False (b) True
-
12.🔀 What number does this shop app show?
let total = 880;
if (total > 500) {
total = total - 50;
}
show(total); - 13.👥 A school app has 25 students, 110 teachers and 40 parents as users. How many users does it have in all?
-
14.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[text box] Notes
[button] Help
[text box] Subject
[text box] Email - 15.👥 A library app has 220 readers, 155 librarians and 240 volunteers as users. How many users does it have in all?
-
16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Map”
2. tap the Feed tab
3. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
17.👆 The user taps the button 4 times. What number does the label show now?
let stars = 3;
button.onTap = function () {
stars = stars + 3;
label.text = stars;
}; - 18.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
-
19.🧩 How many buttons does this app screen have?
[title] Sign Up
[slider] Volume
[button] Next
[button] Save
[button] Cancel
[text box] Due date -
20.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Item → Pens → Cart → Offers → Results → Shop
Design B: Home → Pay → Search - 21.Which of these happens at the build stage? (a) put it on an app store (b) connect the data (c) sketch the screens (d) try every button
-
22.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap Back
3. open “Match report”
4. tap the Home tab
5. tap the Search tab
Which screen are you on now? (a) Edit photo (b) Home (c) Match report (d) Search -
23.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Shop → Address → Item → Pay → Size
Design B: Home → Search → Results → Cart → Pens → Size → Item (a) Design A (b) Design B - 24.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a homework planner (b) a water reminder (c) a pocket-money tracker (d) a big-text reader
- 25.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
- 26.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) add money spent (d) export to a file
-
27.🔀 What does this battery rule show?
let battery = 36;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 28.Which of these fits saving on the phone? (a) the sound on/off setting (b) chat messages to friends (c) a class leaderboard (d) a shared to-do list
- 29.🔢 In a food-order flow, which comes LAST? (a) track the order (b) add it to the cart (c) pay for the order (d) pick a dish
- 30.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
-
31.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “no quiet study place”?
missing the bus: 9 votes
no quiet study place: 3 votes
forgetting birthdays: 10 votes - 32.🎯 Which app would help this user most: a teen learning to make snacks? (a) a recipe finder (b) a bus tracker (c) a homework planner (d) a big-text reader
- 33.🗂️ What kind of app is a puzzle with levels? (a) a health app (b) a tool app (c) a learning app (d) a game
-
34.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(250) → expected 40
Test 2: delivery(300) → expected 0
Test 3: delivery(600) → expected 0 -
35.🔀 What does this PIN rule show?
let pin = "63722";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 36.🎨 Fewer taps to finish a task usually means ___. (a) better UX (b) worse UX (c) more colours (d) a bigger app
- 37.Which of these app ideas solves a real problem? (a) a blank grey screen (b) an app that just says hi (c) a page of random dots (d) a medicine reminder
- 38.♿ Showing right or wrong only in red and green is a problem for ___. (a) the server (b) the battery (c) fast typists (d) colour-blind users
- 39.True or false: how fast a task is done is about UI (the look). (a) True (b) False
- 40.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
Answer key
- 230
- handler
- True
- what the app really does
- one the app cannot skip
- 20
- 39
- 1
- 4
- True
- True
- 830
- 175
- 3
- 615
- 1
- 15
- a lost-and-found board
- 3
- 6
- connect the data
- Search
- Design A
- a big-text reader
- a user need
- add money spent
- Battery OK
- the sound on/off setting
- track the order
- good design
- 6
- a recipe finder
- a game
- 2
- Use 4 digits
- better UX
- a medicine reminder
- colour-blind users
- False
- a wireframe
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students