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.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 50; // start at 50
line 2: stars = stars - 1; // take away 1
line 3: stars = stars + 2; // double it
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it - 2.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) good UI but poor UX (c) good UX but poor UI (d) no UI at all
- 3.🧪 A test fails when ___. (a) actual is not expected (b) the app is new (c) both are the same (d) the font is big
- 4.Which of these is a user need? (a) a dark mode switch (b) a share button (c) a search bar (d) “I forget my homework”
- 5.True or false: a water reminder is the best fit for a runner who forgets to sip water. (a) True (b) False
- 6.🔍 Which is the odd one out? (a) a spelling coach (b) a times-table quiz (c) a step counter (d) a flashcard trainer
- 7.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
- 8.Which of these is data? (a) tap to Send (b) the home page of an app (c) a slider for volume (d) today’s step count
- 9.True or false: a recipe finder is the best fit for a teen whose money runs out by Friday. (a) True (b) False
- 10.🗂️ What kind of app is a times-table quiz? (a) a health app (b) a game (c) a tool app (d) a learning app
-
11.🧰 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(6) + fee(5)); - 12.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to slow it down (d) to make it longer
- 13.♿ A screen has 11 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
-
14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 47; // start at 45
line 2: stars = stars - 1; // take away 1
line 3: stars = stars - 1; // take away 1
line 4: stars = stars - 2; // take away 2
line 5: show(stars); // show it (a) line 4 (b) line 3 (c) line 1 (d) line 2 -
15.🔁 What number does this code show?
let steps = [28, 42, 84, 51, 40];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 50) {
count = count + 1;
}
}
show(count); -
16.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting birthdays”?
forgetting homework: 21 votes
forgetting birthdays: 4 votes
no quiet study place: 17 votes - 17.👆 “On tap → do this” links an event to ___. (a) an action (b) a charger (c) a font (d) a web address
-
18.👆 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 -
19.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Size → Shop → Pens → Cart → Item → Pay
Design B: Home → Cart → Confirm (a) Design B (b) Design A - 20.📲 What happens when you tap an app’s icon? (a) the sound turns off (b) the phone charges (c) the app is deleted (d) the app opens
- 21.🔢 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
-
22.🔁 What number does this code show?
let runs = [25, 65, 46, 40];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); -
23.👆 The user taps the button 1 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 - 24.True or false: a blank grey screen solves no real problem. (a) True (b) False
-
25.🧩 How many buttons does this app screen have?
[title] New Note
[button] Help
[button] Start
[text box] Due date - 26.True or false: a page of random dots solves a real problem. (a) True (b) False
-
27.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 44; // start at 41
line 2: stars = stars * 2; // double it
line 3: stars = stars - 4; // take away 4
line 4: stars = stars + 3; // add 3
line 5: show(stars); // show it (a) line 3 (b) line 1 (c) line 2 (d) line 4 - 28.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 1 (c) 6 (d) 4
- 29.🧩 In an app, what is your friends list? (a) an input (b) a button (c) a screen (d) data
-
30.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] City
[button] Start
[text box] Phone
[button] Done
[button] Send
[text box] Subject - 31.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
- 32.True or false: “colour as the only clue” helps everyone use the app. (a) False (b) True
- 33.👥 A library app has 125 readers, 280 librarians and 190 volunteers as users. How many users does it have in all?
- 34.🔢 In a photo-post flow, which comes first: “add a filter” or “take the photo”? (a) add a filter (b) take the photo
-
35.🚀 Which of these versions is the OLDEST?
4.11.3, 3.22.8, 4.14.4, 4.2.4 (a) 3.22.8 (b) 4.11.3 (c) 4.14.4 (d) 4.2.4 -
36.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting homework: 3 votes
no quiet study place: 21 votes
missing the bus: 18 votes - 37.👥 A clinic app has 65 patients, 170 doctors and 210 nurses as users. Which user group is the biggest? (a) nurses (b) patients (c) doctors
- 38.True or false: a box to type a name is an input. (a) False (b) True
-
39.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Aman")); (a) greet (b) Aman (c) Hi, Aman! (d) Hi, name! - 40.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
Answer key
- 102
- good UI but poor UX
- actual is not expected
- “I forget my homework”
- True
- a step counter
- makes it harder
- today’s step count
- False
- a learning app
- 100
- to build what they need
- 10
- line 1
- 2
- 13
- an action
- OFF
- Design B
- the app opens
- take the photo
- 3
- ON
- True
- 2
- False
- line 1
- 5
- data
- 3
- True
- False
- 595
- take the photo
- 3.22.8
- 42
- nurses
- True
- Hi, Aman!
- on the phone
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students