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: the button colours is about UI (the look). (a) True (b) False
- 2.True or false: a homework photo scanner needs your contacts. (a) False (b) True
- 3.🔢 After an app is released, which comes first: “release an update” or “list what to fix”? (a) list what to fix (b) release an update
-
4.🔀 What does this battery rule show?
let battery = 94;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 5.Which of these is a user need? (a) a search bar (b) “What should I cook?” (c) a dark mode switch (d) a reminder alarm
-
6.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 30; // start at 30
line 2: points = points + 6; // add 6
line 3: points = points - 2; // take away 1
line 4: show(points); // show it - 7.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) check the answer (c) show a question (d) confetti effects
-
8.🧪 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(400) → expected 40
Test 2: delivery(750) → expected 0
Test 3: delivery(500) → expected 0 -
9.🧪 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(13) → expected 100
Test 2: price(19) → expected 100
Test 3: price(9) → expected 50 - 10.True or false: a cricket run chase is a health app. (a) False (b) True
- 11.🐞 What is a bug? (a) a fast phone (b) a new feature (c) a nice icon (d) a mistake in the code
- 12.🔍 Which is the odd one out? (a) strong colour contrast (b) big touch targets (c) text that can grow (d) icons with no labels
-
13.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Body text: 16 px
Caption: 11 px
Footer: 21 px
Menu: 10 px -
14.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Kabir")); (a) Kabir (b) Welcome, name! (c) Welcome, Kabir! (d) greet - 15.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) edge cases (c) easy cases (d) phone cases
-
16.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
forgetting birthdays: 24 votes
losing water bottles: 12 votes
wasting pocket money: 14 votes -
17.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(8) → expected 100
Test 3: price(6) → expected 50 (a) Test 3 (b) Test 2 (c) Test 1 - 18.True or false: a walking map needs your location. (a) False (b) True
- 19.🔁 What does a loop do? (a) draws icons (b) repeats code (c) deletes code (d) saves photos
- 20.👥 A school app has 245 students, 105 teachers and 160 parents as users. How many more students than parents are there?
- 21.True or false: a homework photo scanner needs the camera. (a) False (b) True
-
22.💾 pop() takes off the last item. What does this code show?
let notes = ["Science", "Art", "Maths"];
notes.pop();
show(notes[notes.length - 1]); (a) Art (b) Science (c) Maths - 23.🔀 What does >= mean? (a) less than (b) not equal (c) smaller or equal (d) greater than or equal
- 24.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) the same screen (c) a dead end (d) a random page
-
25.🖼️ In this wireframe (top to bottom), what is right above the tab bar?
[ title text ]
[ top bar ]
[ tab bar ]
[ menu icon ]
[ search box ] (a) title text (b) menu icon (c) search box (d) top bar - 26.🔐 Which permission does a homework photo scanner really need? (a) the camera (b) the microphone (c) contacts (d) location
-
27.🔀 Which badge does this quiz app show?
let marks = 43;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 28.Which of these is processing? (a) taking a photo (b) tapping a button (c) adding up a bill (d) a result on screen
- 29.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
30.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 31.🔍 Which is the odd one out? (a) an alarm clock (b) a calculator (c) a unit converter (d) a flashcard trainer
- 32.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
- 33.True or false: you write the store text at the release stage. (a) False (b) True
- 34.Which of these happens at the idea stage? (a) pick the features (b) draw the user flow (c) write the store text (d) list what users need
- 35.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) headline (c) handler (d) header
- 36.Which of these happens at the idea stage? (a) connect the data (b) write down the bugs (c) spot a problem to solve (d) share the download link
- 37.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
-
38.🔁 What number does this code show?
let marks = [4, 1, 12, 9];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
39.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 19 px
Title: 17 px
Label: 9 px
Hint: 19 px
Footer: 28 px (a) Title (b) Label (c) Hint (d) Body text -
40.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 11 px
Footer: 16 px
Menu: 17 px
Title: 19 px
Body text: 20 px (a) Hint (b) Footer (c) Menu (d) Title
Answer key
- True
- False
- list what to fix
- Battery OK
- “What should I cook?”
- 34
- confetti effects
- 0
- 100
- False
- a mistake in the code
- icons with no labels
- 2
- Welcome, Kabir!
- edge cases
- 2
- Test 2
- True
- repeats code
- 85
- True
- Art
- greater than or equal
- a clear next step
- top bar
- the camera
- Bronze
- adding up a bill
- in the cloud
- Ask a parent
- a flashcard trainer
- UI
- True
- list what users need
- handler
- spot a problem to solve
- a user need
- 26
- Label
- Hint
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students