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.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) easy cases (c) phone cases (d) edge cases
-
2.🧪 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(650) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(350) → expected 40 - 3.True or false: “strong colour contrast” makes the app harder to use. (a) False (b) True
- 4.🔢 After an app is released, what comes right after “list what to fix”? (a) test it again (b) release an update (c) fix and improve (d) read user reviews
- 5.Which of these fits saving in the cloud? (a) your last game level (b) the sound on/off setting (c) chat messages to friends (d) a draft you are typing
- 6.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a big redesign (b) a new app (c) a new feature (d) a bug fix
- 7.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
-
8.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[text box] Phone
[button] Start
[button] Send -
9.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(40)); - 10.True or false: an alarm clock is a tool app. (a) False (b) True
- 11.True or false: a library due-date alert solves no real problem. (a) False (b) True
- 12.🎨 UI stands for user ___. (a) idea (b) input (c) internet (d) interface
-
13.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Next button: 40 px tall
Help button: 40 px tall
Cancel button: 40 px tall - 14.💡 Which app idea solves this problem: pupils forget due dates? (a) a study-room finder (b) a bill splitter (c) a medicine reminder (d) a homework planner
-
15.🔀 What does this battery rule show?
let battery = 74;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 16.True or false: the theme colours is about UX (the experience). (a) True (b) False
- 17.Which of these is a feature? (a) “Small text is hard” (b) “I keep missing the bus” (c) “I forget my homework” (d) a search bar
-
18.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(15) → expected 100
Test 2: price(7) → expected 50
Test 3: price(14) → expected 100 - 19.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a bill splitter (c) a page of random dots (d) a free study-room finder
-
20.🔀 What does this battery rule show?
let battery = 85;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 21.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
22.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[button] Help
[text box] Phone
[button] Back
[button] Next
[slider] Text size
[text box] Email
[text box] Due date - 23.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 24.⚙️ In an app, is speaking a command an input, processing or an output? (a) input (b) processing (c) output
-
25.🗒️ Version 1 of a water reminder must be ready in 17 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 4 days
see today’s total: 4 days -
26.⚙️ What number does this app show?
let km = 15; // typed by the user
let metres = km * 1000;
show(metres); -
27.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 48; // start at 48
line 2: score = score - 2; // take away 2
line 3: score = score * 2; // double it
line 4: score = score - 3; // take away 2
line 5: show(score); // show it (a) line 3 (b) line 4 (c) line 1 (d) line 2 -
28.🔁 What number does this code show?
let scores = [29, 47, 46];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 50) {
count = count + 1;
}
}
show(count); - 29.♿ Accessibility means an app works for ___. (a) everyone (b) nobody (c) only the coder (d) only experts
-
30.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Friend list”
3. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 31.🔍 Which is the odd one out? (a) big touch targets (b) sudden loud sounds (c) strong colour contrast (d) captions on videos
- 32.Which of these is processing? (a) typing your age (b) a beep sound (c) checking a password (d) tapping a button
- 33.Which of these is true of an app? (a) needs no installing (b) has a home-screen icon (c) has a web address (d) opens from a link
- 34.True or false: a spelling coach is a health app. (a) True (b) False
- 35.Which of these is about UI (the look)? (a) how easy sign-up is (b) how users feel after (c) the button colours (d) whether users get lost
- 36.True or false: a medicine reminder solves no real problem. (a) True (b) False
-
37.🧰 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(5) + fee(7)); - 38.💡 After a survey, which need should version 1 solve? (a) the rarest need (b) the most common need (c) a random need (d) the newest trend
- 39.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
-
40.🔀 Which badge does this quiz app show?
let marks = 27;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze
Answer key
- edge cases
- 3
- False
- fix and improve
- chat messages to friends
- a bug fix
- a wireframe
- 1
- 80
- True
- False
- interface
- 0
- a homework planner
- Battery OK
- False
- a search bar
- 100
- a page of random dots
- Battery OK
- on the phone
- 4
- 6
- input
- 6
- 15000
- line 4
- 0
- everyone
- 2
- sudden loud sounds
- checking a password
- has a home-screen icon
- False
- the button colours
- False
- 40
- the most common need
- False
- Bronze
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students