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(400) → expected 0
Test 2: delivery(100) → expected 40
Test 3: delivery(350) → expected 0 - 2.👆 What kind of event is this: the search box changes? (a) a timer event (b) a load event (c) a tap event (d) a text event
- 3.🔀 What is a user flow? (a) a charging cable (b) the path through screens (c) a colour theme (d) a type of font
- 4.Which of these helps everyone use the app? (a) tiny tap areas (b) colour as the only clue (c) sudden loud sounds (d) big touch targets
- 5.🔍 Which is the odd one out? (a) the screen layout (b) how users feel after (c) how easy sign-up is (d) whether users get lost
- 6.🔢 When you make an app, which comes first: “plan the screens” or “get an idea”? (a) get an idea (b) plan the screens
- 7.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a free study-room finder (c) a button with no action (d) a medicine reminder
- 8.🗂️ What kind of app is an alarm clock? (a) a health app (b) a learning app (c) a tool app (d) a game
-
9.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. tap Back
3. open “Friend list”
4. tap the Profile tab
Which screen are you on now? (a) Map (b) Profile (c) Friend list (d) Home -
10.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 7 or more right answers.
function result(right) {
if (right >= 7) {
return "Pass";
}
return "Try again";
}
Test 1: result(11) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(8) → expected Pass - 11.🔁 Why use a loop to show 100 messages? (a) it is slower (b) less code to write (c) it hides them (d) it uses more lines
- 12.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a pocket-money tracker (b) a homework planner (c) a big-text reader (d) a bus tracker
-
13.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 5)); - 14.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) earn stickers (c) set a due date (d) add a homework task
-
15.🗒️ Version 1 of a bus tracker must be ready in 14 days. How many days are left for extras after the must-haves?
see where the bus is: 2 days
show arrival time: 2 days
pick your bus stop: 4 days - 16.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
- 17.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
- 18.🔍 Which is the odd one out? (a) put it on an app store (b) spot a problem to solve (c) write the store text (d) share the download link
- 19.✏️ What is a wireframe? (a) the finished app (b) a type of password (c) a charging cable (d) a simple screen sketch
- 20.🔍 Which is the odd one out? (a) a result on screen (b) speaking a command (c) a buzz (vibration) (d) a pop-up message
- 21.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a recipe finder (b) a homework planner (c) a water reminder (d) a pocket-money tracker
- 22.Which of these happens at the plan stage? (a) write the code (b) list what users need (c) pick the features (d) try every button
- 23.Which of these helps everyone use the app? (a) fast-flashing lights (b) icons with no labels (c) labels on every icon (d) colour as the only clue
- 24.True or false: a final design looks like the real app. (a) False (b) True
-
25.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
[ title text ]
[ top bar ]
[ tab bar ]
[ list of items ]
[ Save button ] (a) top bar (b) Save button (c) list of items (d) title text - 26.🔍 Which is the odd one out? (a) a cricket run chase (b) a flashcard trainer (c) a puzzle with levels (d) a racing challenge
- 27.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
- 28.True or false: “captions on videos” makes the app harder to use. (a) True (b) False
-
29.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “losing water bottles”?
forgetting birthdays: 22 votes
losing water bottles: 3 votes
wasting pocket money: 17 votes -
30.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Address → Offers
Design B: Home → Size → Pay → Confirm → Shop → Pens → Item (a) Design B (b) Design A - 31.Which of these is true of an app? (a) is installed on a phone (b) opens in a web browser (c) needs no installing (d) has a web address
-
32.🔁 What number does this code show?
let scores = [15, 4, 13];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
33.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(10) + fee(3)); - 34.💾 Data saved only on the phone is lost when ___. (a) the app is closed (b) you send a message (c) the screen turns off (d) the phone is lost
- 35.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) colour-blind users (c) the server (d) fast typists
-
36.🔁 What number does this code show?
let scores = [5, 8, 17];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 37.🐞 A comment in code (after //) is for ___. (a) the battery (b) the phone screen (c) the app store (d) people reading the code
-
38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Done button: 52 px tall
Start button: 32 px tall
Cancel button: 68 px tall (a) Done (b) Start (c) Cancel -
39.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Riya")); (a) Riya (b) Hello, Riya! (c) greet (d) Hello, name! -
40.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 2));
Answer key
- 3
- a text event
- the path through screens
- big touch targets
- the screen layout
- get an idea
- a button with no action
- a tool app
- Profile
- 3
- less code to write
- a bus tracker
- 175
- earn stickers
- 6
- No
- True
- spot a problem to solve
- a simple screen sketch
- speaking a command
- a homework planner
- pick the features
- labels on every icon
- True
- list of items
- a flashcard trainer
- an app
- False
- 19
- Design A
- is installed on a phone
- 15
- 60
- the phone is lost
- colour-blind users
- 17
- people reading the code
- Start
- Hello, Riya!
- 100
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students