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.🧪 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(400) → expected 0
Test 2: delivery(450) → expected 0
Test 3: delivery(350) → expected 40 (a) Test 3 (b) Test 1 (c) Test 2 - 2.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
- 3.🔍 Which is the odd one out? (a) typing your age (b) a beep sound (c) taking a photo (d) tapping a button
- 4.🧪 A test fails when ___. (a) the app is new (b) the font is big (c) both are the same (d) actual is not expected
-
5.🧩 Which of these is a button on this screen?
[title] Sign Up
[text box] Subject
[text box] Notes
[button] Save
[text box] Email
[button] Start (a) Notes (b) Subject (c) Email (d) Save - 6.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) add money spent (d) export to a file
- 7.Which colour pair is hard to read? (a) pale pink on white (b) black on yellow (c) white on dark green (d) dark blue on white
-
8.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 2 days
pick your bus stop: 2 days - 9.🧩 Which part lets the user give the app information? (a) a logo (b) an input (c) a title (d) an icon
- 10.True or false: a flashcard trainer is a learning app. (a) False (b) True
- 11.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
-
12.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Label: 22 px
Title: 10 px
Body text: 27 px
Hint: 27 px
Menu: 17 px (a) Title (b) Body text (c) Label (d) Hint - 13.🐞 After fixing a bug you should ___. (a) delete the test (b) release at once (c) test it again (d) never test
- 14.True or false: a guitar tuner needs the microphone. (a) True (b) False
- 15.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
-
16.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Age
[slider] Volume
[switch] Sound
[button] Help
[button] Back
[button] Cancel
[text box] Notes - 17.🔍 Which is the odd one out? (a) speaking a command (b) adding up a bill (c) checking a password (d) sorting the scores
- 18.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a parameter (d) a screen
-
19.🐞 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 + 1; // take away 1
line 3: score = score - 4; // take away 4
line 4: show(score); // show it (a) line 2 (b) line 1 (c) line 3 -
20.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Menu → Address → Results → Offers → Pay
Design B: Home → Cart → Results (a) Design B (b) Design A - 21.Which of these is about UX (the experience)? (a) the theme colours (b) the font size (c) how easy sign-up is (d) the button colours
- 22.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
- 23.👥 A cricket club app has 195 players, 55 coaches and 135 fans as users. Which user group is the biggest? (a) coaches (b) fans (c) players
-
24.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON - 25.🔢 When you make an app, which comes first: “get an idea” or “test the app”? (a) get an idea (b) test the app
- 26.👆 What kind of event is this: a finger hits Like? (a) a text event (b) a timer event (c) a load event (d) a tap event
- 27.👆 What kind of event is this: the app starts up? (a) a load event (b) a timer event (c) a text event (d) a tap event
-
28.🧩 Which of these is a button on this screen?
[title] Settings
[text box] Notes
[text box] City
[button] Start
[text box] Name
[switch] Sound (a) Name (b) Notes (c) City (d) Start -
29.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “missing the bus”?
missing the bus: 14 votes
wasting pocket money: 17 votes
forgetting birthdays: 21 votes - 30.🔍 Which is the odd one out? (a) a buzz (vibration) (b) taking a photo (c) speaking a command (d) typing your age
- 31.True or false: a date picker is data. (a) False (b) True
- 32.Which of these is a user need? (a) a search bar (b) “What should I cook?” (c) a reminder alarm (d) a dark mode switch
- 33.💡 Which app idea solves this problem: a team shares one snack bill? (a) a lost-and-found board (b) a bill splitter (c) a study-room finder (d) a homework planner
-
34.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Pens → Results → Search → Offers
Design B: Home → Address → Search - 35.🧰 What does return do in a function? (a) repeats the code (b) sends back a value (c) closes the screen (d) deletes the app
-
36.📊 Survey: which problem bugs you most? Which problem should your app solve first?
losing water bottles: 4 votes
missing the bus: 13 votes
wasting pocket money: 9 votes (a) missing the bus (b) losing water bottles (c) wasting pocket money -
37.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
see where the bus is: 1 days
show arrival time: 4 days
pick your bus stop: 2 days - 38.🧰 How do you run (call) a function called greet? (a) #greet (b) greet[] (c) run greet (d) greet()
- 39.Which of these requests is fair? (a) torch → contacts (b) calculator → location (c) voice notes → microphone (d) timer → your photos
-
40.🔀 What number does this shop app show?
let total = 490;
if (total > 500) {
total = total - 50;
}
show(total);
Answer key
- Test 1
- the path through screens
- a beep sound
- actual is not expected
- Save
- add money spent
- pale pink on white
- 5
- an input
- True
- fair
- Title
- test it again
- True
- makes it harder
- 4
- speaking a command
- a parameter
- line 2
- Design B
- how easy sign-up is
- open the camera screen
- players
- ON
- get an idea
- a tap event
- a load event
- Start
- 7
- a buzz (vibration)
- False
- “What should I cook?”
- a bill splitter
- 2
- sends back a value
- missing the bus
- 4
- greet()
- voice notes → microphone
- 490
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students