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: whether users get lost is about UX (the experience). (a) False (b) True
-
2.👆 The user taps the button 4 times. What number does the label show now?
let lives = 7;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; - 3.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) write a caption (b) take the photo (c) post the photo (d) add a filter
- 4.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) === (c) = (d) !==
-
5.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 300) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 0
Test 2: delivery(200) → expected 40
Test 3: delivery(600) → expected 0 -
6.🖼️ In this wireframe (top to bottom), what is right above the list of items?
[ Add button ]
[ big picture ]
[ top bar ]
[ filter buttons ]
[ list of items ] (a) big picture (b) top bar (c) filter buttons (d) Add button - 7.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) finished fast (c) easy to build (d) very small
-
8.⚙️ What number does this app show?
let km = 9; // typed by the user
let metres = km * 1000;
show(metres); - 9.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) tap “Sign up” (b) open the app (c) type name and email (d) see the home screen
-
10.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[text box] Phone
[text box] City
[text box] Subject
[slider] Brightness
[button] Start - 11.🔢 When you make an app, which comes LAST? (a) test the app (b) plan the screens (c) get an idea (d) release it
- 12.🚀 Which version is newer: 4.6.2 or 4.6.13? (a) 4.6.13 (b) 4.6.2
- 13.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) fast typists (c) the server (d) colour-blind users
-
14.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(4) + fee(8)); - 15.True or false: a party-invite app for friends needs your location. (a) False (b) True
- 16.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) headline (d) handler
-
17.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[text box] Notes
[button] Cancel
[text box] City
[button] Done
[button] Save
[slider] Text size
[text box] Phone - 18.Which of these app ideas solves a real problem? (a) a blank grey screen (b) a button with no action (c) an app that just says hi (d) a medicine reminder
- 19.Which of these is a feature? (a) “Small text is hard” (b) “I keep missing the bus” (c) “What should I cook?” (d) a search bar
- 20.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) no UI at all (d) good UX but poor UI
- 21.True or false: your saved notes is an input. (a) False (b) True
-
22.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(18) → expected 100
Test 2: price(13) → expected 50
Test 3: price(14) → expected 100 -
23.⚙️ What number does this app show?
let bill = 150; // typed by the user
let friends = 2; // typed by the user
let share = bill / friends;
show(share); - 24.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
- 25.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
- 26.🔍 Which is the odd one out? (a) sudden loud sounds (b) colour as the only clue (c) fast-flashing lights (d) text that can grow
- 27.🛠️ At which stage do you try every button? (a) the build stage (b) the idea stage (c) the test stage (d) the plan stage
- 28.True or false: you let friends try it at the build stage. (a) True (b) False
- 29.True or false: taking a photo is an input. (a) True (b) False
-
30.⚙️ What number does this app show?
let price = 10; // typed by the user
let qty = 6; // typed by the user
let total = price * qty;
show(total); -
31.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Menu → Results
Design B: Home → Offers → Pens → Address → Pay → Item (a) Design B (b) Design A -
32.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. open “Map”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? - 33.True or false: “icons with no labels” helps everyone use the app. (a) True (b) False
-
34.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 35.💾 Which can hold many values in order? (a) a list (b) a button (c) a switch (d) a single number
- 36.Which of these is a user need? (a) “I forget my homework” (b) a share button (c) a dark mode switch (d) a search bar
-
37.🧪 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(20) → expected 100
Test 2: price(11) → expected 50
Test 3: price(14) → expected 100 -
38.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap Back
3. open “Video”
Which screen are you on now? (a) Video (b) Map (c) Lessons (d) Quiz - 39.True or false: speaking a command is an output. (a) False (b) True
-
40.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 11 px
Title: 22 px
Footer: 26 px (a) Title (b) Hint (c) Footer
Answer key
- True
- 19
- take the photo
- ===
- 3
- filter buttons
- hard to use
- 9000
- see the home screen
- 4
- release it
- 4.6.13
- colour-blind users
- 50
- False
- handler
- 4
- a medicine reminder
- a search bar
- good UI but poor UX
- False
- 100
- 75
- too much
- good design
- text that can grow
- the test stage
- False
- True
- 60
- Design A
- 1
- False
- Ask a parent
- a list
- “I forget my homework”
- 3
- Video
- False
- Hint
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students