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: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 50
Test 2: price(14) → expected 100
Test 3: price(10) → expected 100 (a) Test 1 (b) Test 2 (c) Test 3 - 2.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
-
3.🔀 What number does this shop app show?
let total = 740;
if (total > 500) {
total = total - 50;
}
show(total); - 4.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) colour as the only clue (d) text that can grow
- 5.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a medicine reminder (b) a study-room finder (c) a lost-and-found board (d) a bill splitter
- 6.⚙️ In an app, is checking a password an input, processing or an output? (a) input (b) processing (c) output
- 7.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
- 8.👆 What kind of event is this: the user presses Save? (a) a tap event (b) a timer event (c) a text event (d) a load event
- 9.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
- 10.True or false: a website opens in a web browser. (a) False (b) True
-
11.🔁 What number does this code show?
let runs = [24, 83, 63];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 70) {
count = count + 1;
}
}
show(count); - 12.💡 Which app idea solves this problem: bottles go missing at school? (a) a medicine reminder (b) a study-room finder (c) a homework planner (d) a lost-and-found board
- 13.🚀 Which version is newer: 2.2.0 or 2.12.1? (a) 2.2.0 (b) 2.12.1
- 14.True or false: an app has a web address. (a) False (b) True
- 15.Which of these app ideas solves no real problem? (a) a library due-date alert (b) an app that just says hi (c) a free study-room finder (d) a bill splitter
- 16.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “see the final score”? (a) see the final score (b) tap “Start quiz”
- 17.Which of these is about UI (the look)? (a) how many taps it takes (b) how easy sign-up is (c) how users feel after (d) the icon shapes
-
18.🔁 What number does this code show?
let scores = [43, 72, 71, 82];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); - 19.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a pocket-money tracker (b) a bus tracker (c) a water reminder (d) a homework planner
- 20.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
- 21.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a big-text reader (b) a recipe finder (c) a bus tracker (d) a homework planner
-
22.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 35; // start at 35
line 2: stars = stars + 7; // add 6
line 3: stars = stars + 6; // add 6
line 4: show(stars); // show it -
23.👆 The user taps the button 6 times. What number does the label show now?
let points = 1;
button.onTap = function () {
points = points + 4;
label.text = points;
}; -
24.🔀 What does this PIN rule show?
let pin = "6621";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 25.Which of these happens at the plan stage? (a) write the code (b) talk to possible users (c) sketch the screens (d) write down the bugs
-
26.🔁 What number does this code show?
let scores = [13, 11, 8, 17];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
27.🔁 What number does this code show?
let scores = [38, 35, 86, 17, 68];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); - 28.👥 A clinic app has 285 patients, 120 doctors and 90 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
- 29.Which of these makes the app harder to use? (a) text that can grow (b) icons with no labels (c) strong colour contrast (d) big touch targets
-
30.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
set a reminder time: 2 days
log a glass of water: 1 days
see today’s total: 2 days - 31.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) earn stickers (c) see tasks by day (d) add a homework task
- 32.🗒️ 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) add a homework task
-
33.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 34.Which of these is a feature? (a) “I forget my homework” (b) “What should I cook?” (c) a reminder alarm (d) “I keep missing the bus”
- 35.👥 A school app has 265 students, 170 teachers and 85 parents as users. How many more teachers than parents are there?
- 36.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 37.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) True (b) False
- 38.True or false: the button colours is about UX (the experience). (a) False (b) True
- 39.🔘 Our rule: buttons are at least 48 px tall. The Done button is 36 px tall. How many px taller must it be?
- 40.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) share tasks to friends (c) add a homework task (d) set a due date
Answer key
- Test 3
- too much
- 690
- colour as the only clue
- a lost-and-found board
- processing
- No
- a tap event
- easy to read
- True
- 1
- a lost-and-found board
- 2.12.1
- False
- an app that just says hi
- tap “Start quiz”
- the icon shapes
- 3
- a water reminder
- repeats code
- a bus tracker
- 48
- 25
- PIN saved
- sketch the screens
- 49
- 2
- patients
- icons with no labels
- 2
- earn stickers
- add a homework task
- Ask a parent
- a reminder alarm
- 85
- in the cloud
- True
- False
- 12
- share tasks to friends
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students