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.👥 A library app has 80 readers, 30 librarians and 60 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
- 2.👥 A cricket club app has 200 players, 65 coaches and 125 fans as users. How many users does it have in all?
-
3.⚙️ What number does this app show?
let price = 85; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 4.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) see today’s total (b) log a glass of water (c) custom alert sounds (d) set a reminder time
- 5.🔢 When you make an app, what comes right after “plan the screens”? (a) get an idea (b) build the app (c) test the app (d) release it
-
6.👆 The user taps the button 5 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) OFF (b) ON - 7.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) change the bus icon (c) rate the driver (d) a dark mode
- 8.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) pick a theme colour (c) share tasks to friends (d) set a due date
-
9.🧪 What is the ACTUAL result of Test 2?
🚚 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(700) → expected 0
Test 2: delivery(900) → expected 0
Test 3: delivery(650) → expected 40 - 10.🌗 Is red on green easy or hard to read on a button? (a) hard to read (b) easy to read
- 11.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
-
12.🔀 What does this PIN rule show?
let pin = "2763";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
13.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(0)); -
14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 40 px tall
Cancel button: 48 px tall
Send button: 60 px tall
Back button: 32 px tall -
15.💾 What number does this code show?
let score = 9;
score = score - 5;
score = score + 3;
show(score); - 16.🛠️ At which stage do you pick the features? (a) the build stage (b) the test stage (c) the idea stage (d) the plan stage
- 17.💾 Which can hold many values in order? (a) a single number (b) a list (c) a switch (d) a button
- 18.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
- 19.Which of these is a feature? (a) a search bar (b) “I forget my homework” (c) “Small text is hard” (d) “I keep missing the bus”
- 20.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a bus tracker (b) a water reminder (c) a recipe finder (d) a big-text reader
-
21.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 30; // start at 30
line 2: score = score + 5; // take away 5
line 3: score = score - 1; // take away 1
line 4: score = score * 2; // double it
line 5: show(score); // show it - 22.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
-
23.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 3 days
show the score: 3 days - 24.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
-
25.🧪 What is the ACTUAL result of Test 1?
🚚 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(1150) → expected 0
Test 2: delivery(1100) → expected 0
Test 3: delivery(700) → expected 40 - 26.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) set a due date (d) add a homework task
- 27.Which of these is processing? (a) a beep sound (b) working out a tip (c) a result on screen (d) speaking a command
-
28.⚙️ What number does this app show?
let bill = 310; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); - 29.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) tab bar (c) home screen (d) shortcut
- 30.🔘 Our rule: buttons are at least 48 px tall. The Send button is 28 px tall. How many px taller must it be?
- 31.👥 A cricket club app has 290 players, 30 coaches and 120 fans as users. How many more players than coaches are there?
-
32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 37; // start at 37
line 2: lives = lives * 2; // double it
line 3: lives = lives * 3; // double it
line 4: show(lives); // show it (a) line 1 (b) line 2 (c) line 3 - 33.🔢 In a sign-up flow, which comes first: “type name and email” or “enter the code sent”? (a) type name and email (b) enter the code sent
- 34.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) log a glass of water (c) share your streak (d) custom alert sounds
- 35.🔢 In a sign-up flow, which comes first: “enter the code sent” or “make a password”? (a) enter the code sent (b) make a password
-
36.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(6) → expected Pass
Test 2: result(5) → expected Pass
Test 3: result(3) → expected Try again (a) Test 3 (b) Test 2 (c) Test 1 -
37.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 1 days
pick your bus stop: 2 days - 38.True or false: a free study-room finder solves no real problem. (a) True (b) False
- 39.♿ Why add captions to videos? (a) so anyone can follow (b) to hide the sound (c) to slow them down (d) to add colour
- 40.Which of these is an input? (a) adding up a bill (b) a buzz (vibration) (c) a pop-up message (d) typing your age
Answer key
- readers
- 390
- 425
- custom alert sounds
- build the app
- ON
- show arrival time
- set a due date
- 0
- hard to read
- repeats code
- PIN saved
- 60
- 2
- 7
- the plan stage
- a list
- a final design
- a search bar
- a water reminder
- 48
- a final design
- 1
- good design
- 0
- share tasks to friends
- working out a tip
- 62
- dead end
- 20
- 260
- line 3
- type name and email
- log a glass of water
- make a password
- Test 2
- 6
- False
- so anyone can follow
- typing your age
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students