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.🧪 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(500) → expected 0
Test 2: delivery(150) → expected 40
Test 3: delivery(350) → expected 0 - 2.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see if it is right”? (a) pick an answer (b) see if it is right
- 3.♿ What does a screen reader do? (a) reads the screen aloud (b) takes photos (c) plays music (d) makes text tiny
-
4.🗒️ Version 1 of a homework planner must be ready in 6 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 1 days
see tasks by day: 4 days - 5.Which of these is an input? (a) sorting the scores (b) speaking a command (c) a pop-up message (d) a result on screen
- 6.🔀 What is a user flow? (a) a type of font (b) a colour theme (c) the path through screens (d) a charging cable
- 7.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) savings stickers (b) add money spent (c) add money received (d) show the balance
-
8.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ top bar ]
[ title text ]
[ search box ]
[ list of items ]
[ Add button ] (a) top bar (b) list of items (c) title text (d) Add button - 9.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) a random page (c) the last app used (d) that tab’s main screen
-
10.🧪 How many of these test cases pass?
🚚 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(1100) → expected 0
Test 2: delivery(750) → expected 40
Test 3: delivery(950) → expected 0 - 11.True or false: a step counter is a health app. (a) True (b) False
- 12.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
- 13.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
- 14.♿ Why add captions to videos? (a) to hide the sound (b) to slow them down (c) to add colour (d) so anyone can follow
-
15.🗒️ Version 1 of a pocket-money tracker must be ready in 11 days. How many days are left for extras after the must-haves?
add money received: 3 days
add money spent: 2 days
show the balance: 3 days - 16.🧩 What does a button do when you tap it? (a) saves the battery (b) shows the time (c) changes the phone (d) starts an action
- 17.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) needs no testing (c) is easy to build (d) wins every prize
- 18.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
-
19.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(0)); - 20.True or false: a barcode scanner needs your location. (a) False (b) True
- 21.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) persona (c) password (d) protocol
- 22.🔢 In a food-order flow, which comes FIRST? (a) pay for the order (b) add it to the cart (c) open the menu (d) check the cart
- 23.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) URL (d) MVP
- 24.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) repeats the code (d) deletes the app
-
25.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(3) + fee(3)); -
26.🔁 What number does this code show?
let marks = [17, 13, 7, 7];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
27.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Size → Pens
Design B: Home → Address → Confirm → Size → Pens → Results (a) Design B (b) Design A - 28.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) it is slower (d) less code to write
- 29.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the phone is lost (d) the app is closed
- 30.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
- 31.🔢 When you make an app, which comes first: “release it” or “plan the screens”? (a) plan the screens (b) release it
- 32.💾 Saving data in the cloud lets you ___. (a) never need a password (b) use it on any device (c) shrink the app (d) skip the internet
-
33.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
see where the bus is: 2 days
show arrival time: 1 days
pick your bus stop: 2 days - 34.True or false: space between buttons is poor button design. (a) True (b) False
- 35.🗂️ What kind of app is a puzzle with levels? (a) a game (b) a learning app (c) a health app (d) a tool app
-
36.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(8)); -
37.🔀 What number does this shop app show?
let total = 420;
if (total > 500) {
total = total - 50;
}
show(total); -
38.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Aman", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Zoya (c) Hi, Arjun - 39.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
- 40.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
Answer key
- 3
- pick an answer
- reads the screen aloud
- 0
- speaking a command
- the path through screens
- savings stickers
- Add button
- that tab’s main screen
- 3
- True
- Yes
- a website
- so anyone can follow
- 3
- starts an action
- helps nobody well
- expected result
- 50
- False
- persona
- open the menu
- MVP
- sends back a value
- 0
- 17
- Design A
- less code to write
- the phone is lost
- a wireframe
- plan the screens
- use it on any device
- 6
- False
- a game
- 16
- 420
- Hi, Arjun
- tap “Sign up”
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students