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 user need? (a) a search bar (b) a dark mode switch (c) “I keep missing the bus” (d) a reminder alarm
- 2.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
- 3.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX
- 4.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
- 5.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder
-
6.💾 What number does this code show?
let friends = ["Aman", "Zoya"];
friends.push("Kabir");
show(friends.length); -
7.🖼️ In this wireframe (top to bottom), what is right above the top bar?
[ tab bar ]
[ top bar ]
[ search box ]
[ menu icon ] (a) search box (b) tab bar (c) menu icon -
8.🔁 What number does this code show?
let marks = [7, 17, 18];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 9.👥 A school app has 100 students, 220 teachers and 300 parents as users. How many users does it have in all?
- 10.👥 A school app has 115 students, 295 teachers and 240 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
- 11.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
- 12.🔐 Is this permission request fair or too much: voice notes → microphone? (a) fair (b) too much
-
13.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 13 votes
losing water bottles: 4 votes
wasting pocket money: 5 votes (a) missing the bus (b) wasting pocket money (c) losing water bottles - 14.True or false: a word battle is a game. (a) False (b) True
-
15.👆 The user taps the button 2 times. What number does the label show now?
let coins = 5;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; - 16.🔍 Which is the odd one out? (a) working out a tip (b) checking a password (c) speaking a command (d) sorting the scores
-
17.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(45, 2)); -
18.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 56 px tall
Back button: 48 px tall
Save button: 32 px tall -
19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. open “Score card”
3. open “Map”
4. tap Back
Which screen are you on now? (a) Map (b) Search (c) Score card (d) Home -
20.🔁 What number does this code show?
let scores = [54, 69, 22, 69, 70];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); -
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 31; // start at 30
line 2: coins = coins + 4; // add 4
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it (a) line 3 (b) line 1 (c) line 2 - 22.🧩 In an app, what is a switch for dark mode? (a) data (b) a button (c) an input (d) a screen
- 23.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) tap “Sign up” (b) see the home screen (c) open the app (d) type name and email
-
24.🔀 What number does this shop app show?
let total = 790;
if (total > 500) {
total = total - 50;
}
show(total); -
25.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 26 px
Label: 26 px
Title: 18 px
Caption: 26 px
Footer: 12 px (a) Body text (b) Footer (c) Title (d) Label -
26.🧪 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(6) → expected 50
Test 3: price(14) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 -
27.💾 pop() takes off the last item. What does this code show?
let friends = ["Zoya", "Riya", "Aman"];
friends.pop();
show(friends[friends.length - 1]); (a) Aman (b) Zoya (c) Riya -
28.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[button] Start
[text box] Age
[button] Done - 29.🗂️ What kind of app is an alarm clock? (a) a learning app (b) a game (c) a tool app (d) a health app
-
30.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Search tab
2. tap the Home tab
3. open “Match report”
How many times must you tap Back to reach the main screen of this tab? -
31.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “wasting pocket money”?
forgetting birthdays: 10 votes
wasting pocket money: 5 votes
losing water bottles: 14 votes -
32.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 33.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
-
34.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 36 px tall
Start button: 52 px tall
Back button: 56 px tall (a) Start (b) Next (c) Back -
35.🧩 Which of these is a button on this screen?
[title] Order Snacks
[button] Start
[button] Next
[slider] Brightness
[text box] Age
[text box] Email
[button] Cancel
[text box] Name (a) Cancel (b) Name (c) Age (d) Email - 36.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) savings stickers (b) show the balance (c) add money spent (d) add money received
-
37.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 40
Test 2: delivery(700) → expected 0
Test 3: delivery(800) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 - 38.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) password (c) protocol (d) persona
- 39.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
- 40.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) see the home screen (c) type name and email (d) enter the code sent
Answer key
- “I keep missing the bus”
- Yes
- UI
- No
- helps everyone
- 3
- tab bar
- 18
- 620
- teachers
- UI
- fair
- missing the bus
- True
- 7
- speaking a command
- 90
- 2
- Score card
- 4
- line 1
- an input
- see the home screen
- 740
- Footer
- Test 1
- Riya
- 1
- a tool app
- 1
- 9
- Ask a parent
- easy to read
- Next
- Cancel
- savings stickers
- Test 2
- persona
- too much
- open the app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students