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.🔢 When you make an app, what comes right after “get an idea”? (a) test the app (b) plan the screens (c) build the app (d) release it
-
2.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 40; // 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 1 (c) line 2 (d) line 3 -
3.👆 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 - 4.🧩 Which input is best for typing your name? (a) a slider (b) a switch (c) a text box (d) a picture
- 5.💾 Which can hold many values in order? (a) a single number (b) a button (c) a switch (d) a list
- 6.Which of these is true of the back button? (a) switches main sections (b) opens a list of pages (c) sits at the bottom (d) goes to the last screen
- 7.Which of these is true of a website? (a) comes from an app store (b) has a home-screen icon (c) needs no installing (d) updates from the store
-
8.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 40; // start at 39
line 2: coins = coins + 5; // add 5
line 3: coins = coins + 5; // add 5
line 4: show(coins); // show it -
9.🔁 What number does this code show?
let scores = [13, 19, 20];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 10.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
- 11.🔘 Our rule: buttons are at least 48 px tall. The Save button is 28 px tall. How many px taller must it be?
-
12.📊 Survey: which problem bugs you most? Which problem should your app solve first?
losing water bottles: 16 votes
missing the bus: 4 votes
forgetting homework: 8 votes (a) missing the bus (b) losing water bottles (c) forgetting homework - 13.Which of these is true of a tab bar? (a) undoes one move (b) opens a list of pages (c) sits at the bottom (d) hides extra links
-
14.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(2)); - 15.True or false: your high score is data. (a) True (b) False
- 16.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) dead end (c) shortcut (d) home screen
- 17.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) add money received (c) savings stickers (d) pie-chart colours
-
18.⚙️ What number does this app show?
let bill = 90; // typed by the user
let friends = 2; // typed by the user
let share = bill / friends;
show(share); - 19.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Add a logo” (c) “Use blue buttons” (d) “Make it fast”
- 20.Which of these happens at the build stage? (a) spot a problem to solve (b) talk to possible users (c) connect the data (d) write the store text
- 21.Which of these is true of a tab bar? (a) goes to the last screen (b) opens a list of pages (c) hides extra links (d) switches main sections
- 22.🔍 Which is the odd one out? (a) text that can grow (b) labels on every icon (c) captions on videos (d) sudden loud sounds
- 23.True or false: a voice recorder needs your contacts. (a) True (b) False
- 24.Which of these is about UX (the experience)? (a) the button colours (b) the icon shapes (c) how users feel after (d) the font size
- 25.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
-
26.📊 Survey: which problem bugs you most? Which problem should your app solve first?
losing water bottles: 9 votes
missing the bus: 24 votes
forgetting birthdays: 22 votes (a) forgetting birthdays (b) missing the bus (c) losing water bottles - 27.🎯 Who are the users of an app? (a) only the testers (b) only the coders (c) the app icons (d) the people who use it
-
28.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 3)); - 29.🔢 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
- 30.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) test the app (c) build the app (d) get an idea
-
31.🔀 What number does this shop app show?
let total = 550;
if (total > 500) {
total = total - 50;
}
show(total); - 32.True or false: a website comes from an app store. (a) True (b) False
- 33.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
-
34.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(16) → expected 100
Test 3: price(11) → expected 50 (a) Test 2 (b) Test 3 (c) Test 1 - 35.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a big redesign (c) a new feature (d) a bug fix
- 36.🔢 After an app is released, what comes right after “read user reviews”? (a) test it again (b) list what to fix (c) release an update (d) fix and improve
- 37.True or false: a switch for dark mode is data. (a) False (b) True
-
38.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 300) {
return 0;
}
return 40;
}
Test 1: delivery(350) → expected 0
Test 2: delivery(450) → expected 0
Test 3: delivery(200) → expected 40 - 39.💡 Which app idea solves this problem: a patient misses doses? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
- 40.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a recipe finder (c) a big-text reader (d) a water reminder
Answer key
- plan the screens
- line 3
- ON
- a text box
- a list
- goes to the last screen
- needs no installing
- 50
- 52
- greater than or equal
- 20
- losing water bottles
- sits at the bottom
- 80
- True
- dead end
- add money received
- 45
- “Kids forget homework”
- connect the data
- switches main sections
- sudden loud sounds
- False
- how users feel after
- good design
- missing the bus
- the people who use it
- 255
- write a caption
- get an idea
- 500
- False
- a wireframe
- Test 1
- a bug fix
- list what to fix
- False
- 3
- a medicine reminder
- a pocket-money tracker
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students