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.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
-
2.🧪 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(500) → expected 0
Test 3: delivery(450) → expected 40 - 3.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) a screen (d) an event
- 4.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a homework planner (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
- 5.🔢 In a quiz-app flow, which comes LAST? (a) pick an answer (b) tap “Start quiz” (c) see the final score (d) read a question
- 6.🔀 What does if / else let an app do? (a) pick one of two actions (b) draw a screen (c) save a photo (d) repeat forever
- 7.Which of these is true of the back button? (a) shows 3 to 5 icons (b) switches main sections (c) undoes one move (d) hides extra links
- 8.True or false: tap to Save is a button. (a) False (b) True
- 9.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
- 10.🔐 Which permission does a party-invite app for friends really need? (a) contacts (b) the camera (c) the microphone (d) location
- 11.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a bill splitter (b) a homework planner (c) a lost-and-found board (d) a study-room finder
- 12.🔍 Which is the odd one out? (a) a unit converter (b) a calculator (c) an alarm clock (d) a step counter
- 13.♿ What does a screen reader do? (a) reads the screen aloud (b) plays music (c) takes photos (d) makes text tiny
- 14.🔍 Which is the odd one out? (a) adding up a bill (b) sorting the scores (c) speaking a command (d) working out a tip
-
15.🔀 What number does this shop app show?
let total = 320;
if (total > 500) {
total = total - 50;
}
show(total); -
16.🧪 How many of these test cases pass?
📝 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(4) → expected Try again
Test 2: result(7) → expected Pass
Test 3: result(6) → expected Pass - 17.🔍 Which is the odd one out? (a) the screen layout (b) the theme colours (c) how easy sign-up is (d) the button colours
- 18.🧭 Which part of navigation switches main sections? (a) a tab bar (b) the back button (c) a menu button
-
19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. tap the Search tab
3. open “Edit photo”
4. open “Help page”
Which screen are you on now? (a) Home (b) Help page (c) Edit photo (d) Search -
20.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(1) + fee(12)); - 21.Which of these requests is fair? (a) timer → your photos (b) map app → location (c) torch → contacts (d) quiz app → microphone
- 22.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) show the balance (d) savings stickers
- 23.🔐 Which permission does a barcode scanner really need? (a) location (b) the microphone (c) the camera (d) contacts
- 24.True or false: a library due-date alert solves no real problem. (a) False (b) True
- 25.True or false: a water reminder is the best fit for a teen learning to make snacks. (a) False (b) True
- 26.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) a title (d) an input
-
27.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
28.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 36; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 2 (c) line 4 (d) line 1 - 29.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
- 30.True or false: a weather-near-me app needs your location. (a) False (b) True
-
31.🧰 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(4) + fee(1)); - 32.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 33.✏️ What is a wireframe? (a) a simple screen sketch (b) a charging cable (c) the finished app (d) a type of password
- 34.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) shows the real fonts
- 35.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) on day one (c) never (d) before anything
- 36.Which of these happens at the idea stage? (a) share the download link (b) spot a problem to solve (c) pick the features (d) write the store text
-
37.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 38.Which colour pair is easy to read? (a) pale pink on white (b) light grey on white (c) dark blue on white (d) yellow on white
- 39.Which of these is true of a menu button? (a) undoes one move (b) goes to the last screen (c) switches main sections (d) opens a list of pages
-
40.🔀 What number does this shop app show?
let total = 620;
if (total > 500) {
total = total - 50;
}
show(total);
Answer key
- the phone is lost
- 40
- a parameter
- a pocket-money tracker
- see the final score
- pick one of two actions
- undoes one move
- True
- True
- contacts
- a study-room finder
- a step counter
- reads the screen aloud
- speaking a command
- 320
- 3
- how easy sign-up is
- a tab bar
- Help page
- 50
- map app → location
- show the balance
- the camera
- False
- False
- an input
- 1
- line 3
- ask and watch users
- True
- 0
- in the cloud
- a simple screen sketch
- shows where things go
- after the must-haves
- spot a problem to solve
- 2
- dark blue on white
- opens a list of pages
- 570
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students