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 input is best for turning something ON or OFF? (a) a slider (b) a switch (c) a text box (d) a title
-
2.🧪 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(600) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(500) → expected 40 (a) Test 1 (b) Test 3 (c) Test 2 -
3.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Aman (c) Hi, Kabir - 4.🧪 A test fails when ___. (a) the app is new (b) actual is not expected (c) both are the same (d) the font is big
- 5.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) add money received (c) show the balance (d) export to a file
- 6.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
- 7.Which of these is a user need? (a) a share button (b) “I forget my homework” (c) a dark mode switch (d) a reminder alarm
-
8.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 49; // start at 49
line 2: points = points - 3; // take away 3
line 3: points = points - 2; // take away 2
line 4: points = points + 5; // take away 5
line 5: show(points); // show it - 10.🔍 Which is the odd one out? (a) a calculator (b) a racing challenge (c) a torch (d) an alarm clock
- 11.True or false: you sketch the screens at the plan stage. (a) False (b) True
- 12.Which of these is true of an app? (a) opens in a web browser (b) has a web address (c) opens from a link (d) is installed on a phone
-
13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Search → Confirm → Size
Design B: Home → Pens → Menu → Pay → Search -
14.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Score card”
2. tap the Feed tab
3. open “Map”
4. tap Back
5. open “Score card”
Which screen are you on now? (a) Chat (b) Score card (c) Map (d) Feed - 15.🔍 Which is the odd one out? (a) add the buttons (b) list what users need (c) spot a problem to solve (d) talk to possible users
- 16.🔐 Which permission does a walking map really need? (a) the microphone (b) contacts (c) the camera (d) location
-
17.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Arjun")); (a) Arjun (b) Well done, Arjun! (c) greet (d) Well done, name! - 18.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a lost-and-found board (b) a homework planner (c) a medicine reminder (d) a study-room finder
- 19.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
- 20.Which of these fits saving on the phone? (a) notes to read offline (b) chat messages to friends (c) a shared to-do list (d) a class leaderboard
- 21.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
-
22.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Footer: 10 px
Hint: 19 px
Body text: 18 px
Title: 17 px (a) Title (b) Hint (c) Footer (d) Body text -
23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 47; // start at 46
line 2: stars = stars - 2; // take away 2
line 3: stars = stars + 5; // add 5
line 4: show(stars); // show it (a) line 1 (b) line 3 (c) line 2 - 24.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
- 25.👥 A clinic app has 265 patients, 120 doctors and 75 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
- 26.🔍 Which is the odd one out? (a) the theme colours (b) the button colours (c) how easy sign-up is (d) the font size
-
27.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Next button: 48 px tall
Help button: 56 px tall
Cancel button: 56 px tall
Back button: 36 px tall - 28.💡 An app that tries to do everything at once is usually ___. (a) hard to use (b) very small (c) easy to build (d) finished fast
- 29.🎯 A short made-up profile of a typical user is called a ___. (a) persona (b) password (c) pixel (d) protocol
-
30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[button] Cancel
[button] Next
[button] Send
[text box] Subject
[switch] Show hints - 31.🛠️ At which stage do you add the buttons? (a) the plan stage (b) the test stage (c) the release stage (d) the build stage
- 32.True or false: a medicine reminder solves a real problem. (a) True (b) False
- 33.True or false: your high score is a button. (a) True (b) False
- 34.True or false: a final design is a quick sketch. (a) False (b) True
- 35.🔍 Which is the odd one out? (a) sudden loud sounds (b) big touch targets (c) labels on every icon (d) strong colour contrast
- 36.🔀 With if / else if / else, how many parts run? (a) only one (b) two (c) all of them (d) none
- 37.🎨 Fewer taps to finish a task usually means ___. (a) better UX (b) worse UX (c) a bigger app (d) more colours
-
38.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Done
[switch] Sound
[button] Cancel
[text box] Due date
[button] Back -
39.🔁 What number does this code show?
let marks = [2, 15, 5, 7];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 40.🔢 In a food-order flow, what comes right after “open the menu”? (a) add it to the cart (b) pick a dish (c) check the cart (d) track the order
Answer key
- a switch
- Test 1
- Hi, Kabir
- actual is not expected
- export to a file
- Yes
- “I forget my homework”
- Ask a parent
- 39
- a racing challenge
- True
- is installed on a phone
- 1
- Score card
- add the buttons
- location
- Well done, Arjun!
- a study-room finder
- fair
- notes to read offline
- processing
- Footer
- line 1
- a website
- patients
- how easy sign-up is
- 3
- hard to use
- persona
- 2
- the build stage
- True
- False
- False
- sudden loud sounds
- only one
- better UX
- 3
- 15
- pick a dish
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students