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.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) add a homework task (b) share tasks to friends (c) pick a theme colour (d) earn stickers
- 2.Which colour pair is easy to read? (a) dark blue on black (b) yellow on white (c) pale pink on white (d) black on pale grey
-
3.🔁 What number does this code show?
let steps = [2, 20, 5];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 4.🌐 Which program do you need to open a website? (a) a calculator (b) a web browser (c) an app store (d) a camera app
-
5.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Start
[text box] Notes
[text box] Name
[switch] Sound -
6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Home tab
3. open “Badges”
4. tap Back
Which screen are you on now? (a) Home (b) Friend list (c) Badges (d) Search - 7.👆 What kind of event is this: the app starts up? (a) a text event (b) a tap event (c) a load event (d) a timer event
- 8.🎨 UI stands for user ___. (a) input (b) internet (c) idea (d) interface
- 9.✏️ What is a wireframe? (a) a type of password (b) the finished app (c) a charging cable (d) a simple screen sketch
- 10.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a pocket-money tracker (c) a recipe finder (d) a homework planner
-
11.🧪 What is the ACTUAL result of Test 2?
🚚 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(500) → expected 40
Test 2: delivery(850) → expected 0
Test 3: delivery(950) → expected 0 - 12.📅 An app team plans for 2 days, builds for 11 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 13.🗒️ In MVP, the M stands for ___. (a) maximum (b) mobile (c) music (d) minimum
-
14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 44 px tall
Save button: 60 px tall
Done button: 52 px tall - 15.🗂️ What kind of app is a times-table quiz? (a) a tool app (b) a game (c) a health app (d) a learning app
- 16.👥 A cricket club app has 185 players, 215 coaches and 30 fans as users. How many more coaches than players are there?
- 17.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
-
18.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(65, 3)); - 19.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
- 20.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
-
21.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right >= 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(10) → expected Pass
Test 2: result(13) → expected Pass
Test 3: result(5) → expected Try again - 22.🧩 In an app, what is the log-in page? (a) a button (b) data (c) a screen (d) an input
-
23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. tap Back
3. open “Help page”
Which screen are you on now? (a) Lessons (b) Score card (c) Quiz (d) Help page -
24.⚙️ What number does this app show?
let price = 50; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); - 25.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) see where the bus is (d) a dark mode
- 26.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a colour theme (d) a kind of list
- 27.👥 A cricket club app has 20 players, 180 coaches and 275 fans as users. How many users does it have in all?
- 28.Which of these is a button? (a) your high score (b) the home page of an app (c) tap to go Next (d) the log-in page
-
29.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Aman", "Riya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Zoya (c) Hi, Aman (d) Hi, Kabir -
30.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(13) → expected 100
Test 3: price(17) → expected 100 - 31.🚀 Which version is newer: 3.0.9 or 3.0.10? (a) 3.0.10 (b) 3.0.9
- 32.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
-
33.🔁 What number does this code show?
let runs = [13, 19, 19];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 34.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) set a due date (d) share tasks to friends
-
35.💾 What number does this code show?
let coins = 4;
coins = coins - 4;
coins = coins + 1;
show(coins); -
36.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 159; // typed by the user
line 2: let friends = 3; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 2 (c) line 4 (d) line 1 -
37.💾 pop() takes off the last item. What does this code show?
let notes = ["Art", "Hindi", "Maths", "Science", "Sports"];
notes.pop();
show(notes[notes.length - 1]); (a) Science (b) Art (c) Maths (d) Hindi - 38.🔍 Which is the odd one out? (a) text that can grow (b) strong colour contrast (c) tiny tap areas (d) big touch targets
- 39.🧩 What does a button do when you tap it? (a) changes the phone (b) saves the battery (c) starts an action (d) shows the time
- 40.🧭 Why should every screen show where you are? (a) to use more battery (b) to hide the menu (c) so users do not get lost (d) to look busy
Answer key
- add a homework task
- black on pale grey
- 20
- a web browser
- 1
- Home
- a load event
- interface
- a simple screen sketch
- a bus tracker
- 0
- 15
- minimum
- 2
- a learning app
- 30
- an app
- 195
- to reuse code
- a user need
- 3
- a screen
- Help page
- 100
- see where the bus is
- something that happens
- 475
- tap to go Next
- Hi, Kabir
- 100
- 3.0.10
- hard to read
- 19
- share tasks to friends
- 1
- line 3
- Science
- tiny tap areas
- starts an action
- so users do not get lost
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students