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.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 17 votes
forgetting homework: 5 votes
no quiet study place: 18 votes - 2.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) show arrival time (b) a dark mode (c) rate the driver (d) change the bus icon
-
3.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Phone
[text box] Email
[slider] Text size
[button] Done - 4.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
5.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 4 days
show the balance: 2 days - 6.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) updates from the store (d) has a web address
- 7.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 251 (c) 5 (d) 2
- 8.⚙️ In an app, is tapping a button an input, processing or an output? (a) input (b) processing (c) output
- 9.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
-
10.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 11.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see if it is right (c) tap “Start quiz” (d) see the final score
- 12.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) well planned (d) missing a must-have
- 13.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) see if it is right (b) see the final score (c) read a question (d) pick an answer
- 14.True or false: a lost-and-found board solves no real problem. (a) False (b) True
- 15.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) on day one (d) never
-
16.🧪 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(1100) → expected 0 - 17.⚙️ In an app, is a buzz (vibration) an input, processing or an output? (a) input (b) processing (c) output
- 18.📱 The word “app” is short for ___. (a) application (b) apparatus (c) appetite (d) appointment
-
19.🧪 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(750) → expected 0 -
20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 44; // start at 44
line 2: stars = stars + 3; // add 3
line 3: stars = stars + 6; // add 6
line 4: stars = stars * 3; // double it
line 5: show(stars); // show it (a) line 3 (b) line 4 (c) line 2 (d) line 1 - 21.Which of these is a user need? (a) “What should I cook?” (b) a reminder alarm (c) a search bar (d) a dark mode switch
- 22.🔢 When you make an app, what comes right after “get an idea”? (a) release it (b) plan the screens (c) build the app (d) test the app
- 23.Which of these is true of a website? (a) opens in a web browser (b) has a home-screen icon (c) is installed on a phone (d) updates from the store
- 24.📱 Which one has a web address: an app or a website? (a) an app (b) a website
-
25.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(5)); - 26.🧰 What does return do in a function? (a) deletes the app (b) closes the screen (c) sends back a value (d) repeats the code
- 27.🔀 Why plan the user flow before building? (a) to add more taps (b) to hide the buttons (c) so each step is clear (d) to skip testing
-
28.💾 What does this code show? (Positions start at 0.)
let friends = ["Riya", "Zoya", "Kabir"];
show(friends[0]); (a) Riya (b) Zoya (c) Kabir - 29.True or false: a homework photo scanner needs your location. (a) True (b) False
- 30.👥 A clinic app has 270 patients, 245 doctors and 50 nurses as users. How many users does it have in all?
- 31.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
-
32.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(37)); -
33.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 50
Test 2: price(14) → expected 100
Test 3: price(17) → expected 100 -
34.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(1)); - 35.🧰 How do you run (call) a function called greet? (a) greet[] (b) #greet (c) run greet (d) greet()
- 36.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 37.🚀 Which version is newer: 2.5.3 or 2.11.1? (a) 2.5.3 (b) 2.11.1
-
38.🔀 Which badge does this quiz app show?
let marks = 62;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold - 39.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a medicine reminder (b) a bill splitter (c) a study-room finder (d) a lost-and-found board
-
40.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Address → Pay → Menu → Pens → Offers
Design B: Home → Cart → Offers → Pens → Menu (a) Design B (b) Design A
Answer key
- 40
- show arrival time
- 1
- easy to read
- 5
- updates from the store
- 2
- input
- Yes
- Welcome!
- see if it is right
- missing a must-have
- read a question
- False
- after the must-haves
- 0
- output
- application
- 3
- line 4
- “What should I cook?”
- plan the screens
- opens in a web browser
- a website
- 110
- sends back a value
- so each step is clear
- Riya
- False
- 565
- a tab bar
- 111
- 50
- 50
- greet()
- on the phone
- 2.11.1
- Silver
- a study-room finder
- Design B
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students