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.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 48; // start at 48
line 2: points = points + 3; // add 3
line 3: points = points + 2; // double it
line 4: show(points); // show it - 2.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) pick a theme colour (d) add a homework task
- 3.Which of these is true of a website? (a) has a home-screen icon (b) comes from an app store (c) updates from the store (d) needs no installing
- 4.🧩 Which part lets the user give the app information? (a) a title (b) a logo (c) an input (d) an icon
- 5.🔍 Which is the odd one out? (a) how users feel after (b) the button colours (c) the font size (d) the screen layout
- 6.Which of these is about UI (the look)? (a) how fast a task is done (b) how users feel after (c) how many taps it takes (d) the screen layout
- 7.True or false: “icons with no labels” makes the app harder to use. (a) False (b) True
- 8.True or false: the user types a letter is a text event. (a) True (b) False
- 9.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) show the score (d) an avatar shop
-
10.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 245; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 1 (b) line 2 (c) line 4 (d) line 3 - 11.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) MVP (d) URL
- 12.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) find where it goes wrong (c) buy a new phone (d) add more colours
- 13.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
- 14.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
-
15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 49; // start at 46
line 2: score = score + 6; // add 6
line 3: score = score + 4; // add 4
line 4: score = score + 5; // add 5
line 5: show(score); // show it (a) line 4 (b) line 3 (c) line 1 (d) line 2 -
16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 43; // start at 42
line 2: stars = stars + 6; // add 6
line 3: stars = stars + 2; // add 2
line 4: show(stars); // show it - 17.🧰 How do you run (call) a function called greet? (a) greet[] (b) greet() (c) run greet (d) #greet
- 18.🔀 What does >= mean? (a) less than (b) greater than or equal (c) smaller or equal (d) not equal
-
19.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 22 px
Footer: 25 px
Label: 21 px
Caption: 26 px
Hint: 14 px (a) Label (b) Title (c) Hint (d) Footer - 20.👥 A school app has 265 students, 280 teachers and 85 parents as users. How many more students than parents are there?
-
21.🔁 What number does this code show?
let scores = [9, 7, 7, 10, 1];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
22.🔀 Which badge does this quiz app show?
let marks = 81;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold - 23.True or false: one second passes is a tap event. (a) False (b) True
- 24.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) the sound on/off setting (d) photos on two devices
- 25.True or false: an app has a web address. (a) True (b) False
-
26.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 1 days
show the balance: 4 days - 27.🔍 Which is the odd one out? (a) labels on every icon (b) captions on videos (c) big touch targets (d) colour as the only clue
-
28.💾 pop() takes off the last item. What does this code show?
let friends = ["Kabir", "Zoya", "Aman"];
friends.pop();
show(friends[friends.length - 1]); (a) Aman (b) Kabir (c) Zoya -
29.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] City
[button] Back
[button] Save
[switch] Remind me
[text box] Age - 30.True or false: “big touch targets” helps everyone use the app. (a) False (b) True
- 31.Which of these is processing? (a) tapping a button (b) speaking a command (c) a buzz (vibration) (d) working out a tip
- 32.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
33.🔁 What number does this code show?
let scores = [3, 4, 11];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
34.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 14; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 1 (c) line 2 -
35.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Kabir")); (a) Well done, Kabir! (b) Well done, name! (c) Kabir (d) greet - 36.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a homework planner (b) a water reminder (c) a recipe finder (d) a bus tracker
-
37.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Results → Confirm → Search → Shop → Item → Pens
Design B: Home → Size → Confirm - 38.🔍 Which is the odd one out? (a) the font size (b) the icon shapes (c) the button colours (d) how easy sign-up is
-
39.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(650) → expected 0
Test 2: delivery(200) → expected 40
Test 3: delivery(550) → expected 0 -
40.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Help page”
2. open “Badges”
3. tap the Settings tab
4. tap the Settings tab
Which screen are you on now? (a) Badges (b) Help page (c) Feed (d) Settings
Answer key
- 53
- add a homework task
- needs no installing
- an input
- how users feel after
- the screen layout
- True
- True
- show the score
- line 3
- MVP
- find where it goes wrong
- real users
- a feature
- line 1
- 50
- greet()
- greater than or equal
- Hint
- 180
- 34
- Gold
- False
- the sound on/off setting
- False
- 2
- colour as the only clue
- Zoya
- 2
- True
- working out a tip
- in the cloud
- 11
- line 2
- Well done, Kabir!
- a recipe finder
- 6
- how easy sign-up is
- 3
- Settings
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students