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.🎨 Is this about UI or UX: the screen layout? (a) UX (b) UI
- 2.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) font size (d) app icon
- 3.💡 Which app idea solves this problem: projects pile up at once? (a) a study-room finder (b) a medicine reminder (c) a homework planner (d) a lost-and-found board
- 4.🎨 A beautiful app that confuses everyone has ___. (a) good UI but poor UX (b) no UI at all (c) perfect UX (d) good UX but poor UI
- 5.🎯 What is a user need? (a) a colour theme (b) a phone setting (c) a type of button (d) a problem a user has
-
6.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(10) + fee(8)); -
7.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Riya", "Meera", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Aman (c) Hi, Meera (d) Hi, Riya -
8.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(7) → expected 50
Test 3: price(12) → expected 100 (a) Test 3 (b) Test 2 (c) Test 1 -
9.🧪 What is the ACTUAL result of Test 1?
🚚 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(600) → expected 40
Test 2: delivery(1000) → expected 0
Test 3: delivery(1150) → expected 0 -
10.🗒️ Version 1 of a homework planner must be ready in 12 days. How many days are left for extras after the must-haves?
add a homework task: 4 days
set a due date: 2 days
see tasks by day: 3 days - 11.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
- 12.👥 A cricket club app has 255 players, 265 coaches and 140 fans as users. Which user group is the biggest? (a) coaches (b) players (c) fans
- 13.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) share your streak (c) set a reminder time (d) see today’s total
- 14.🚀 Which version is newer: 4.2.3 or 4.10.1? (a) 4.2.3 (b) 4.10.1
- 15.💡 Which app idea solves this problem: the library is always full? (a) a study-room finder (b) a lost-and-found board (c) a homework planner (d) a medicine reminder
-
16.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Caption: 23 px
Menu: 20 px
Footer: 21 px
Title: 28 px
Hint: 14 px (a) Footer (b) Caption (c) Hint (d) Menu - 17.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
- 18.🔐 Which permission does a homework photo scanner really need? (a) contacts (b) location (c) the camera (d) the microphone
- 19.👆 What kind of event is this: the user presses Save? (a) a text event (b) a timer event (c) a load event (d) a tap event
- 20.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
-
21.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(6) → expected Pass
Test 2: result(5) → expected Pass
Test 3: result(3) → expected Try again (a) Test 1 (b) Test 2 (c) Test 3 - 22.🗂️ What kind of app is a step counter? (a) a game (b) a learning app (c) a health app (d) a tool app
- 23.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
- 24.💡 After a survey, which need should version 1 solve? (a) the rarest need (b) the newest trend (c) a random need (d) the most common need
- 25.🌗 Is light grey on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 26.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) list what to fix (c) fix and improve (d) test it again
- 27.Which of these happens at the release stage? (a) share the download link (b) try every button (c) talk to possible users (d) pick the features
-
28.🔁 What number does this code show?
let runs = [71, 14, 24, 39, 86];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 50) {
count = count + 1;
}
}
show(count); -
29.🔀 What does this battery rule show?
let battery = 18;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 30.Which of these is data? (a) your saved notes (b) a slider for volume (c) a box to type a name (d) the settings page
- 31.🗒️ Why keep version 1 small? (a) to confuse users (b) to learn from users soon (c) to look bigger (d) to use up storage
- 32.🚀 Your app is at version 1.2.7. The next release fixes a small bug. What is its version number? (a) 1.3.0 (b) 1.2.8 (c) 1.3.7 (d) 2.0.0
-
33.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(6) → expected 50
Test 3: price(15) → expected 100 - 34.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 32 px tall. How many px taller must it be?
- 35.🔍 Which is the odd one out? (a) a word battle (b) a puzzle with levels (c) a racing challenge (d) a spelling coach
- 36.Which of these is a button? (a) tap to Send (b) your friends list (c) your saved notes (d) a box to type a name
-
37.🔁 What number does this code show?
let runs = [29, 85, 29, 73];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 70) {
count = count + 1;
}
}
show(count); - 38.🔍 Which is the odd one out? (a) working out a tip (b) typing your age (c) sorting the scores (d) checking a password
- 39.🔀 What is a user flow? (a) a type of font (b) a colour theme (c) a charging cable (d) the path through screens
- 40.🧭 Which part of navigation undoes one move? (a) a menu button (b) a tab bar (c) the back button
Answer key
- UI
- expected result
- a homework planner
- good UI but poor UX
- a problem a user has
- 80
- Hi, Aman
- Test 1
- 40
- 3
- the phone is lost
- coaches
- share your streak
- 4.10.1
- a study-room finder
- Hint
- a feature
- the camera
- a tap event
- an app
- Test 2
- a health app
- a wireframe
- the most common need
- hard to read
- read user reviews
- share the download link
- 2
- Low battery
- your saved notes
- to learn from users soon
- 1.2.8
- 50
- 16
- a spelling coach
- tap to Send
- 2
- typing your age
- the path through screens
- the back button
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students