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.💡 Which app idea solves this problem: the library is always full? (a) a lost-and-found board (b) a homework planner (c) a study-room finder (d) a bill splitter
-
2.🔀 What does this battery rule show?
let battery = 6;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 3.True or false: tapping a button is an input. (a) True (b) False
- 4.🔍 Which is the odd one out? (a) write the store text (b) list what users need (c) put it on an app store (d) share the download link
- 5.True or false: you talk to possible users at the idea stage. (a) True (b) False
-
6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap Back
3. tap the Home tab
4. open “Badges”
5. tap Back
Which screen are you on now? (a) Home (b) Badges (c) Friend list (d) Search -
7.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(600) → expected 0
Test 3: delivery(250) → expected 40 -
8.⚙️ What number does this app show?
let price = 85; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); -
9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 30; // start at 30
line 2: stars = stars + 6; // add 6
line 3: stars = stars - 1; // take away 1
line 4: stars = stars + 2; // double it
line 5: show(stars); // show it (a) line 2 (b) line 4 (c) line 3 (d) line 1 - 10.♿ Does this help everyone, or make the app harder to use: colour as the only clue? (a) helps everyone (b) makes it harder
- 11.🚀 In version 2.5.1, which number is the major version? (a) 251 (b) 5 (c) 2 (d) 1
-
12.🧩 How many buttons does this app screen have?
[title] New Note
[button] Next
[button] Help
[switch] Dark mode
[button] Back
[text box] Age
[slider] Volume - 13.Which of these requests asks for too much? (a) calculator → location (b) calling app → contacts (c) map app → location (d) voice notes → microphone
-
14.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(400) → expected 40
Test 3: delivery(500) → expected 0 (a) Test 2 (b) Test 1 (c) Test 3 -
15.💾 pop() takes off the last item. What does this code show?
let notes = ["Maths", "Sports", "Music", "Science", "Hindi"];
notes.pop();
show(notes[notes.length - 1]); (a) Music (b) Maths (c) Science (d) Sports - 16.True or false: how fast a task is done is about UI (the look). (a) True (b) False
- 17.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “type name and email”? (a) tap “Sign up” (b) type name and email
-
18.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Video”
3. open “Badges”
Which screen are you on now? (a) Home (b) Video (c) Search (d) Badges -
19.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 3)); -
20.💾 What number does this code show?
let points = 4;
points = points - 2;
points = points + 5;
show(points); - 21.True or false: tap to go Next is a button. (a) False (b) True
- 22.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) === (c) !== (d) =>
-
23.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(7) → expected 50
Test 2: price(13) → expected 100
Test 3: price(14) → expected 100 - 24.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 1, 2, 3 (c) 3 (d) 0, 1, 2
- 25.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) ready to release (c) missing a must-have (d) a nice extra
-
26.🔀 What does this PIN rule show?
let pin = "58642";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
27.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 35; // start at 35
line 2: points = points - 3; // take away 3
line 3: points = points - 4; // add 4
line 4: points = points * 2; // double it
line 5: show(points); // show it - 28.💡 Which is a problem statement? (a) “Add a logo” (b) “Use blue buttons” (c) “Make it fast” (d) “Kids forget homework”
- 29.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
-
30.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 52 px tall
Back button: 40 px tall
Next button: 60 px tall
Done button: 36 px tall -
31.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 47; // start at 45
line 2: points = points + 3; // add 3
line 3: points = points * 2; // double it
line 4: show(points); // show it -
32.🧪 One test case fails. Which one?
🚚 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(400) → expected 40
Test 2: delivery(600) → expected 0
Test 3: delivery(650) → expected 0 (a) Test 2 (b) Test 1 (c) Test 3 - 33.🔢 When you make an app, which comes first: “build the app” or “test the app”? (a) build the app (b) test the app
- 34.🧰 What is a function? (a) a screen size (b) a list of colours (c) a type of phone (d) a named block of code
- 35.🗒️ Why keep version 1 small? (a) to use up storage (b) to look bigger (c) to learn from users soon (d) to confuse users
- 36.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) an avatar shop (c) background music (d) show a question
-
37.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Hi, name! (b) greet (c) Riya (d) Hi, Riya! - 38.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 39.🧭 Which part of navigation undoes one move? (a) the back button (b) a menu button (c) a tab bar
-
40.💾 What does this code show? (Positions start at 0.)
let songs = ["Stars", "Ocean", "Sunrise"];
show(songs[2]); (a) Sunrise (b) Stars (c) Ocean
Answer key
- a study-room finder
- Low battery
- True
- list what users need
- True
- Home
- 40
- 425
- line 4
- makes it harder
- 2
- 3
- calculator → location
- Test 3
- Science
- False
- tap “Sign up”
- Badges
- 105
- 7
- True
- ===
- 3
- 0, 1, 2
- missing a must-have
- Use 4 digits
- 56
- “Kids forget homework”
- No
- 2
- 100
- Test 2
- build the app
- a named block of code
- to learn from users soon
- show a question
- Hi, Riya!
- on the phone
- the back button
- Sunrise
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students