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.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 2.Which of these is data? (a) tap to Save (b) tap to Start (c) your saved notes (d) tap to go Next
-
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 38; // start at 38
line 2: score = score - 3; // add 3
line 3: score = score - 4; // take away 4
line 4: show(score); // show it (a) line 3 (b) line 2 (c) line 1 - 4.Which of these is true of a final design? (a) shows where things go (b) is a quick sketch (c) looks like the real app (d) uses plain grey boxes
- 5.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
- 6.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
- 7.True or false: an app needs no installing. (a) True (b) False
- 8.True or false: a clear word like Save is good button design. (a) False (b) True
-
9.🖼️ In this wireframe (top to bottom), what is right above the list of items?
[ tab bar ]
[ list of items ]
[ Save button ]
[ search box ] (a) Save button (b) search box (c) tab bar - 10.🧭 Which part of navigation switches main sections? (a) a tab bar (b) the back button (c) a menu button
- 11.True or false: a tiny 20 px button is good button design. (a) True (b) False
-
12.🖼️ In this wireframe (top to bottom), what is right below the Add button?
[ top bar ]
[ big picture ]
[ list of items ]
[ Add button ]
[ menu icon ] (a) list of items (b) menu icon (c) top bar (d) big picture - 13.🗒️ When should nice-to-have features be built? (a) on day one (b) before anything (c) never (d) after the must-haves
- 14.True or false: the log-in page is data. (a) True (b) False
- 15.👥 A school app has 300 students, 90 teachers and 40 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
- 16.Which of these is true of a website? (a) opens in a web browser (b) has a home-screen icon (c) is installed on a phone (d) comes from an app store
- 17.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the app store (c) the phone screen (d) the battery
- 18.Which of these fits saving on the phone? (a) a shared to-do list (b) photos on two devices (c) chat messages to friends (d) your last game level
-
19.👆 The user taps the button 6 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
20.🧪 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(650) → expected 40
Test 3: delivery(800) → expected 0 - 21.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
-
22.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 32 px tall
Save button: 60 px tall
Cancel button: 44 px tall
Next button: 48 px tall -
23.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Aman (b) Well done, Aman! (c) Well done! (d) Well done, nameBox.text! - 24.🧩 What do we call one full page of an app? (a) a variable (b) a screen (c) a cable (d) a battery
- 25.🧩 In an app, what is a switch for dark mode? (a) data (b) an input (c) a button (d) a screen
-
26.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 27.True or false: a unit converter is a health app. (a) False (b) True
- 28.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
- 29.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) True (b) False
-
30.🚀 Which of these versions is the OLDEST?
1.29.5, 2.13.5, 2.18.3, 2.7.2 (a) 2.7.2 (b) 2.18.3 (c) 2.13.5 (d) 1.29.5 - 31.🎯 Why learn about users before you build? (a) to slow it down (b) to pick a logo (c) to build what they need (d) to make it longer
- 32.True or false: the user presses Save is a text event. (a) False (b) True
- 33.True or false: a party-invite app for friends needs the camera. (a) True (b) False
- 34.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much
- 35.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
- 36.🔀 What does >= mean? (a) less than (b) not equal (c) smaller or equal (d) greater than or equal
- 37.Which of these is an input? (a) tap to go Next (b) tap to Send (c) your friends list (d) a slider for volume
-
38.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 52; // start at 49
line 2: score = score + 5; // add 5
line 3: score = score - 1; // take away 1
line 4: show(score); // show it - 39.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
-
40.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 68 px tall
Start button: 48 px tall
Cancel button: 44 px tall (a) Start (b) Cancel (c) Send
Answer key
- 2
- your saved notes
- line 2
- looks like the real app
- UX
- UI
- False
- True
- tab bar
- a tab bar
- False
- menu icon
- after the must-haves
- False
- students
- opens in a web browser
- people reading the code
- your last game level
- 4
- 40
- a feature
- 2
- Well done, Aman!
- a screen
- an input
- Ask a parent
- False
- Yes
- True
- 1.29.5
- to build what they need
- False
- False
- too much
- True
- greater than or equal
- a slider for volume
- 53
- a user need
- Cancel
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students