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.True or false: tap to Save is a button. (a) False (b) True
- 2.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) use it on any device (c) shrink the app (d) never need a password
- 3.🔢 In a sign-up flow, which comes first: “enter the code sent” or “tap “Sign up””? (a) enter the code sent (b) tap “Sign up”
- 4.Which of these happens at the release stage? (a) pick the features (b) write the code (c) add the buttons (d) write the store text
-
5.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(750) → expected 0 - 6.🧭 Which part of navigation undoes one move? (a) a menu button (b) the back button (c) a tab bar
-
7.🔀 What number does this shop app show?
let total = 350;
if (total > 500) {
total = total - 50;
}
show(total); -
8.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 8 votes
forgetting birthdays: 7 votes
wasting pocket money: 9 votes -
9.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 12; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 1 (b) line 3 (c) line 2 - 10.🧑 Who is an app really made for? (a) its icon (b) its coder only (c) its charger (d) its users
- 11.🔍 Which is the odd one out? (a) taking a photo (b) tapping a button (c) typing your age (d) a buzz (vibration)
-
12.⚙️ What number does this app show?
let bill = 222; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); -
13.👆 The user taps the button 6 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 - 14.🔀 When does the else part run? (a) never (b) always (c) when the test is false (d) when the test is true
- 15.True or false: a library due-date alert solves a real problem. (a) True (b) False
-
16.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(10)); - 17.⚙️ In an app, is tapping a button an input, processing or an output? (a) processing (b) input (c) output
- 18.True or false: a big-text reader is the best fit for a grandparent with weak eyesight. (a) True (b) False
- 19.👥 A clinic app has 200 patients, 50 doctors and 100 nurses as users. How many users does it have in all?
-
20.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap Back
3. open “Map”
Which screen are you on now? (a) Map (b) Search (c) Badges (d) Home -
21.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 39; // typed by the user
line 2: let friends = 3; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 1 (b) line 3 (c) line 4 (d) line 2 - 22.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
- 23.True or false: your saved notes is data. (a) False (b) True
- 24.True or false: an app updates from the store. (a) False (b) True
- 25.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) savings stickers (c) pie-chart colours (d) add money received
- 26.🎨 UI stands for user ___. (a) idea (b) internet (c) input (d) interface
- 27.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
-
28.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 52 px tall
Cancel button: 32 px tall
Send button: 32 px tall - 29.🗂️ What kind of app is a racing challenge? (a) a game (b) a health app (c) a tool app (d) a learning app
-
30.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Meera")); (a) Hi, Meera! (b) Hi, name! (c) Meera (d) greet - 31.True or false: a beep sound is an output. (a) False (b) True
- 32.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
- 33.👥 A school app has 180 students, 225 teachers and 215 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
- 34.Which of these fits saving on the phone? (a) a shared to-do list (b) notes to read offline (c) a class leaderboard (d) chat messages to friends
-
35.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 7 votes
losing water bottles: 12 votes
forgetting birthdays: 4 votes (a) missing the bus (b) losing water bottles (c) forgetting birthdays - 36.👥 A clinic app has 125 patients, 80 doctors and 230 nurses as users. How many users does it have in all?
- 37.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
- 38.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) add the buttons
-
39.⚙️ What number does this app show?
let price = 65; // typed by the user
let qty = 3; // typed by the user
let total = price * qty;
show(total); -
40.🔁 What is the LAST line this code shows?
let names = ["Riya", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Aman (c) Hi, Riya
Answer key
- True
- use it on any device
- tap “Sign up”
- write the store text
- 3
- the back button
- 350
- 24
- line 2
- its users
- a buzz (vibration)
- 74
- OFF
- when the test is false
- True
- 20
- input
- True
- 350
- Map
- line 3
- good design
- True
- True
- add money received
- interface
- repeats code
- 1
- a game
- Hi, Meera!
- True
- an app
- teachers
- notes to read offline
- losing water bottles
- 435
- 5
- add the buttons
- 195
- Hi, Meera
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students