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.🔁 What number does this code show?
let steps = [7, 18, 6, 15];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
2.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[button] Start
[slider] Text size
[switch] Remind me
[text box] Due date
[text box] City - 3.👥 A school app has 70 students, 130 teachers and 20 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
- 4.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) pick your bus stop (d) change the bus icon
- 5.🔘 Our rule: buttons are at least 48 px tall. The Help button is 36 px tall. How many px taller must it be?
- 6.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) post the photo (b) take the photo
- 7.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
- 8.🚀 Which version is newer: 3.2.3 or 3.11.2? (a) 3.11.2 (b) 3.2.3
- 9.True or false: “fast-flashing lights” makes the app harder to use. (a) False (b) True
- 10.🔍 Which is the odd one out? (a) a beep sound (b) a pop-up message (c) working out a tip (d) a result on screen
-
11.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 1 days
show the score: 2 days - 12.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
- 13.True or false: the user presses Save is a tap event. (a) True (b) False
-
14.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(16) → expected 100
Test 2: price(12) → expected 50
Test 3: price(13) → expected 100 (a) Test 2 (b) Test 1 (c) Test 3 - 15.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) pick a theme colour (c) earn stickers (d) set a due date
- 16.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) saves the battery (d) changes the phone
- 17.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) test it again (c) release an update (d) read user reviews
- 18.🔢 In a sign-up flow, which comes first: “open the app” or “enter the code sent”? (a) open the app (b) enter the code sent
-
19.🧰 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(8) + fee(8)); -
20.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. open “Badges”
3. tap the Me tab
4. open “Match report”
5. tap Back
Which screen are you on now? (a) Me (b) Match report (c) Video (d) Badges -
21.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “forgetting homework”?
forgetting homework: 12 votes
forgetting birthdays: 20 votes
losing water bottles: 21 votes - 22.True or false: a bus tracker needs your contacts. (a) True (b) False
- 23.🚀 What should an app ask for only when it really needs it? (a) its icon (b) a permission (c) a font (d) its name
- 24.🔀 What is a user flow? (a) a type of font (b) the path through screens (c) a colour theme (d) a charging cable
- 25.True or false: a bill splitter solves no real problem. (a) False (b) True
- 26.True or false: a word battle is a learning app. (a) True (b) False
-
27.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Badges”
3. open “Badges”
Which screen are you on now? (a) Settings (b) Badges (c) Feed (d) Chat - 28.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) see the home screen (c) tap “Sign up” (d) open the app
- 29.🔍 Which is the odd one out? (a) typing your age (b) a beep sound (c) tapping a button (d) speaking a command
- 30.♿ A screen has 12 icon buttons. Only 8 of them have a text label for screen readers. How many still need a label?
- 31.🔍 Which is the odd one out? (a) a result on screen (b) speaking a command (c) a pop-up message (d) a beep sound
- 32.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money received
-
33.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(9) → expected 50
Test 3: price(14) → expected 100 (a) Test 1 (b) Test 3 (c) Test 2 - 34.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) delete the app (d) find where it goes wrong
-
35.🔁 What number does this code show?
let scores = [38, 55, 99];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); - 36.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) pick your bus stop (c) see where the bus is (d) rate the driver
- 37.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) phone cases (c) easy cases (d) edge cases
-
38.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Shop → Pay → Menu → Item → Pens
Design B: Home → Address → Pens → Results → Pay -
39.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 270; // typed by the user
line 2: let off = 50; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 2 (b) line 1 (c) line 4 (d) line 3 - 40.🔢 When you make an app, which comes first: “test the app” or “plan the screens”? (a) plan the screens (b) test the app
Answer key
- 46
- 4
- teachers
- pick your bus stop
- 12
- take the photo
- good design
- 3.11.2
- True
- working out a tip
- 6
- a user need
- True
- Test 3
- set a due date
- starts an action
- fix and improve
- open the app
- 80
- Me
- 8
- False
- a permission
- the path through screens
- False
- False
- Badges
- see the home screen
- a beep sound
- 4
- speaking a command
- add money received
- Test 1
- find where it goes wrong
- 1
- rate the driver
- edge cases
- 1
- line 3
- plan the screens
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students