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.♿ A screen has 6 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
- 2.Which of these is data? (a) a date picker (b) your saved notes (c) a slider for volume (d) the settings page
- 3.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a bill splitter (c) a medicine reminder (d) a study-room finder
-
4.⚙️ What number does this app show?
let bill = 268; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); -
5.🧪 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(350) → expected 0
Test 2: delivery(150) → expected 40
Test 3: delivery(400) → expected 0 -
6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 15 px
Caption: 20 px
Label: 13 px
Menu: 12 px
Footer: 12 px -
7.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 35; // typed by the user
line 2: let qty = 5; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 3 (c) line 1 (d) line 4 - 8.True or false: a box to type a name is a screen. (a) False (b) True
-
9.🗒️ Version 1 of a quiz app must be ready in 17 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 4 days
show the score: 5 days -
10.🖼️ How many parts (boxes) does this wireframe have?
[ search box ]
[ title text ]
[ menu icon ]
[ Save button ]
[ big picture ] -
11.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(9) → expected 50
Test 3: price(15) → expected 100 -
12.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 44; // start at 42
line 2: points = points * 2; // double it
line 3: points = points + 2; // add 2
line 4: points = points + 6; // add 6
line 5: show(points); // show it - 13.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 6 (d) 5
- 14.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) saves the battery (d) changes the phone
- 15.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
-
16.⚙️ What number does this app show?
let km = 5; // typed by the user
let metres = km * 1000;
show(metres); - 17.🔍 Which is the odd one out? (a) labels on every icon (b) colour as the only clue (c) icons with no labels (d) tiny tap areas
- 18.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 19.🧰 How do you run (call) a function called greet? (a) greet() (b) greet[] (c) #greet (d) run greet
- 20.True or false: the search box changes is a tap event. (a) False (b) True
- 21.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
- 22.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 23.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
- 24.True or false: your friends list is data. (a) True (b) False
- 25.Which of these is a feature? (a) “I keep missing the bus” (b) “What should I cook?” (c) “Small text is hard” (d) a reminder alarm
- 26.🔍 Which is the odd one out? (a) colour as the only clue (b) tiny tap areas (c) sudden loud sounds (d) big touch targets
- 27.🔢 When you make an app, what comes right after “build the app”? (a) get an idea (b) plan the screens (c) test the app (d) release it
- 28.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
- 29.🧰 In function tip(bill), what is bill? (a) a loop (b) a parameter (c) an event (d) a screen
- 30.🚀 Which version is newer: 2.16.3 or 2.4.2? (a) 2.16.3 (b) 2.4.2
- 31.🧩 In an app, what is tap to Start? (a) a screen (b) data (c) a button (d) an input
- 32.🔢 When you make an app, which comes FIRST? (a) release it (b) test the app (c) get an idea (d) plan the screens
- 33.🔢 After an app is released, which comes first: “fix and improve” or “read user reviews”? (a) fix and improve (b) read user reviews
- 34.Which of these is true of the back button? (a) switches main sections (b) shows 3 to 5 icons (c) goes to the last screen (d) sits at the bottom
- 35.True or false: a date picker is an input. (a) False (b) True
- 36.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
- 37.👥 A library app has 30 readers, 140 librarians and 45 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
- 38.🗒️ Why keep version 1 small? (a) to confuse users (b) to use up storage (c) to learn from users soon (d) to look bigger
-
39.🧪 How many of these test cases pass?
🎟️ 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(13) → expected 50
Test 2: price(15) → expected 100
Test 3: price(14) → expected 100 - 40.🔍 Which is the odd one out? (a) how many taps it takes (b) the button colours (c) the icon shapes (d) the font size
Answer key
- 2
- your saved notes
- a study-room finder
- 67
- 3
- 4
- line 3
- False
- 5
- 5
- 3
- 96
- 5
- starts an action
- too much
- 5000
- labels on every icon
- easy to read
- greet()
- False
- hard to read
- helps everyone
- processing
- True
- a reminder alarm
- big touch targets
- test the app
- UI
- a parameter
- 2.16.3
- a button
- get an idea
- read user reviews
- goes to the last screen
- True
- UX
- librarians
- to learn from users soon
- 3
- how many taps it takes
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students