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 SHOULD it show, if every line did what its comment says?
line 1: let lives = 38; // start at 37
line 2: lives = lives - 2; // take away 2
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it - 2.True or false: a 5-minute alarm ends is a timer event. (a) True (b) False
- 3.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
-
4.💾 What number does this code show?
let notes = ["Art", "Music"];
notes.push("Sports");
show(notes.length); -
5.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; -
6.💾 What number does this code show?
let coins = 9;
coins = coins - 2;
coins = coins + 3;
show(coins); -
7.💾 What number does this code show?
let friends = ["Meera", "Arjun"];
friends.push("Aman");
show(friends.length); -
8.🔀 Which badge does this quiz app show?
let marks = 87;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold -
9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 38; // start at 38
line 2: stars = stars * 3; // double it
line 3: stars = stars + 6; // add 6
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 - 10.🔁 list.length tells you ___. (a) the first item (b) the last item (c) the biggest item (d) how many items it has
-
11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. tap the Search tab
3. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 12.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) a torch (d) a step counter
- 13.⚙️ In an app, is sorting the scores an input, processing or an output? (a) output (b) processing (c) input
- 14.True or false: a homework planner is the best fit for a gamer who forgets to drink. (a) True (b) False
- 15.True or false: a website opens from a link. (a) True (b) False
-
16.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 33; // start at 33
line 2: points = points + 4; // add 4
line 3: points = points + 2; // double it
line 4: show(points); // show it -
17.🔀 Which badge does this quiz app show?
let marks = 33;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 18.💡 Which app idea solves this problem: the library is always full? (a) a study-room finder (b) a lost-and-found board (c) a bill splitter (d) a medicine reminder
-
19.🔀 What does this battery rule show?
let battery = 16;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
20.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 44 px tall
Next button: 60 px tall
Cancel button: 56 px tall - 21.🎯 Why learn about users before you build? (a) to pick a logo (b) to make it longer (c) to slow it down (d) to build what they need
-
22.🔀 What does this PIN rule show?
let pin = "739";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
23.🧪 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(950) → expected 0
Test 2: delivery(750) → expected 40
Test 3: delivery(1000) → expected 0 - 24.📅 An app team plans for 5 days, builds for 4 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
25.🖼️ In this wireframe (top to bottom), what is right above the top bar?
[ Save button ]
[ big picture ]
[ list of items ]
[ filter buttons ]
[ top bar ] (a) Save button (b) filter buttons (c) big picture (d) list of items -
26.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 56 px tall
Cancel button: 56 px tall
Back button: 60 px tall
Next button: 48 px tall - 27.👥 A cricket club app has 110 players, 65 coaches and 200 fans as users. How many more fans than players are there?
- 28.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) read user reviews (c) test it again (d) release an update
- 29.📅 An app team plans for 5 days, builds for 8 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
-
30.🧩 How many buttons does this app screen have?
[title] New Note
[button] Save
[button] Next
[text box] Due date
[button] Start
[text box] Subject
[switch] Dark mode
[text box] Age -
31.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 188; // typed by the user
line 2: let friends = 4; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 2 (c) line 1 (d) line 4 - 32.👆 A tap handler runs how many times if the user taps 4 times? (a) 8 (b) 0 (c) 4 (d) 1
- 33.True or false: how fast a task is done is about UI (the look). (a) False (b) True
- 34.True or false: a free study-room finder solves a real problem. (a) True (b) False
-
35.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello! (b) Hello, nameBox.text! (c) Riya (d) Hello, Riya! -
36.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Menu → Pens → Shop → Offers
Design B: Home → Pay → Address → Pens → Size → Search - 37.🔍 Which is the odd one out? (a) strong colour contrast (b) captions on videos (c) text that can grow (d) colour as the only clue
- 38.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
- 39.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) enter the code sent (c) open the app (d) type name and email
- 40.🔍 Which is the odd one out? (a) text that can grow (b) captions on videos (c) tiny tap areas (d) labels on every icon
Answer key
- 70
- True
- a feature
- 3
- 1
- 10
- 3
- Gold
- line 2
- how many items it has
- 1
- a torch
- processing
- False
- True
- 74
- Bronze
- a study-room finder
- Low battery
- 2
- to build what they need
- Use 4 digits
- 0
- 9
- filter buttons
- 4
- 90
- fix and improve
- 15
- 3
- line 3
- 4
- False
- True
- Hello, Riya!
- 1
- colour as the only clue
- fair
- see the home screen
- tiny tap areas
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students