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.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 2.True or false: the search box changes is a timer event. (a) True (b) False
-
3.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Offers → Menu
Design B: Home → Shop → Results → Size → Pens (a) Design A (b) Design B - 4.Which of these app ideas solves no real problem? (a) a medicine reminder (b) a blank grey screen (c) a bill splitter (d) a lost-and-found board
- 5.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) nowhere (c) in the middle (d) at the bottom
- 6.🔍 Which is the odd one out? (a) let friends try it (b) write down the bugs (c) spot a problem to solve (d) try every button
-
7.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(850) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(650) → expected 40 (a) Test 3 (b) Test 2 (c) Test 1 -
8.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 110; // typed by the user
line 2: let off = 30; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 4 (b) line 1 (c) line 3 (d) line 2 - 9.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) earn stickers (d) see tasks by day
- 10.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “I forget my homework”
-
11.🔁 What number does this code show?
let marks = [22, 65, 14, 69, 21];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 12.Which of these is a button? (a) tap to go Next (b) your saved notes (c) a date picker (d) the log-in page
- 13.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a text box (c) a title (d) a slider
- 14.Which of these is true of a tab bar? (a) opens a list of pages (b) sits at the bottom (c) undoes one move (d) goes to the last screen
- 15.🚀 Which version is newer: 4.8.7 or 4.8.14? (a) 4.8.14 (b) 4.8.7
-
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 38; // start at 38
line 2: coins = coins + 2; // double it
line 3: coins = coins - 4; // take away 4
line 4: show(coins); // show it - 17.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) background music (b) show a question (c) show the score (d) check the answer
- 18.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 19.🔍 Which is the odd one out? (a) tiny tap areas (b) icons with no labels (c) fast-flashing lights (d) text that can grow
-
20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 32; // start at 30
line 2: points = points + 6; // add 6
line 3: points = points + 5; // add 5
line 4: show(points); // show it (a) line 1 (b) line 3 (c) line 2 - 21.📅 An app team plans for 2 days, builds for 5 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
- 22.Which of these is a button? (a) tap to Save (b) a date picker (c) your high score (d) the home page of an app
-
23.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(850) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(550) → expected 40 - 24.Which of these is a user need? (a) a share button (b) “I keep missing the bus” (c) a reminder alarm (d) a dark mode switch
-
25.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[button] Save
[text box] Phone
[button] Next
[switch] Remind me
[text box] Name
[text box] Due date -
26.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(650) → expected 40
Test 3: delivery(900) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 - 27.🚀 Which version is newer: 1.3.2 or 1.16.1? (a) 1.3.2 (b) 1.16.1
- 28.⚙️ In an app, is adding up a bill an input, processing or an output? (a) processing (b) input (c) output
-
29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. tap the Search tab
3. open “Map”
4. tap Back
Which screen are you on now? (a) Home (b) Map (c) Profile (d) Search - 30.👥 A clinic app has 210 patients, 155 doctors and 185 nurses as users. How many more patients than nurses are there?
- 31.👥 A cricket club app has 300 players, 285 coaches and 120 fans as users. How many more coaches than fans are there?
- 32.True or false: the button colours is about UX (the experience). (a) True (b) False
- 33.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) see the home screen (c) tap “Sign up” (d) type name and email
-
34.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(4)); -
35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 33; // start at 33
line 2: points = points - 3; // take away 3
line 3: points = points + 5; // add 5
line 4: points = points + 5; // take away 5
line 5: show(points); // show it - 36.🔢 In a food-order flow, which comes first: “add it to the cart” or “track the order”? (a) add it to the cart (b) track the order
- 37.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a recipe finder (b) a homework planner (c) a bus tracker (d) a big-text reader
- 38.✏️ What is the easiest way to draw a first wireframe? (a) a 3D printer (b) a phone case (c) pencil and paper (d) a microphone
-
39.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(15) → expected 100
Test 2: price(10) → expected 50
Test 3: price(13) → expected 100 (a) Test 1 (b) Test 3 (c) Test 2 - 40.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
Answer key
- easy to read
- False
- Design A
- a blank grey screen
- at the bottom
- spot a problem to solve
- Test 2
- line 3
- earn stickers
- “I forget my homework”
- 2
- tap to go Next
- a switch
- sits at the bottom
- 4.8.14
- 36
- background music
- 4
- text that can grow
- line 1
- 3
- tap to Save
- 3
- “I keep missing the bus”
- 4
- Test 1
- 1.16.1
- processing
- Search
- 25
- 165
- False
- open the app
- 70
- 30
- add it to the cart
- a bus tracker
- pencil and paper
- Test 3
- hard to read
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students