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.🗂️ What kind of app is a cricket run chase? (a) a learning app (b) a tool app (c) a health app (d) a game
- 2.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) try every button (d) list what users need
-
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 46; // start at 46
line 2: coins = coins - 2; // add 2
line 3: coins = coins - 1; // take away 1
line 4: show(coins); // show it (a) line 1 (b) line 3 (c) line 2 -
4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. open “Friend list”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? -
5.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Label: 27 px
Body text: 9 px
Hint: 28 px (a) Body text (b) Label (c) Hint - 6.👥 A library app has 65 readers, 90 librarians and 75 volunteers as users. How many more volunteers than readers are there?
- 7.📅 An app team plans for 4 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
-
8.🔀 What does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 9.👥 A school app has 270 students, 115 teachers and 175 parents as users. How many users does it have in all?
-
10.🔁 What is the LAST line this code shows?
let names = ["Riya", "Kabir", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Riya (c) Hi, Meera - 11.🔍 Which is the odd one out? (a) a step counter (b) a sleep tracker (c) a flashcard trainer (d) a water reminder
-
12.🧪 What is the ACTUAL result of Test 1?
🚚 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(600) → expected 0
Test 2: delivery(300) → expected 40
Test 3: delivery(500) → expected 0 - 13.🧩 In an app, what is your saved notes? (a) an input (b) a button (c) a screen (d) data
-
14.👆 The user taps the button 6 times. What number does the label show now?
let score = 7;
button.onTap = function () {
score = score + 1;
label.text = score;
}; -
15.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 4; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 1 (c) line 3 - 16.👆 An event in an app is ___. (a) an app store (b) a colour theme (c) a kind of list (d) something that happens
- 17.📅 An app team plans for 3 days, builds for 10 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 18.🔀 What does if / else let an app do? (a) pick one of two actions (b) save a photo (c) repeat forever (d) draw a screen
-
19.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(24)); -
20.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 32 px tall
Send button: 48 px tall
Next button: 48 px tall - 21.Which of these is true of a website? (a) opens in a web browser (b) updates from the store (c) has a home-screen icon (d) comes from an app store
-
22.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(1) + fee(6)); - 23.🔀 What does >= mean? (a) less than (b) not equal (c) greater than or equal (d) smaller or equal
-
24.🧪 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(11) → expected 100
Test 2: price(8) → expected 50
Test 3: price(9) → expected 100 -
25.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Address → Item → Pens → Search
Design B: Home → Address → Menu → Shop → Size → Cart (a) Design B (b) Design A - 26.📱 Where do people usually download phone apps from? (a) a printer (b) a web server (c) an app store (d) a charger
-
27.🔁 What number does this code show?
let steps = [8, 14, 6];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 28.🧭 Tapping a tab usually takes you to ___. (a) a random page (b) the last app used (c) the phone settings (d) that tab’s main screen
- 29.🧭 What does the back button usually do? (a) opens settings (b) deletes the page (c) goes to the last screen (d) closes all apps
-
30.🔁 What is the LAST line this code shows?
let names = ["Aman", "Meera", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Aman -
31.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(20, 6)); -
32.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(8)); -
33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Email
[text box] Name
[button] Done
[slider] Text size
[text box] Phone - 34.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a button with no action (c) a lost-and-found board (d) a free study-room finder
-
35.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
forgetting homework: 22 votes
missing the bus: 8 votes
losing water bottles: 10 votes - 36.True or false: a calculator is a tool app. (a) False (b) True
- 37.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) set a due date (c) see tasks by day (d) add a homework task
- 38.🧩 In an app, what is a box to type a name? (a) a button (b) an input (c) a screen (d) data
- 39.🚀 A privacy policy tells users ___. (a) what data is collected (b) the app’s price (c) the app’s colours (d) the screen size
- 40.🧪 A test fails when ___. (a) both are the same (b) actual is not expected (c) the app is new (d) the font is big
Answer key
- a game
- try every button
- line 2
- 1
- Body text
- 10
- 14
- Welcome!
- 560
- Hi, Meera
- a flashcard trainer
- 0
- data
- 13
- line 2
- something that happens
- 13
- pick one of two actions
- 72
- 2
- opens in a web browser
- 50
- greater than or equal
- 3
- Design A
- an app store
- 28
- that tab’s main screen
- goes to the last screen
- Hi, Zoya
- 120
- 24
- 4
- a button with no action
- 2
- True
- pick a theme colour
- an input
- what data is collected
- actual is not expected
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students