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.🔀 With if / else if / else, how many parts run? (a) two (b) none (c) all of them (d) only one
-
2.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 144; // typed by the user
line 2: let friends = 3; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 2 (b) line 1 (c) line 4 (d) line 3 - 3.Which of these is a screen? (a) a date picker (b) a box to type a name (c) the settings page (d) your saved notes
-
4.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(250) → expected 40 - 5.🚀 Your app is at version 1.10.4. The next release adds a new feature. What is its version number? (a) 1.11.4 (b) 2.0.0 (c) 1.10.5 (d) 1.11.0
- 6.🔢 When you make an app, which comes FIRST? (a) get an idea (b) test the app (c) plan the screens (d) release it
- 7.🔍 Which is the odd one out? (a) a times-table quiz (b) a word battle (c) a flashcard trainer (d) a spelling coach
- 8.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) show the score (c) check the answer (d) background music
- 9.👥 A clinic app has 290 patients, 90 doctors and 140 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
- 10.♿ What does a screen reader do? (a) takes photos (b) makes text tiny (c) plays music (d) reads the screen aloud
- 11.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
-
12.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ filter buttons ]
[ search box ]
[ title text ]
[ menu icon ]
[ list of items ]
[ top bar ] (a) filter buttons (b) title text (c) list of items (d) top bar - 13.Which of these is a user need? (a) “Small text is hard” (b) a dark mode switch (c) a reminder alarm (d) a search bar
- 14.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
-
15.🧩 Which of these is a button on this screen?
[title] New Note
[button] Next
[button] Send
[text box] City
[text box] Age
[switch] Dark mode
[button] Save (a) Dark mode (b) Next (c) City (d) Age - 16.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
- 17.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
- 18.Which of these helps everyone use the app? (a) captions on videos (b) icons with no labels (c) colour as the only clue (d) tiny tap areas
-
19.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(850) → expected 0
Test 3: delivery(300) → expected 40 -
20.🧪 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(5) → expected 50
Test 2: price(14) → expected 100
Test 3: price(13) → expected 100 - 21.👥 A cricket club app has 300 players, 225 coaches and 180 fans as users. Which user group is the biggest? (a) coaches (b) players (c) fans
- 22.📅 An app team plans for 4 days, builds for 9 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
-
23.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(24)); -
24.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 32; // start at 32
line 2: score = score - 1; // take away 1
line 3: score = score - 3; // add 3
line 4: show(score); // show it -
25.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 31; // start at 31
line 2: score = score + 2; // double it
line 3: score = score - 3; // take away 3
line 4: show(score); // show it - 26.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
- 27.True or false: a torch is a tool app. (a) False (b) True
- 28.Which of these is a button? (a) your high score (b) a switch for dark mode (c) tap to Save (d) your friends list
- 29.🔁 list.length tells you ___. (a) the first item (b) the last item (c) how many items it has (d) the biggest item
-
30.🧪 One test case fails. Which one?
🚚 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(100) → expected 40
Test 2: delivery(350) → expected 0
Test 3: delivery(300) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 -
31.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 18 px
Hint: 12 px
Body text: 18 px - 32.True or false: checking a password is processing. (a) False (b) True
-
33.🔁 What number does this code show?
let scores = [70, 89, 35, 31, 78];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 34.True or false: how users feel after is about UX (the experience). (a) False (b) True
- 35.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) never (d) on day one
-
36.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(5) + fee(6)); -
37.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ list of items ]
[ title text ]
[ menu icon ]
[ tab bar ]
[ big picture ] (a) tab bar (b) list of items (c) title text (d) big picture -
38.🚀 Which of these versions is the NEWEST?
2.23.2, 3.11.9, 3.15.7, 3.16.4 (a) 2.23.2 (b) 3.16.4 (c) 3.11.9 (d) 3.15.7 -
39.🧩 How many buttons does this app screen have?
[title] Settings
[text box] Name
[button] Cancel
[text box] Phone
[text box] Email
[button] Back -
40.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(2) + fee(2));
Answer key
- only one
- line 3
- the settings page
- 40
- 1.11.0
- get an idea
- a word battle
- background music
- patients
- reads the screen aloud
- False
- top bar
- “Small text is hard”
- helps everyone
- Next
- True
- output
- captions on videos
- 3
- 100
- players
- 17
- 48
- 28
- 30
- Yes
- True
- tap to Save
- how many items it has
- Test 3
- 1
- True
- 3
- True
- after the must-haves
- 60
- tab bar
- 3.16.4
- 2
- 0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students