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 museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(6) + fee(12)); - 2.🔍 Which is the odd one out? (a) a calculator (b) a water reminder (c) a unit converter (d) a torch
- 3.💾 Which can hold many values in order? (a) a single number (b) a list (c) a switch (d) a button
- 4.🔍 Which is the odd one out? (a) sorting the scores (b) a result on screen (c) a pop-up message (d) a buzz (vibration)
- 5.🔁 list.length tells you ___. (a) how many items it has (b) the last item (c) the biggest item (d) the first item
-
6.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right >= 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(7) → expected Try again
Test 3: result(9) → expected Pass - 7.Which of these helps everyone use the app? (a) fast-flashing lights (b) colour as the only clue (c) icons with no labels (d) labels on every icon
- 8.🔢 In a food-order flow, which comes first: “check the cart” or “pick a dish”? (a) check the cart (b) pick a dish
- 9.🧭 Which part of navigation goes to the last screen? (a) a tab bar (b) the back button (c) a menu button
- 10.📅 An app team plans for 2 days, builds for 5 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
11.🔁 What number does this code show?
let marks = [11, 3, 14, 9, 13];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 12.Which of these is a feature? (a) “I forget my homework” (b) “Small text is hard” (c) “What should I cook?” (d) a reminder alarm
- 13.True or false: “text that can grow” helps everyone use the app. (a) True (b) False
- 14.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
-
15.🧩 Which of these is a button on this screen?
[title] New Note
[switch] Dark mode
[button] Help
[text box] Email
[text box] Age
[button] Done
[button] Cancel (a) Done (b) Dark mode (c) Age (d) Email - 16.📅 An app team plans for 2 days, builds for 12 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 17.🔍 Which is the odd one out? (a) checking a password (b) adding up a bill (c) a result on screen (d) sorting the scores
- 18.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
-
19.⚙️ What number does this app show?
let bill = 108; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); -
20.🔀 What number does this shop app show?
let total = 610;
if (total > 500) {
total = total - 50;
}
show(total); -
21.🔀 What does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
22.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Notes
[button] Help -
23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 35; // start at 33
line 2: lives = lives - 1; // take away 1
line 3: lives = lives - 5; // take away 5
line 4: show(lives); // show it (a) line 2 (b) line 3 (c) line 1 - 24.💾 What is a variable? (a) a picture (b) a named box for a value (c) a phone setting (d) a type of screen
-
25.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 40; // start at 40
line 2: points = points + 2; // double it
line 3: points = points + 3; // add 3
line 4: show(points); // show it -
26.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Footer: 25 px
Caption: 22 px
Label: 14 px
Body text: 19 px
Menu: 17 px (a) Caption (b) Body text (c) Label (d) Footer - 27.True or false: the search box changes is a timer event. (a) True (b) False
-
28.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. tap Back
3. open “Help page”
4. open “Edit photo”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 29.Which of these is true of a tab bar? (a) undoes one move (b) hides extra links (c) sits at the bottom (d) goes to the last screen
- 30.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) makes it harder (b) helps everyone
- 31.🔢 In a sign-up flow, which comes first: “open the app” or “see the home screen”? (a) open the app (b) see the home screen
- 32.True or false: a walking map needs your location. (a) False (b) True
- 33.👥 A clinic app has 20 patients, 145 doctors and 205 nurses as users. How many more nurses than patients are there?
- 34.🔘 Is this good or poor button design: grey text on grey? (a) good design (b) poor design
-
35.🧪 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(14) → expected 100
Test 2: price(12) → expected 50
Test 3: price(15) → expected 100 - 36.Which of these happens at the release stage? (a) pick the features (b) spot a problem to solve (c) share the download link (d) talk to possible users
- 37.Which of these is true of a wireframe? (a) has no real colours (b) shows the real fonts (c) looks like the real app (d) uses the final pictures
-
38.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 51; // start at 50
line 2: points = points * 2; // double it
line 3: points = points + 2; // add 2
line 4: show(points); // show it (a) line 2 (b) line 3 (c) line 1 -
39.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ big picture ]
[ top bar ]
[ Add button ]
[ title text ]
[ Save button ]
[ filter buttons ] (a) title text (b) filter buttons (c) Add button (d) Save button - 40.True or false: the log-in page is a screen. (a) False (b) True
Answer key
- 80
- a water reminder
- a list
- sorting the scores
- how many items it has
- 3
- labels on every icon
- pick a dish
- the back button
- 4
- 50
- a reminder alarm
- True
- UI
- Done
- 14
- a result on screen
- hard to read
- 27
- 560
- Welcome!
- 1
- line 1
- a named box for a value
- 45
- Label
- False
- 1
- sits at the bottom
- helps everyone
- open the app
- True
- 185
- poor design
- 3
- share the download link
- has no real colours
- line 1
- filter buttons
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students