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.👆 “On tap → do this” links an event to ___. (a) a charger (b) a web address (c) a font (d) an action
-
2.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 15; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 1 (b) line 4 (c) line 3 (d) line 2 -
3.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(10)); -
4.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Size → Results
Design B: Home → Shop → Pens → Menu → Cart (a) Design B (b) Design A - 5.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
- 6.True or false: a big-text reader is the best fit for a pupil juggling five projects. (a) False (b) True
- 7.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
- 8.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a pocket-money tracker (b) a recipe finder (c) a big-text reader (d) a homework planner
- 9.True or false: an app opens from a link. (a) True (b) False
- 10.👥 A clinic app has 260 patients, 20 doctors and 50 nurses as users. How many users does it have in all?
-
11.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 6 votes
wasting pocket money: 16 votes
forgetting homework: 22 votes - 12.🔐 Which permission does a walking map really need? (a) location (b) contacts (c) the camera (d) the microphone
- 13.Which colour pair is hard to read? (a) black on pale grey (b) dark blue on black (c) white on dark green (d) black on yellow
- 14.🎨 Who should you test the UX with? (a) the app icon (b) nobody (c) only yourself (d) real users
-
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 36; // start at 34
line 2: stars = stars - 2; // take away 2
line 3: stars = stars * 2; // double it
line 4: stars = stars - 3; // take away 3
line 5: show(stars); // show it - 16.Which of these app ideas solves no real problem? (a) a bill splitter (b) a medicine reminder (c) a lost-and-found board (d) an app that just says hi
- 17.🧩 Which input is best for choosing a volume level? (a) a switch (b) a title (c) a text box (d) a slider
- 18.🧭 What does the back button usually do? (a) closes all apps (b) deletes the page (c) goes to the last screen (d) opens settings
- 19.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) screens (d) tabs
-
20.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 41; // start at 41
line 2: coins = coins + 2; // double it
line 3: coins = coins - 2; // take away 2
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 21.🛠️ At which stage do you talk to possible users? (a) the idea stage (b) the test stage (c) the plan stage (d) the release stage
- 22.Which colour pair is hard to read? (a) white on dark green (b) black on pale grey (c) white on black (d) red on green
-
23.👆 The user taps the button 3 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 - 24.Which of these is a screen? (a) today’s step count (b) tap to go Next (c) a date picker (d) the log-in page
- 25.👆 What kind of event is this: the app starts up? (a) a load event (b) a tap event (c) a timer event (d) a text event
- 26.🧩 In an app, what is the log-in page? (a) an input (b) a button (c) a screen (d) data
- 27.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
-
28.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ search box ]
[ menu icon ]
[ top bar ]
[ tab bar ] (a) top bar (b) menu icon (c) search box (d) tab bar -
29.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(19) → expected 100
Test 2: price(9) → expected 50
Test 3: price(16) → expected 100 - 30.🧭 About how many tabs suit a tab bar best? (a) 1 (b) 20 (c) 3 to 5 (d) 10 to 12
- 31.🔢 After an app is released, what comes right after “read user reviews”? (a) list what to fix (b) fix and improve (c) release an update (d) test it again
- 32.Which of these is an output? (a) taking a photo (b) checking a password (c) a beep sound (d) typing your age
- 33.Which of these fits saving in the cloud? (a) the sound on/off setting (b) photos on two devices (c) your last game level (d) a draft you are typing
-
34.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. open “Badges”
3. tap Back
4. tap the Lessons tab
How many times must you tap Back to reach the main screen of this tab? - 35.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) add a homework task (c) set a due date (d) pick a theme colour
-
36.💾 pop() takes off the last item. What does this code show?
let songs = ["Kites", "Stars", "Rain", "Monsoon", "Sunrise"];
songs.pop();
show(songs[songs.length - 1]); (a) Stars (b) Rain (c) Monsoon (d) Kites - 37.🔐 Which permission does a weather-near-me app really need? (a) contacts (b) location (c) the microphone (d) the camera
-
38.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. open “Badges”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? - 39.True or false: the theme colours is about UI (the look). (a) True (b) False
- 40.True or false: a homework planner is the best fit for a reader who finds small print hard. (a) False (b) True
Answer key
- an action
- line 3
- 30
- Design A
- a user need
- False
- True
- a homework planner
- False
- 330
- 44
- location
- dark blue on black
- real users
- 61
- an app that just says hi
- a slider
- goes to the last screen
- data
- 82
- the idea stage
- red on green
- ON
- the log-in page
- a load event
- a screen
- hard to read
- tab bar
- 3
- 3 to 5
- list what to fix
- a beep sound
- photos on two devices
- 0
- pick a theme colour
- Monsoon
- location
- 1
- True
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students