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 clinic app has 295 patients, 300 doctors and 175 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
- 2.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
-
3.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 32 px tall
Cancel button: 64 px tall
Start button: 68 px tall
Back button: 48 px tall (a) Back (b) Start (c) Save (d) Cancel - 4.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
-
5.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 44 px tall
Back button: 64 px tall
Cancel button: 32 px tall -
6.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Size → Confirm → Pens → Search → Offers
Design B: Home → Cart → Pens → Offers → Menu → Item → Pay - 7.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) tab bar (c) shortcut (d) home screen
- 8.True or false: a torch is a tool app. (a) False (b) True
- 9.🚀 A privacy policy tells users ___. (a) the app’s price (b) the screen size (c) the app’s colours (d) what data is collected
-
10.👆 The user taps the button 1 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 -
11.👆 The user taps the button 4 times. What number does the label show now?
let points = 2;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 12.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
- 13.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
-
14.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(950) → expected 0
Test 2: delivery(1050) → expected 0
Test 3: delivery(750) → expected 40 - 15.True or false: a step counter is a health app. (a) False (b) True
-
16.🔁 What number does this code show?
let runs = [24, 54, 72, 26];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 60) {
count = count + 1;
}
}
show(count); - 17.Which of these is processing? (a) working out a tip (b) speaking a command (c) a buzz (vibration) (d) a beep sound
- 18.Which of these is true of a wireframe? (a) uses the final pictures (b) looks like the real app (c) shows the real fonts (d) is a quick sketch
- 19.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) open the app (c) make a password (d) tap “Sign up”
-
20.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(4)); -
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 34; // start at 34
line 2: points = points - 2; // add 2
line 3: points = points * 2; // double it
line 4: points = points + 2; // add 2
line 5: show(points); // show it (a) line 1 (b) line 4 (c) line 3 (d) line 2 - 22.🔢 After an app is released, which comes LAST? (a) fix and improve (b) release an update (c) test it again (d) list what to fix
- 23.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
- 24.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
-
25.🧩 Which of these is a button on this screen?
[title] Add Homework
[button] Send
[text box] City
[text box] Age
[button] Help
[button] Back
[slider] Brightness (a) Help (b) Age (c) City (d) Brightness - 26.Which of these is true of a final design? (a) looks like the real app (b) has no real colours (c) uses plain grey boxes (d) shows where things go
- 27.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) set a due date (c) see tasks by day (d) add a homework task
-
28.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 43; // start at 43
line 2: stars = stars - 5; // take away 4
line 3: stars = stars + 4; // add 4
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it - 29.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
- 30.🔘 Our rule: buttons are at least 48 px tall. The Start button is 36 px tall. How many px taller must it be?
- 31.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a water reminder (b) a bus tracker (c) a homework planner (d) a big-text reader
- 32.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
- 33.🔀 What is a user flow? (a) the path through screens (b) a colour theme (c) a charging cable (d) a type of font
-
34.🧩 Which of these is a button on this screen?
[title] Sign Up
[slider] Volume
[text box] Email
[button] Save
[text box] Due date (a) Due date (b) Email (c) Volume (d) Save - 35.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
-
36.🔀 What does this battery rule show?
let battery = 57;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 37.True or false: “strong colour contrast” helps everyone use the app. (a) True (b) False
-
38.⚙️ What number does this app show?
let km = 15; // typed by the user
let metres = km * 1000;
show(metres); -
39.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 94; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 2 (c) line 3 (d) line 1 -
40.🗒️ Version 1 of a homework planner must be ready in 10 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 2 days
see tasks by day: 3 days
Answer key
- doctors
- a wireframe
- Save
- a feature
- 1
- 5
- dead end
- True
- what data is collected
- ON
- 10
- one the app cannot skip
- helps everyone
- 40
- True
- 1
- working out a tip
- is a quick sketch
- see the home screen
- 70
- line 2
- release an update
- Yes
- a final design
- Help
- looks like the real app
- pick a theme colour
- 84
- repeats code
- 12
- a big-text reader
- an app
- the path through screens
- Save
- a wireframe
- Battery OK
- True
- 15000
- line 3
- 4
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students