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.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(450) → expected 40
Test 3: delivery(500) → expected 0 -
2.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Shop → Item → Pens → Cart
Design B: Home → Confirm → Results → Address → Size → Shop -
3.🧪 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(400) → expected 0
Test 2: delivery(150) → expected 40
Test 3: delivery(300) → expected 0 -
4.🔁 What number does this code show?
let runs = [19, 16, 5, 2];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 5.💡 Which is a problem statement? (a) “Make it fast” (b) “Add a logo” (c) “Kids forget homework” (d) “Use blue buttons”
- 6.Which of these is an output? (a) a result on screen (b) tapping a button (c) working out a tip (d) adding up a bill
- 7.Which of these is data? (a) tap to Save (b) the settings page (c) your saved notes (d) the log-in page
- 8.True or false: a recipe finder is the best fit for a grandparent with weak eyesight. (a) True (b) False
- 9.🔍 Which is the odd one out? (a) put it on an app store (b) let friends try it (c) share the download link (d) write the store text
-
10.💾 What number does this code show?
let coins = 8;
coins = coins - 2;
coins = coins + 4;
show(coins); - 11.Which of these requests asks for too much? (a) camera app → camera (b) voice notes → microphone (c) map app → location (d) timer → your photos
- 12.🔍 Which is the odd one out? (a) a puzzle with levels (b) a word battle (c) a step counter (d) a racing challenge
- 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) export to a file
-
14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. open “Edit photo”
3. tap the Lessons tab
4. open “Badges”
5. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 15.🔍 Which is the odd one out? (a) a spelling coach (b) a step counter (c) a water reminder (d) a sleep tracker
- 16.True or false: an app has a web address. (a) True (b) False
- 17.Which of these is true of the back button? (a) switches main sections (b) sits at the bottom (c) opens a list of pages (d) goes to the last screen
- 18.♿ Why add captions to videos? (a) to hide the sound (b) so anyone can follow (c) to slow them down (d) to add colour
- 19.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
- 20.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) type name and email (b) open the app (c) tap “Sign up” (d) see the home screen
- 21.🔀 When does the else part run? (a) always (b) never (c) when the test is false (d) when the test is true
-
22.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
wasting pocket money: 24 votes
forgetting homework: 13 votes
losing water bottles: 17 votes - 23.💡 A good app idea starts with ___. (a) many colours (b) a problem to solve (c) a cool logo (d) a long name
- 24.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) it uses more lines (d) less code to write
- 25.True or false: “sudden loud sounds” helps everyone use the app. (a) True (b) False
- 26.True or false: you pick the features at the idea stage. (a) True (b) False
-
27.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Body text: 13 px
Label: 14 px
Caption: 19 px - 28.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
- 29.🔍 Which is the odd one out? (a) how fast a task is done (b) the icon shapes (c) the screen layout (d) the theme colours
- 30.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
-
31.🔁 What number does this code show?
let marks = [93, 32, 12, 10];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 32.🚀 Your app is at version 3.2.3. The next release fixes a small bug. What is its version number? (a) 4.0.0 (b) 3.2.4 (c) 3.3.3 (d) 3.3.0
- 33.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) get an idea (b) test the app
-
34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 36 px tall
Done button: 48 px tall
Cancel button: 32 px tall -
35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. tap the Home tab
3. tap the Profile tab
4. open “Score card”
5. tap the Home tab
Which screen are you on now? (a) Help page (b) Home (c) Search (d) Score card - 36.True or false: buttons almost touching is good button design. (a) True (b) False
-
37.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 42; // start at 40
line 2: coins = coins * 2; // double it
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it (a) line 2 (b) line 1 (c) line 3 -
38.🔁 What number does this code show?
let scores = [8, 10, 3, 5];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 39.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) ready to release (d) well planned
- 40.True or false: a slider for volume is an input. (a) True (b) False
Answer key
- 40
- 1
- 3
- 19
- “Kids forget homework”
- a result on screen
- your saved notes
- False
- let friends try it
- 10
- timer → your photos
- a step counter
- export to a file
- 2
- a spelling coach
- False
- goes to the last screen
- so anyone can follow
- False
- see the home screen
- when the test is false
- 7
- a problem to solve
- less code to write
- False
- False
- 2
- add money received
- how fast a task is done
- Yes
- 1
- 3.2.4
- get an idea
- 1
- Home
- False
- line 1
- 10
- missing a must-have
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students