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.🔀 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! - 2.Which of these is processing? (a) tapping a button (b) adding up a bill (c) taking a photo (d) a result on screen
-
3.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 40 px tall
Save button: 48 px tall
Cancel button: 48 px tall
Help button: 72 px tall (a) Cancel (b) Send (c) Save (d) Help -
4.🚀 Which of these versions is the OLDEST?
1.13.2, 1.5.0, 0.25.5, 1.3.6 (a) 1.5.0 (b) 0.25.5 (c) 1.3.6 (d) 1.13.2 - 5.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 6.🔘 Our rule: buttons are at least 48 px tall. The Next button is 32 px tall. How many px taller must it be?
-
7.💾 What number does this code show?
let friends = ["Riya", "Aman", "Zoya"];
friends.push("Meera");
friends.push("Kabir");
show(friends.length); -
8.🧩 How many buttons does this app screen have?
[title] Order Snacks
[text box] Email
[switch] Dark mode
[text box] Age
[button] Done
[text box] Notes - 9.👥 A clinic app has 95 patients, 80 doctors and 75 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
- 10.True or false: a word battle is a learning app. (a) True (b) False
- 11.Which of these is true of the back button? (a) hides extra links (b) sits at the bottom (c) shows 3 to 5 icons (d) undoes one move
-
12.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(11) → expected 50
Test 3: price(14) → expected 100 (a) Test 1 (b) Test 3 (c) Test 2 -
13.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Back button: 60 px tall
Cancel button: 56 px tall
Send button: 40 px tall
Help button: 60 px tall (a) Back (b) Help (c) Cancel (d) Send - 14.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) find where it goes wrong (d) add more colours
- 15.🎯 An app for “everyone” with no clear user usually ___. (a) is easy to build (b) needs no testing (c) helps nobody well (d) wins every prize
-
16.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 20 votes
wasting pocket money: 3 votes
forgetting homework: 6 votes (a) forgetting homework (b) missing the bus (c) wasting pocket money -
17.💾 What does this code show? (Positions start at 0.)
let songs = ["Stars", "Rain", "Sunrise", "Kites", "Monsoon"];
show(songs[2]); (a) Sunrise (b) Rain (c) Stars (d) Kites - 18.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
- 19.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) test it again (c) fix and improve (d) list what to fix
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 200; // typed by the user
line 2: let off = 40; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 2 (b) line 4 (c) line 3 (d) line 1 - 21.Which of these is a feature? (a) “What should I cook?” (b) a reminder alarm (c) “I keep missing the bus” (d) “I forget my homework”
- 22.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
- 23.🌐 Which program do you need to open a website? (a) an app store (b) a camera app (c) a web browser (d) a calculator
- 24.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
- 25.Which of these is a user need? (a) “I keep missing the bus” (b) a search bar (c) a dark mode switch (d) a share button
- 26.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) phone cases (c) easy cases (d) edge cases
- 27.True or false: how many taps it takes is about UI (the look). (a) False (b) True
-
28.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done! (b) Well done, nameBox.text! (c) Well done, Riya! (d) Riya - 29.🐞 After fixing a bug you should ___. (a) test it again (b) delete the test (c) never test (d) release at once
- 30.True or false: the user taps Play is a tap event. (a) False (b) True
-
31.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting homework”?
forgetting homework: 8 votes
missing the bus: 23 votes
forgetting birthdays: 3 votes - 32.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 0, 1, 2, 3 (c) 3 (d) 0, 1, 2
- 33.🗂️ What kind of app is a calculator? (a) a tool app (b) a learning app (c) a game (d) a health app
- 34.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
- 35.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) a random page (c) that tab’s main screen (d) the phone settings
- 36.Which of these is a user need? (a) a reminder alarm (b) a share button (c) a search bar (d) “I forget my homework”
- 37.🔍 Which is the odd one out? (a) a flashcard trainer (b) a unit converter (c) a times-table quiz (d) a spelling coach
- 38.🧪 Who else should try an app before release? (a) nobody (b) only the coder (c) the app icon (d) real users
- 39.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
-
40.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(19) → expected 100
Test 2: price(18) → expected 100
Test 3: price(12) → expected 50
Answer key
- Ask a parent
- adding up a bill
- Send
- 0.25.5
- in the cloud
- 16
- 5
- 1
- patients
- False
- undoes one move
- Test 3
- Send
- find where it goes wrong
- helps nobody well
- missing the bus
- Sunrise
- True
- read user reviews
- line 3
- a reminder alarm
- helps everyone
- a web browser
- makes it harder
- “I keep missing the bus”
- edge cases
- False
- Well done, Riya!
- test it again
- True
- 15
- 0, 1, 2
- a tool app
- a feature
- that tab’s main screen
- “I forget my homework”
- a unit converter
- real users
- No
- 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students