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 SHOULD it show, if every line did what its comment says?
line 1: let coins = 32; // start at 32
line 2: coins = coins + 2; // double it
line 3: coins = coins - 4; // take away 4
line 4: coins = coins + 6; // add 6
line 5: show(coins); // show it - 2.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) type name and email (c) see the home screen (d) tap “Sign up”
-
3.⚙️ What number does this app show?
let km = 2; // typed by the user
let metres = km * 1000;
show(metres); - 4.True or false: a countdown hits zero is a load event. (a) True (b) False
- 5.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
- 6.📅 An app team plans for 5 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
-
7.🔀 What number does this shop app show?
let total = 570;
if (total > 500) {
total = total - 50;
}
show(total); - 8.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) helps everyone (b) makes it harder
-
9.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 12 px
Title: 23 px
Hint: 18 px
Body text: 19 px (a) Hint (b) Body text (c) Menu (d) Title - 10.🔘 Our rule: buttons are at least 48 px tall. The Back button is 32 px tall. How many px taller must it be?
-
11.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pay → Menu → Search → Shop → Pens
Design B: Home → Menu → Cart → Pens → Results - 12.💡 Which app idea solves this problem: a patient misses doses? (a) a homework planner (b) a bill splitter (c) a medicine reminder (d) a lost-and-found board
-
13.🧩 How many buttons does this app screen have?
[title] Settings
[text box] Age
[button] Next
[switch] Sound
[text box] Notes
[text box] Phone -
14.🔁 What number does this code show?
let marks = [6, 1, 9];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 15.💾 What is a variable? (a) a type of screen (b) a phone setting (c) a picture (d) a named box for a value
- 16.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
- 17.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) well planned (d) ready to release
- 18.🔢 In a quiz-app flow, which comes first: “see the final score” or “tap “Start quiz””? (a) tap “Start quiz” (b) see the final score
- 19.🧰 What does return do in a function? (a) repeats the code (b) sends back a value (c) deletes the app (d) closes the screen
- 20.Which of these is a screen? (a) a slider for volume (b) the home page of an app (c) a switch for dark mode (d) tap to go Next
- 21.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) custom alert sounds (c) see today’s total (d) water animations
- 22.Which of these is about UX (the experience)? (a) the icon shapes (b) the font size (c) how users feel after (d) the theme colours
- 23.🔘 Our rule: buttons are at least 48 px tall. The Start button is 32 px tall. How many px taller must it be?
- 24.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
- 25.👆 What kind of event is this: a countdown hits zero? (a) a load event (b) a timer event (c) a text event (d) a tap event
- 26.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
- 27.👥 A cricket club app has 25 players, 85 coaches and 135 fans as users. Which user group is the biggest? (a) fans (b) coaches (c) players
- 28.True or false: the search box changes is a load event. (a) False (b) True
-
29.🔀 What does this battery rule show?
let battery = 72;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 30.🔍 Which is the odd one out? (a) how easy sign-up is (b) how users feel after (c) how fast a task is done (d) the font size
-
31.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(23)); -
32.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 14 votes
wasting pocket money: 25 votes
losing water bottles: 11 votes - 33.True or false: a guitar tuner needs the microphone. (a) False (b) True
-
34.🗒️ Version 1 of a pocket-money tracker must be ready in 8 days. How many days are left for extras after the must-haves?
add money received: 4 days
add money spent: 2 days
show the balance: 2 days - 35.Which of these happens at the idea stage? (a) draw the user flow (b) spot a problem to solve (c) sketch the screens (d) write the code
-
36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 44 px tall
Start button: 48 px tall
Save button: 48 px tall (a) Start (b) Cancel (c) Save - 37.🎯 What is a user need? (a) a colour theme (b) a phone setting (c) a type of button (d) a problem a user has
- 38.Which of these helps everyone use the app? (a) icons with no labels (b) colour as the only clue (c) labels on every icon (d) fast-flashing lights
- 39.🗂️ What kind of app is a flashcard trainer? (a) a health app (b) a game (c) a tool app (d) a learning app
- 40.True or false: how fast a task is done is about UI (the look). (a) False (b) True
Answer key
- 66
- see the home screen
- 2000
- False
- an app
- 20
- 520
- helps everyone
- Menu
- 16
- 5
- a medicine reminder
- 1
- 16
- a named box for a value
- fair
- missing a must-have
- tap “Start quiz”
- sends back a value
- the home page of an app
- see today’s total
- how users feel after
- 16
- the back button
- a timer event
- UI
- fans
- False
- Battery OK
- the font size
- 46
- 50
- True
- 0
- spot a problem to solve
- Cancel
- a problem a user has
- labels on every icon
- a learning app
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students