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.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) tap “Start quiz” (c) pick an answer (d) read a question
-
2.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(16) → expected 100
Test 2: price(6) → expected 50
Test 3: price(15) → expected 100 - 3.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) see the final score (b) pick an answer (c) tap “Start quiz” (d) read a question
- 4.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
- 5.🎨 UI stands for user ___. (a) internet (b) interface (c) idea (d) input
-
6.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 13 votes
missing the bus: 8 votes
wasting pocket money: 18 votes (a) missing the bus (b) forgetting birthdays (c) wasting pocket money -
7.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ filter buttons ]
[ tab bar ]
[ search box ] (a) search box (b) filter buttons (c) list of items (d) tab bar -
8.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 36 px tall
Start button: 68 px tall
Save button: 64 px tall
Back button: 52 px tall (a) Save (b) Next (c) Back (d) Start - 9.True or false: you talk to possible users at the idea stage. (a) False (b) True
- 10.🔢 After an app is released, what comes right after “test it again”? (a) read user reviews (b) list what to fix (c) release an update (d) fix and improve
-
11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 35; // start at 33
line 2: points = points - 5; // take away 5
line 3: points = points * 2; // double it
line 4: points = points + 5; // add 5
line 5: show(points); // show it (a) line 2 (b) line 3 (c) line 4 (d) line 1 - 12.🌗 Is white on dark green easy or hard to read on a button? (a) hard to read (b) easy to read
-
13.⚙️ What number does this app show?
let price = 370; // typed by the user
let off = 30; // typed by the user
let pay = price - off;
show(pay); - 14.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
- 15.🚀 Which version is newer: 1.1.12 or 1.1.7? (a) 1.1.7 (b) 1.1.12
-
16.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 25 votes
losing water bottles: 4 votes
no quiet study place: 19 votes -
17.🔀 What number does this shop app show?
let total = 350;
if (total > 500) {
total = total - 50;
}
show(total); -
18.🔀 What number does this shop app show?
let total = 640;
if (total > 500) {
total = total - 50;
}
show(total); - 19.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the phone screen (c) the app store (d) the battery
- 20.🔢 In a sign-up flow, which comes first: “see the home screen” or “enter the code sent”? (a) see the home screen (b) enter the code sent
- 21.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) show arrival time (d) change the bus icon
-
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. open “Video”
3. open “Edit photo”
Which screen are you on now? (a) Edit photo (b) Map (c) Video (d) Lessons -
23.🔀 What does this battery rule show?
let battery = 80;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
24.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(9)); - 25.🧰 How do you run (call) a function called greet? (a) #greet (b) greet[] (c) greet() (d) run greet
- 26.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) share tasks to friends (d) set a due date
- 27.🧭 Which part of navigation opens a list of pages? (a) a tab bar (b) a menu button (c) the back button
-
28.🚀 Which of these versions is the OLDEST?
1.27.2, 2.8.8, 2.17.4, 2.9.0 (a) 2.9.0 (b) 2.17.4 (c) 2.8.8 (d) 1.27.2 - 29.🗒️ When should nice-to-have features be built? (a) before anything (b) never (c) after the must-haves (d) on day one
- 30.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) custom alert sounds (d) set a reminder time
-
31.🔁 What number does this code show?
let steps = [31, 30, 11, 88, 52];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); -
32.🔁 What number does this code show?
let runs = [5, 4, 15, 17, 20];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 33.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) see the home screen (b) open the app (c) tap “Sign up” (d) make a password
- 34.True or false: the font size is about UX (the experience). (a) True (b) False
- 35.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UX but poor UI (c) good UI but poor UX (d) no UI at all
- 36.Which of these is true of a website? (a) updates from the store (b) has a home-screen icon (c) is installed on a phone (d) opens from a link
- 37.🔘 Our rule: buttons are at least 48 px tall. The Next button is 44 px tall. How many px taller must it be?
- 38.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) add more colours (c) buy a new phone (d) delete the app
- 39.💡 A good app idea starts with ___. (a) a cool logo (b) a problem to solve (c) a long name (d) many colours
-
40.🖼️ How many parts (boxes) does this wireframe have?
[ Save button ]
[ Add button ]
[ filter buttons ]
[ title text ]
[ list of items ]
Answer key
- see the final score
- 50
- see the final score
- debugging
- interface
- wasting pocket money
- search box
- Next
- True
- release an update
- line 1
- easy to read
- 340
- makes it harder
- 1.1.12
- 48
- 350
- 590
- people reading the code
- enter the code sent
- show arrival time
- Edit photo
- Battery OK
- 27
- greet()
- share tasks to friends
- a menu button
- 1.27.2
- after the must-haves
- custom alert sounds
- 1
- 61
- see the home screen
- False
- good UI but poor UX
- opens from a link
- 4
- find where it goes wrong
- a problem to solve
- 5
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students