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.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
- 2.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
- 3.🎯 An app for “everyone” with no clear user usually ___. (a) wins every prize (b) needs no testing (c) helps nobody well (d) is easy to build
-
4.🔀 What does this battery rule show?
let battery = 42;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
5.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(450) → expected 40
Test 3: delivery(600) → expected 0 -
6.💾 What number does this code show?
let notes = ["Art", "Maths", "Music", "Hindi"];
notes.push("Sports");
show(notes.length); -
7.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(20)); -
8.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 55; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 1 (c) line 3 (d) line 2 - 9.Which of these happens at the plan stage? (a) draw the user flow (b) spot a problem to solve (c) write down the bugs (d) list what users need
- 10.True or false: your last game level fits saving on the phone. (a) True (b) False
- 11.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
- 12.🗂️ What kind of app is a flashcard trainer? (a) a game (b) a health app (c) a learning app (d) a tool app
-
13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 47; // start at 45
line 2: coins = coins + 4; // add 4
line 3: coins = coins * 2; // double it
line 4: coins = coins - 4; // take away 4
line 5: show(coins); // show it -
14.⚙️ What number does this app show?
let price = 45; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 15.🚀 Your app is at version 4.7.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.7.4 (b) 4.8.0 (c) 4.8.3 (d) 5.0.0
- 16.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 17.True or false: a homework photo scanner needs your contacts. (a) True (b) False
- 18.🔐 Is this permission request fair or too much: camera app → camera? (a) fair (b) too much
-
19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 36; // start at 34
line 2: stars = stars + 4; // add 4
line 3: stars = stars - 2; // take away 2
line 4: show(stars); // show it - 20.🔢 In a food-order flow, which comes first: “track the order” or “pick a dish”? (a) track the order (b) pick a dish
-
21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[button] Help
[text box] Due date -
22.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Menu
Design B: Home → Confirm → Menu → Pay (a) Design B (b) Design A - 23.True or false: an app that just says hi solves no real problem. (a) False (b) True
- 24.🚀 Which version is newer: 3.10.3 or 3.9.1? (a) 3.10.3 (b) 3.9.1
-
25.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 40; // start at 40
line 2: score = score - 3; // take away 3
line 3: score = score + 5; // add 4
line 4: score = score * 2; // double it
line 5: show(score); // show it (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 26.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
- 27.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) you send a message (c) the phone is lost (d) the app is closed
- 28.🐞 Finding and fixing bugs is called ___. (a) decorating (b) designing (c) debugging (d) downloading
- 29.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) see if it is right (c) pick an answer (d) see the final score
-
30.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. open “Match report”
3. tap the Search tab
4. open “Edit photo”
5. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 31.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) “Small text is hard” (d) a share button
- 32.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
-
33.🚀 Which of these versions is the NEWEST?
1.18.2, 1.3.9, 1.2.2, 0.23.4 (a) 1.3.9 (b) 1.18.2 (c) 1.2.2 (d) 0.23.4 - 34.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) deletes the app (d) repeats the code
- 35.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
- 36.🔢 In a sign-up flow, which comes first: “type name and email” or “open the app”? (a) type name and email (b) open the app
-
37.🗒️ Version 1 of a water reminder must be ready in 10 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 4 days
see today’s total: 5 days - 38.True or false: a clear word like Save is poor button design. (a) False (b) True
- 39.🔢 In a food-order flow, which comes first: “pick a dish” or “track the order”? (a) track the order (b) pick a dish
- 40.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) tab bar (c) shortcut (d) dead end
Answer key
- too much
- repeats code
- helps nobody well
- Battery OK
- 2
- 5
- 40
- line 3
- draw the user flow
- True
- fair
- a learning app
- 94
- 225
- 5.0.0
- on the phone
- False
- fair
- 36
- pick a dish
- 1
- Design A
- True
- 3.10.3
- line 3
- Yes
- the phone is lost
- debugging
- see the final score
- 2
- “Small text is hard”
- a wireframe
- 1.18.2
- sends back a value
- a website
- open the app
- 0
- False
- pick a dish
- dead end
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students