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.📴 Which of these can often still work with no internet? (a) an online search (b) an installed app (c) a new website (d) a video call
- 2.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
- 3.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
- 4.💾 Which works with no internet at all? (a) data saved on the phone (b) a shared chat (c) a cloud leaderboard (d) a cloud backup
- 5.♿ Does this help everyone, or make the app harder to use: colour as the only clue? (a) helps everyone (b) makes it harder
-
6.🔁 What number does this code show?
let steps = [5, 11, 5, 20];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); -
7.🧪 What is the ACTUAL result of Test 1?
🚚 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(700) → expected 0
Test 2: delivery(450) → expected 40
Test 3: delivery(850) → expected 0 - 8.🧪 A test case is an input together with its ___. (a) font size (b) expected result (c) screen colour (d) app icon
-
9.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 95; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 3 (c) line 2 (d) line 1 - 10.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) makes it harder (b) helps everyone
-
11.🧩 How many buttons does this app screen have?
[title] New Note
[text box] City
[button] Back
[text box] Notes
[button] Cancel
[button] Help
[text box] Email - 12.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a button with no action (c) a medicine reminder (d) a blank grey screen
- 13.True or false: a final design looks like the real app. (a) False (b) True
-
14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 45; // start at 45
line 2: points = points - 4; // take away 4
line 3: points = points - 5; // take away 5
line 4: points = points - 5; // add 5
line 5: show(points); // show it (a) line 1 (b) line 3 (c) line 2 (d) line 4 - 15.Which of these is true of a wireframe? (a) has the real colours (b) shows where things go (c) shows the real fonts (d) looks like the real app
- 16.🔍 Which is the odd one out? (a) write down the bugs (b) let friends try it (c) pick the features (d) try every button
- 17.👥 A library app has 155 readers, 75 librarians and 160 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
-
18.🔁 What number does this code show?
let marks = [76, 52, 98, 60];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 19.🔢 When you make an app, which comes FIRST? (a) get an idea (b) build the app (c) plan the screens (d) test the app
- 20.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) add a filter (c) open the camera screen (d) take the photo
- 21.🔍 Which is the odd one out? (a) a puzzle with levels (b) a water reminder (c) a word battle (d) a racing challenge
-
22.🔁 What number does this code show?
let steps = [8, 11, 15];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
23.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(5) → expected Try again (a) Test 1 (b) Test 3 (c) Test 2 - 24.Which of these is true of an app? (a) needs no installing (b) updates from the store (c) has a web address (d) opens from a link
- 25.🧪 A test fails when ___. (a) the app is new (b) actual is not expected (c) the font is big (d) both are the same
-
26.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 1 days
show the score: 5 days - 27.🧭 Which part of navigation goes to the last screen? (a) a menu button (b) a tab bar (c) the back button
- 28.Which colour pair is easy to read? (a) red on green (b) black on pale grey (c) light grey on white (d) yellow on white
-
29.🔁 What number does this code show?
let marks = [16, 13, 35];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); -
30.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(5) → expected Try again (a) Test 3 (b) Test 2 (c) Test 1 - 31.👥 A clinic app has 195 patients, 265 doctors and 45 nurses as users. How many more doctors than patients are there?
- 32.🧩 Which input is best for choosing a volume level? (a) a title (b) a slider (c) a switch (d) a text box
-
33.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 35; // start at 32
line 2: coins = coins * 2; // double it
line 3: coins = coins * 2; // double it
line 4: coins = coins - 4; // take away 4
line 5: show(coins); // show it (a) line 4 (b) line 1 (c) line 3 (d) line 2 - 34.Which of these is true of the back button? (a) switches main sections (b) hides extra links (c) shows 3 to 5 icons (d) goes to the last screen
-
35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 31; // start at 31
line 2: lives = lives + 2; // add 2
line 3: lives = lives + 4; // add 3
line 4: lives = lives - 5; // take away 5
line 5: show(lives); // show it (a) line 2 (b) line 3 (c) line 1 (d) line 4 - 36.True or false: a homework planner is the best fit for a gamer who forgets to drink. (a) True (b) False
-
37.🔁 What number does this code show?
let scores = [20, 92, 73];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 38.Which of these app ideas solves no real problem? (a) a blank grey screen (b) a free study-room finder (c) a lost-and-found board (d) a bill splitter
- 39.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 6 (c) 4 (d) 1
- 40.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
Answer key
- an installed app
- an app
- add a filter
- data saved on the phone
- makes it harder
- 20
- 0
- expected result
- line 3
- helps everyone
- 3
- a medicine reminder
- True
- line 4
- shows where things go
- pick the features
- volunteers
- 4
- get an idea
- open the camera screen
- a water reminder
- 34
- Test 2
- updates from the store
- actual is not expected
- 5
- the back button
- black on pale grey
- 0
- Test 2
- 70
- a slider
- line 1
- goes to the last screen
- line 3
- False
- 2
- a blank grey screen
- 5
- a user need
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students