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.True or false: a medicine reminder solves no real problem. (a) True (b) False
-
2.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 28 px tall
Back button: 68 px tall
Save button: 68 px tall (a) Help (b) Save (c) Back -
3.🔀 What does this PIN rule show?
let pin = "93133";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Footer: 20 px
Title: 14 px
Hint: 17 px
Body text: 19 px
Caption: 16 px (a) Body text (b) Footer (c) Hint (d) Title - 5.True or false: the user presses Save is a text event. (a) True (b) False
- 6.♿ What does a screen reader do? (a) makes text tiny (b) takes photos (c) plays music (d) reads the screen aloud
-
7.🔀 What does this PIN rule show?
let pin = "994";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
8.🔁 What number does this code show?
let scores = [5, 11, 6, 19, 4];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
9.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 60 px tall
Save button: 32 px tall
Done button: 56 px tall
Next button: 68 px tall (a) Done (b) Next (c) Send (d) Save - 10.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
- 11.🔍 Which is the odd one out? (a) strong colour contrast (b) captions on videos (c) colour as the only clue (d) big touch targets
-
12.🔀 What does this PIN rule show?
let pin = "668";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
13.🧪 One test case fails. Which one?
🚚 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(550) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(300) → expected 40 (a) Test 3 (b) Test 1 (c) Test 2 -
14.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
missing the bus: 7 votes
wasting pocket money: 20 votes
losing water bottles: 8 votes - 15.🧩 In an app, what is tap to Save? (a) a button (b) data (c) a screen (d) an input
-
16.🔀 What does this battery rule show?
let battery = 46;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 17.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 5 (c) 1 (d) 4
-
18.🔁 What number does this code show?
let steps = [19, 7, 9, 1];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 19.👆 What kind of event is this: the search box changes? (a) a timer event (b) a text event (c) a tap event (d) a load event
- 20.🔍 Which is the odd one out? (a) icons with no labels (b) colour as the only clue (c) captions on videos (d) fast-flashing lights
-
21.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 50
Test 2: price(13) → expected 100
Test 3: price(15) → expected 100 -
22.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting birthdays”?
losing water bottles: 23 votes
wasting pocket money: 24 votes
forgetting birthdays: 22 votes - 23.🔀 What is a user flow? (a) a colour theme (b) a type of font (c) the path through screens (d) a charging cable
- 24.♿ A screen has 11 icon buttons. Only 8 of them have a text label for screen readers. How many still need a label?
-
25.🖼️ How many parts (boxes) does this wireframe have?
[ list of items ]
[ big picture ]
[ menu icon ]
[ Add button ]
[ top bar ]
[ Save button ] -
26.🔁 What number does this code show?
let marks = [85, 33, 36];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 70) {
count = count + 1;
}
}
show(count); - 27.Which of these is a button? (a) a switch for dark mode (b) your saved notes (c) tap to Send (d) a date picker
- 28.🔢 In a quiz-app flow, which comes first: “pick an answer” or “read a question”? (a) pick an answer (b) read a question
- 29.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) MVP (d) URL
-
30.🧪 What is the ACTUAL result of Test 1?
🚚 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(650) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(750) → expected 0 - 31.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 2 (c) 251 (d) 5
-
32.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
forgetting homework: 25 votes
wasting pocket money: 14 votes
losing water bottles: 6 votes - 33.Which of these is an input? (a) adding up a bill (b) taking a photo (c) checking a password (d) a pop-up message
- 34.🔘 Is this good or poor button design: a tiny 20 px button? (a) poor design (b) good design
-
35.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 42; // start at 40
line 2: points = points + 2; // add 2
line 3: points = points * 2; // double it
line 4: points = points * 2; // double it
line 5: show(points); // show it -
36.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Next
[text box] Phone
[slider] Brightness
[button] Start
[switch] Dark mode
[button] Save -
37.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Save
[text box] Phone
[slider] Brightness
[switch] Dark mode
[text box] Subject - 38.🧑 Who is an app really made for? (a) its charger (b) its coder only (c) its users (d) its icon
-
39.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Confirm → Cart → Pay → Shop
Design B: Home → Shop → Menu → Offers → Pens → Cart → Item -
40.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. tap Back
3. open “Match report”
4. tap Back
5. open “Video”
How many times must you tap Back to reach the main screen of this tab?
Answer key
- False
- Help
- Use 4 digits
- Title
- False
- reads the screen aloud
- Use 4 digits
- 19
- Save
- how many items it has
- colour as the only clue
- Use 4 digits
- Test 2
- 1
- a button
- Battery OK
- 5
- 19
- a text event
- captions on videos
- 3
- 2
- the path through screens
- 3
- 6
- 1
- tap to Send
- read a question
- MVP
- 0
- 2
- 11
- taking a photo
- poor design
- 176
- 3
- 1
- its users
- 1
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students