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.🔢 In a photo-post flow, which comes LAST? (a) open the camera screen (b) add a filter (c) take the photo (d) post the photo
-
2.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
3.🔀 What does this sign-up rule show?
let age = 13;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
4.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(12) + fee(9)); - 5.🧩 In an app, what is tap to Send? (a) data (b) an input (c) a button (d) a screen
- 6.True or false: a bill splitter solves a real problem. (a) False (b) True
-
7.🔁 What number does this code show?
let marks = [5, 13, 1, 16, 19];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 8.🧩 In an app, what is a switch for dark mode? (a) a button (b) an input (c) data (d) a screen
-
9.🧩 How many buttons does this app screen have?
[title] Settings
[text box] Age
[button] Cancel
[text box] Name
[button] Start
[button] Done -
10.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 46; // start at 46
line 2: score = score + 3; // add 3
line 3: score = score + 5; // add 5
line 4: score = score + 5; // take away 5
line 5: show(score); // show it - 11.True or false: a page of random dots solves a real problem. (a) True (b) False
- 12.🧭 Why should every screen show where you are? (a) to hide the menu (b) to use more battery (c) so users do not get lost (d) to look busy
-
13.🔀 What does this PIN rule show?
let pin = "803";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 14.🐞 After fixing a bug you should ___. (a) release at once (b) never test (c) delete the test (d) test it again
- 15.True or false: how users feel after is about UI (the look). (a) True (b) False
-
16.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(95, 6)); - 17.👆 What kind of event is this: a 5-minute alarm ends? (a) a load event (b) a text event (c) a tap event (d) a timer event
-
18.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(25)); - 19.True or false: an app is installed on a phone. (a) False (b) True
-
20.🗒️ Version 1 of a water reminder must be ready in 15 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 1 days
see today’s total: 5 days -
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 33; // start at 33
line 2: stars = stars + 5; // add 5
line 3: stars = stars - 2; // add 2
line 4: show(stars); // show it (a) line 3 (b) line 1 (c) line 2 -
22.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 24 px
Menu: 21 px
Body text: 11 px - 23.True or false: a switch for dark mode is an input. (a) False (b) True
- 24.🚀 Your app is at version 2.4.7. The next release fixes a small bug. What is its version number? (a) 3.0.0 (b) 2.5.7 (c) 2.5.0 (d) 2.4.8
- 25.🧑 Who is an app really made for? (a) its icon (b) its charger (c) its coder only (d) its users
- 26.🔢 When you make an app, which comes first: “get an idea” or “build the app”? (a) build the app (b) get an idea
- 27.Which of these is a button? (a) tap to go Next (b) a slider for volume (c) your saved notes (d) your high score
- 28.🐞 Finding and fixing bugs is called ___. (a) decorating (b) downloading (c) debugging (d) designing
- 29.Which of these is a user need? (a) a share button (b) a reminder alarm (c) “I keep missing the bus” (d) a search bar
- 30.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 31.🔀 When does the else part run? (a) always (b) when the test is true (c) when the test is false (d) never
- 32.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
- 33.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
-
34.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Save button ]
[ big picture ]
[ top bar ]
[ Add button ] (a) big picture (b) Save button (c) Add button (d) top bar - 35.Which of these is a feature? (a) a dark mode switch (b) “I forget my homework” (c) “Small text is hard” (d) “I keep missing the bus”
-
36.💾 pop() takes off the last item. What does this code show?
let friends = ["Kabir", "Riya", "Meera"];
friends.pop();
show(friends[friends.length - 1]); (a) Kabir (b) Meera (c) Riya - 37.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) add money spent (c) add money received (d) show the balance
- 38.🧰 What is a function? (a) a screen size (b) a named block of code (c) a list of colours (d) a type of phone
-
39.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 7 votes
forgetting homework: 11 votes
missing the bus: 23 votes (a) forgetting homework (b) forgetting birthdays (c) missing the bus - 40.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the app’s price (c) what data is collected (d) the screen size
Answer key
- post the photo
- 3
- Welcome!
- 120
- a button
- True
- 54
- an input
- 3
- 59
- False
- so users do not get lost
- Use 4 digits
- test it again
- False
- 570
- a timer event
- 75
- True
- 6
- line 3
- 1
- True
- 2.4.8
- its users
- get an idea
- tap to go Next
- debugging
- “I keep missing the bus”
- on the phone
- when the test is false
- Yes
- a wireframe
- Add button
- a dark mode switch
- Riya
- pie-chart colours
- a named block of code
- missing the bus
- what data is collected
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students