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.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) post them online (c) allow it (d) deny it
- 2.Which of these requests asks for too much? (a) calling app → contacts (b) map app → location (c) voice notes → microphone (d) quiz app → microphone
-
3.⚙️ What number does this app show?
let price = 510; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); -
4.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 68 px tall
Help button: 48 px tall
Send button: 28 px tall
Back button: 56 px tall (a) Send (b) Cancel (c) Back (d) Help -
5.🖼️ In this wireframe (top to bottom), what is right above the title text?
[ Add button ]
[ filter buttons ]
[ top bar ]
[ title text ]
[ list of items ]
[ big picture ] (a) Add button (b) list of items (c) big picture (d) top bar - 6.💡 Which app idea solves this problem: bottles go missing at school? (a) a study-room finder (b) a medicine reminder (c) a homework planner (d) a lost-and-found board
- 7.🔍 Which is the odd one out? (a) checking a password (b) speaking a command (c) taking a photo (d) typing your age
- 8.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) add it to the cart (c) open the menu (d) pick a dish
- 9.🧩 In an app, what is the game-over page? (a) a button (b) data (c) a screen (d) an input
- 10.💡 Which app idea solves this problem: friends argue over who pays? (a) a lost-and-found board (b) a study-room finder (c) a bill splitter (d) a medicine reminder
-
11.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 18 px
Caption: 12 px
Body text: 26 px
Label: 20 px (a) Title (b) Label (c) Body text (d) Caption -
12.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(6) → expected 50
Test 2: price(14) → expected 100
Test 3: price(9) → expected 100 (a) Test 1 (b) Test 2 (c) Test 3 - 13.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
- 14.🔀 When does the else part run? (a) never (b) always (c) when the test is false (d) when the test is true
-
15.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 5 votes
wasting pocket money: 12 votes
losing water bottles: 4 votes (a) losing water bottles (b) forgetting birthdays (c) wasting pocket money - 16.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) sudden loud sounds (d) big touch targets
- 17.🔢 In a food-order flow, what comes right after “pick a dish”? (a) open the menu (b) add it to the cart (c) check the cart (d) track the order
- 18.🔢 In a food-order flow, which comes first: “pick a dish” or “track the order”? (a) track the order (b) pick a dish
-
19.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 310; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 1 (c) line 3 (d) line 2 -
20.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 23 votes
no quiet study place: 18 votes
wasting pocket money: 4 votes - 21.💾 Which works with no internet at all? (a) a shared chat (b) a cloud backup (c) data saved on the phone (d) a cloud leaderboard
-
22.👆 The user taps the button 6 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 -
23.🔁 What number does this code show?
let steps = [10, 5, 17, 19, 7];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); -
24.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 19 votes
no quiet study place: 12 votes
losing water bottles: 7 votes (a) missing the bus (b) no quiet study place (c) losing water bottles - 25.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UX but poor UI (c) no UI at all (d) good UI but poor UX
- 26.🧪 A test fails when ___. (a) the app is new (b) the font is big (c) both are the same (d) actual is not expected
- 27.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
-
28.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 48 px tall
Help button: 64 px tall
Cancel button: 56 px tall
Done button: 44 px tall - 29.🧩 What does a button do when you tap it? (a) shows the time (b) saves the battery (c) starts an action (d) changes the phone
- 30.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) get an idea (b) build the app
- 31.True or false: you put it on an app store at the release stage. (a) True (b) False
- 32.🧰 What is a function? (a) a list of colours (b) a type of phone (c) a screen size (d) a named block of code
- 33.Which of these happens at the idea stage? (a) spot a problem to solve (b) let friends try it (c) pick the features (d) try every button
-
34.🔁 What number does this code show?
let scores = [11, 7, 8, 6];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
35.🧪 How many of these test cases pass?
🎟️ 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(17) → expected 100
Test 2: price(11) → expected 50
Test 3: price(15) → expected 100 - 36.True or false: the game-over page is an input. (a) False (b) True
- 37.🧩 Which input is best for turning something ON or OFF? (a) a title (b) a text box (c) a slider (d) a switch
-
38.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “wasting pocket money”?
wasting pocket money: 5 votes
losing water bottles: 3 votes
no quiet study place: 12 votes -
39.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Arjun (c) Hi, Riya - 40.🧩 What do we call one full page of an app? (a) a variable (b) a cable (c) a screen (d) a battery
Answer key
- deny it
- quiz app → microphone
- 490
- Send
- top bar
- a lost-and-found board
- checking a password
- open the menu
- a screen
- a bill splitter
- Caption
- Test 3
- a parameter
- when the test is false
- wasting pocket money
- sudden loud sounds
- add it to the cart
- pick a dish
- line 3
- 45
- data saved on the phone
- OFF
- 19
- missing the bus
- good UI but poor UX
- actual is not expected
- makes it harder
- 3
- starts an action
- get an idea
- True
- a named block of code
- spot a problem to solve
- 11
- 3
- False
- a switch
- 7
- Hi, Kabir
- a screen
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students