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.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Next button: 60 px tall
Save button: 64 px tall
Cancel button: 52 px tall
Done button: 52 px tall -
2.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; - 3.True or false: tap to Save is a button. (a) True (b) False
- 4.True or false: “captions on videos” helps everyone use the app. (a) False (b) True
- 5.True or false: a tiny 20 px button is poor button design. (a) True (b) False
- 6.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
-
7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 49; // start at 49
line 2: points = points * 2; // double it
line 3: points = points - 1; // take away 1
line 4: points = points + 5; // add 4
line 5: show(points); // show it (a) line 3 (b) line 1 (c) line 4 (d) line 2 -
8.🔁 What number does this code show?
let scores = [3, 9, 18];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 9.True or false: you list what users need at the plan stage. (a) True (b) False
-
10.🔁 What number does this code show?
let steps = [17, 6, 5, 9];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 11.Which of these is true of a website? (a) has a home-screen icon (b) opens from a link (c) is installed on a phone (d) updates from the store
-
12.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 28 px tall
Send button: 48 px tall
Done button: 68 px tall (a) Done (b) Help (c) Send - 13.✏️ What is a wireframe? (a) a type of password (b) a simple screen sketch (c) a charging cable (d) the finished app
- 14.Which of these is a user need? (a) “I keep missing the bus” (b) a reminder alarm (c) a dark mode switch (d) a share button
- 15.🔍 Which is the odd one out? (a) draw the user flow (b) talk to possible users (c) list what users need (d) spot a problem to solve
- 16.🎯 Who are the users of an app? (a) only the testers (b) the app icons (c) only the coders (d) the people who use it
- 17.True or false: today’s step count is a screen. (a) False (b) True
-
18.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 3 days
see tasks by day: 2 days - 19.Which of these is true of an app? (a) comes from an app store (b) opens in a web browser (c) needs no installing (d) opens from a link
-
20.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Cancel
[text box] Notes
[button] Help
[switch] Show hints
[button] Start
[text box] Age -
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 42; // start at 42
line 2: lives = lives * 3; // double it
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it - 22.Which of these is true of a wireframe? (a) has the real colours (b) looks like the real app (c) uses the final pictures (d) shows where things go
- 23.🔐 Which permission does a bus tracker really need? (a) the microphone (b) the camera (c) contacts (d) location
- 24.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a colour theme (d) a kind of list
- 25.Which of these app ideas solves a real problem? (a) a free study-room finder (b) a button with no action (c) an app that just says hi (d) a blank grey screen
-
26.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “wasting pocket money”?
wasting pocket money: 22 votes
losing water bottles: 25 votes
missing the bus: 11 votes -
27.🗒️ Version 1 of a quiz app must be ready in 15 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 4 days
show the score: 3 days -
28.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 31; // start at 31
line 2: points = points + 2; // double it
line 3: points = points - 2; // take away 2
line 4: show(points); // show it -
29.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(80, 6)); - 30.🔘 Our rule: buttons are at least 48 px tall. The Next button is 36 px tall. How many px taller must it be?
-
31.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 10 votes
missing the bus: 14 votes
forgetting birthdays: 8 votes (a) missing the bus (b) forgetting homework (c) forgetting birthdays - 32.♿ What should every icon-only button have for screen readers? (a) a sound (b) a long animation (c) a bright colour (d) a text label
- 33.Which colour pair is hard to read? (a) dark blue on white (b) black on yellow (c) white on black (d) light grey on white
- 34.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) earn stickers (c) pick a theme colour (d) set a due date
- 35.🔍 Which is the odd one out? (a) sudden loud sounds (b) tiny tap areas (c) big touch targets (d) fast-flashing lights
- 36.🔢 In a photo-post flow, what comes right after “add a filter”? (a) write a caption (b) open the camera screen (c) post the photo (d) take the photo
- 37.Which of these is true of a final design? (a) has no real colours (b) shows the real fonts (c) uses plain grey boxes (d) is a quick sketch
-
38.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] Age
[button] Cancel
[text box] Due date - 39.👥 A clinic app has 60 patients, 45 doctors and 30 nurses as users. How many more patients than doctors are there?
-
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 42; // start at 41
line 2: lives = lives + 3; // add 3
line 3: lives = lives - 3; // take away 3
line 4: show(lives); // show it (a) line 3 (b) line 1 (c) line 2
Answer key
- 4
- 2
- True
- True
- True
- good design
- line 4
- 18
- False
- 37
- opens from a link
- Help
- a simple screen sketch
- “I keep missing the bus”
- draw the user flow
- the people who use it
- False
- 3
- comes from an app store
- 3
- 252
- shows where things go
- location
- something that happens
- a free study-room finder
- 3
- 5
- 60
- 480
- 12
- missing the bus
- a text label
- light grey on white
- set a due date
- big touch targets
- write a caption
- shows the real fonts
- 1
- 15
- line 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students