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.⚙️ What number does this app show?
let price = 45; // typed by the user
let qty = 3; // typed by the user
let total = price * qty;
show(total); - 2.💡 Which app idea solves this problem: projects pile up at once? (a) a medicine reminder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
- 3.Which of these happens at the build stage? (a) spot a problem to solve (b) write the code (c) try every button (d) draw the user flow
- 4.True or false: adding up a bill is an output. (a) False (b) True
-
5.🔀 What does this PIN rule show?
let pin = "238";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 6.True or false: “captions on videos” makes the app harder to use. (a) True (b) False
- 7.🚀 Your app is at version 2.3.1. The next release fixes a small bug. What is its version number? (a) 2.3.2 (b) 3.0.0 (c) 2.4.1 (d) 2.4.0
-
8.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(10) + fee(6)); - 9.🔀 What does if / else let an app do? (a) save a photo (b) pick one of two actions (c) repeat forever (d) draw a screen
- 10.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) add a homework task (b) pick a theme colour (c) share tasks to friends (d) earn stickers
- 11.👥 A library app has 160 readers, 175 librarians and 25 volunteers as users. Which user group is the biggest? (a) librarians (b) volunteers (c) readers
- 12.✏️ What is a wireframe? (a) the finished app (b) a charging cable (c) a type of password (d) a simple screen sketch
- 13.Which of these is true of a final design? (a) shows where things go (b) uses plain grey boxes (c) has no real colours (d) shows the real fonts
- 14.🐞 Finding and fixing bugs is called ___. (a) designing (b) debugging (c) decorating (d) downloading
-
15.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 50
Test 2: price(15) → expected 100
Test 3: price(13) → expected 100 -
16.🧪 What is the ACTUAL result of Test 2?
🚚 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(450) → expected 40
Test 2: delivery(650) → expected 0
Test 3: delivery(500) → expected 0 - 17.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
-
18.⚙️ What number does this app show?
let price = 480; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); - 19.✏️ Why draw a wireframe before coding? (a) changes are quick (b) it adds colours (c) it saves data (d) it runs the app
- 20.Which of these helps everyone use the app? (a) tiny tap areas (b) sudden loud sounds (c) big touch targets (d) icons with no labels
-
21.💾 What number does this code show?
let songs = ["Kites", "Sunrise", "Stars"];
songs.push("Monsoon");
songs.push("Ocean");
show(songs.length); -
22.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Meera")); (a) Meera (b) greet (c) Welcome, Meera! (d) Welcome, name! - 23.True or false: you try every button at the idea stage. (a) False (b) True
- 24.🧰 How do you run (call) a function called greet? (a) run greet (b) greet() (c) #greet (d) greet[]
-
25.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 5)); -
26.🚀 Which of these versions is the NEWEST?
2.12.1, 2.4.2, 1.30.6, 2.2.7 (a) 2.2.7 (b) 1.30.6 (c) 2.12.1 (d) 2.4.2 -
27.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(10, 5)); - 28.Which of these is data? (a) your saved notes (b) tap to Send (c) tap to go Next (d) the settings page
-
29.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Profile tab
3. open “Edit photo”
4. tap the Profile tab
Which screen are you on now? (a) Friend list (b) Profile (c) Home (d) Edit photo -
30.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
31.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 42; // start at 40
line 2: score = score + 4; // add 4
line 3: score = score + 4; // add 4
line 4: score = score + 3; // add 3
line 5: show(score); // show it (a) line 1 (b) line 3 (c) line 2 (d) line 4 - 32.🔢 When you make an app, what comes right after “plan the screens”? (a) release it (b) get an idea (c) test the app (d) build the app
- 33.Which of these is an output? (a) adding up a bill (b) typing your age (c) sorting the scores (d) a beep sound
-
34.🧩 Which of these is a button on this screen?
[title] Order Snacks
[text box] Notes
[button] Cancel
[button] Next
[button] Help
[switch] Sound
[text box] Name (a) Name (b) Notes (c) Sound (d) Cancel - 35.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a draft you are typing (c) photos on two devices (d) notes to read offline
- 36.True or false: a page of random dots solves a real problem. (a) True (b) False
- 37.🎯 Who are the users of an app? (a) only the coders (b) only the testers (c) the app icons (d) the people who use it
- 38.🗂️ What kind of app is a puzzle with levels? (a) a health app (b) a game (c) a learning app (d) a tool app
- 39.🗒️ When should nice-to-have features be built? (a) before anything (b) after the must-haves (c) never (d) on day one
- 40.True or false: you spot a problem to solve at the build stage. (a) False (b) True
Answer key
- 135
- a homework planner
- write the code
- False
- Use 4 digits
- False
- 2.3.2
- 60
- pick one of two actions
- add a homework task
- librarians
- a simple screen sketch
- shows the real fonts
- debugging
- 100
- 0
- a feature
- 440
- changes are quick
- big touch targets
- 5
- Welcome, Meera!
- False
- greet()
- 300
- 2.12.1
- 50
- your saved notes
- Profile
- Ask a parent
- line 1
- build the app
- a beep sound
- Cancel
- photos on two devices
- False
- the people who use it
- a game
- after the must-haves
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students