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.Which of these is a screen? (a) the settings page (b) tap to go Next (c) a switch for dark mode (d) a slider for volume
- 2.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
- 3.♿ A screen has 5 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
-
4.🔁 What number does this code show?
let marks = [11, 5, 6, 14];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
5.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 90; // typed by the user
line 2: let qty = 5; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 2 (c) line 4 (d) line 1 -
6.👆 The user taps the button 2 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) ON (b) OFF -
7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 30; // start at 30
line 2: stars = stars + 4; // take away 4
line 3: stars = stars * 2; // double it
line 4: stars = stars + 4; // add 4
line 5: show(stars); // show it - 8.🔢 In a food-order flow, which comes first: “add it to the cart” or “pay for the order”? (a) pay for the order (b) add it to the cart
-
9.🧰 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(5) + fee(2)); -
10.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(750) → expected 40 (a) Test 1 (b) Test 2 (c) Test 3 - 11.♿ What should every icon-only button have for screen readers? (a) a text label (b) a long animation (c) a bright colour (d) a sound
- 12.Which of these is true of a wireframe? (a) shows the real fonts (b) uses the final pictures (c) looks like the real app (d) is a quick sketch
- 13.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 14.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
-
15.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 12 px
Title: 21 px
Hint: 11 px
Caption: 24 px -
16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap Back
3. tap the Search tab
Which screen are you on now? (a) Search (b) Profile (c) Home (d) Friend list - 17.🔁 What does a loop do? (a) deletes code (b) saves photos (c) draws icons (d) repeats code
-
18.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 23 votes
forgetting homework: 9 votes
losing water bottles: 13 votes - 19.Which of these happens at the idea stage? (a) write the store text (b) list what users need (c) write the code (d) let friends try it
- 20.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
-
21.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 17 votes
no quiet study place: 10 votes
losing water bottles: 20 votes -
22.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
[ top bar ]
[ title text ]
[ filter buttons ]
[ Add button ]
[ Save button ] (a) Add button (b) top bar (c) Save button (d) title text -
23.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 19 votes
missing the bus: 23 votes
forgetting birthdays: 4 votes (a) wasting pocket money (b) missing the bus (c) forgetting birthdays -
24.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 42; // start at 42
line 2: lives = lives - 6; // add 6
line 3: lives = lives + 2; // add 2
line 4: show(lives); // show it - 25.🧭 Which part of navigation switches main sections? (a) the back button (b) a tab bar (c) a menu button
-
26.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(4)); - 27.Which of these requests asks for too much? (a) map app → location (b) camera app → camera (c) torch → contacts (d) voice notes → microphone
- 28.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
- 29.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) show the score (d) an avatar shop
- 30.🔍 Which is the odd one out? (a) try every button (b) sketch the screens (c) draw the user flow (d) pick the features
- 31.Which of these helps everyone use the app? (a) colour as the only clue (b) captions on videos (c) tiny tap areas (d) icons with no labels
- 32.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) inside a button (c) at the bottom (d) in the middle
- 33.🧩 In an app, what is tap to go Next? (a) data (b) a button (c) a screen (d) an input
- 34.👆 An event in an app is ___. (a) something that happens (b) a colour theme (c) a kind of list (d) an app store
-
35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. tap the Quiz tab
3. tap the Me tab
4. open “Score card”
Which screen are you on now? (a) Lessons (b) Quiz (c) Friend list (d) Score card - 36.🗂️ What kind of app is an alarm clock? (a) a game (b) a tool app (c) a health app (d) a learning app
-
37.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(100, 3)); - 38.🔢 In a quiz-app flow, which comes first: “see the final score” or “read a question”? (a) see the final score (b) read a question
- 39.True or false: a bus tracker is the best fit for a child saving up for a cycle. (a) False (b) True
- 40.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) the back button (c) a menu button
Answer key
- the settings page
- a medicine reminder
- 3
- 36
- line 3
- OFF
- 56
- add it to the cart
- 50
- Test 1
- a text label
- is a quick sketch
- hard to read
- a wireframe
- 2
- Search
- repeats code
- 45
- list what users need
- a wireframe
- 47
- title text
- missing the bus
- 50
- a tab bar
- 8
- torch → contacts
- add a filter
- show the score
- try every button
- captions on videos
- at the bottom
- a button
- something that happens
- Score card
- a tool app
- 300
- read a question
- False
- a tab bar
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students