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: you add the buttons at the plan stage. (a) False (b) True
- 2.👆 What kind of event is this: the user taps Play? (a) a load event (b) a timer event (c) a text event (d) a tap event
- 3.True or false: working out a tip is processing. (a) False (b) True
-
4.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Results → Item → Search → Pay
Design B: Home → Shop → Size → Menu → Address → Offers → Search - 5.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
-
6.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Size → Cart
Design B: Home → Pens → Shop → Size → Confirm → Cart -
7.🔁 What number does this code show?
let marks = [13, 1, 1];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 8.✏️ What is a wireframe? (a) the finished app (b) a charging cable (c) a simple screen sketch (d) a type of password
-
9.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 36 px tall
Help button: 48 px tall
Done button: 44 px tall -
10.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Search → Confirm
Design B: Home → Size → Confirm → Results → Item → Cart - 11.Which of these is an input? (a) working out a tip (b) adding up a bill (c) a result on screen (d) taking a photo
- 12.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) track the order (b) pick a dish (c) check the cart (d) open the menu
-
13.🧪 What is the ACTUAL result of Test 3?
🚚 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(300) → expected 40
Test 2: delivery(500) → expected 0
Test 3: delivery(800) → expected 0 - 14.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
- 15.🔍 Which is the odd one out? (a) labels on every icon (b) text that can grow (c) colour as the only clue (d) strong colour contrast
- 16.True or false: you add the buttons at the idea stage. (a) True (b) False
-
17.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 18.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
-
19.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
losing water bottles: 10 votes
wasting pocket money: 15 votes
forgetting homework: 3 votes - 20.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
-
21.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Pass
Test 2: result(2) → expected Try again
Test 3: result(6) → expected Pass - 22.👥 A school app has 185 students, 245 teachers and 190 parents as users. How many users does it have in all?
- 23.True or false: the settings page is a screen. (a) False (b) True
-
24.👆 The user taps the button 4 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) ON (b) OFF -
25.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Send
[text box] Subject
[button] Done
[switch] Remind me - 26.👥 A library app has 50 readers, 120 librarians and 150 volunteers as users. How many more librarians than readers are there?
- 27.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
- 28.🎯 Why learn about users before you build? (a) to slow it down (b) to pick a logo (c) to build what they need (d) to make it longer
- 29.True or false: the sound on/off setting fits saving on the phone. (a) True (b) False
- 30.True or false: a big-text reader is the best fit for a student who keeps forgetting due dates. (a) True (b) False
-
31.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
[ big picture ]
[ filter buttons ]
[ Save button ]
[ top bar ]
[ tab bar ] (a) tab bar (b) Save button (c) top bar (d) big picture - 32.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 4 (c) 1 (d) 8
-
33.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 64 px tall
Cancel button: 72 px tall
Back button: 44 px tall (a) Help (b) Cancel (c) Back - 34.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
- 35.Which of these fits saving on the phone? (a) photos on two devices (b) your last game level (c) chat messages to friends (d) a shared to-do list
-
36.👆 The user taps the button 6 times. What number does the label show now?
let points = 10;
button.onTap = function () {
points = points + 5;
label.text = points;
}; - 37.True or false: a library due-date alert solves no real problem. (a) False (b) True
-
38.🗒️ Version 1 of a water reminder must be ready in 14 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 2 days
see today’s total: 4 days -
39.⚙️ What number does this app show?
let bill = 72; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 40.True or false: a final design uses plain grey boxes. (a) False (b) True
Answer key
- False
- a tap event
- True
- 5
- False
- 2
- 15
- a simple screen sketch
- 1
- 3
- taking a photo
- check the cart
- 0
- hard to read
- colour as the only clue
- False
- 1
- a user need
- 5
- when the test is false
- 2
- 620
- True
- OFF
- 2
- 70
- processing
- to build what they need
- True
- False
- big picture
- 4
- Back
- too much
- your last game level
- 40
- False
- 5
- 24
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students