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.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 56 px tall
Start button: 64 px tall
Help button: 44 px tall (a) Start (b) Help (c) Cancel - 2.🧩 Which input is best for choosing a volume level? (a) a text box (b) a title (c) a switch (d) a slider
-
3.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] City
[button] Next
[button] Save
[text box] Email
[text box] Subject - 4.True or false: you write the store text at the release stage. (a) True (b) False
- 5.Which of these requests asks for too much? (a) calling app → contacts (b) voice notes → microphone (c) timer → your photos (d) camera app → camera
- 6.Which of these is about UX (the experience)? (a) the theme colours (b) the font size (c) the screen layout (d) how users feel after
-
7.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 290; // typed by the user
line 2: let off = 20; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 2 (c) line 4 (d) line 1 -
8.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 34; // start at 34
line 2: coins = coins - 3; // add 3
line 3: coins = coins + 6; // add 6
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 9.Which of these fits saving on the phone? (a) your last game level (b) a class leaderboard (c) a shared to-do list (d) chat messages to friends
- 10.Which of these is a user need? (a) a search bar (b) “What should I cook?” (c) a reminder alarm (d) a share button
- 11.🌐 Which program do you need to open a website? (a) a web browser (b) an app store (c) a camera app (d) a calculator
-
12.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(15, 5)); -
13.🖼️ In this wireframe (top to bottom), what is right above the list of items?
[ menu icon ]
[ list of items ]
[ Save button ]
[ filter buttons ]
[ top bar ] (a) filter buttons (b) Save button (c) menu icon (d) top bar - 14.True or false: a website updates from the store. (a) True (b) False
-
15.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Offers → Address → Shop → Results
Design B: Home → Search → Pens → Item → Size (a) Design B (b) Design A -
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 37; // start at 37
line 2: stars = stars * 2; // double it
line 3: stars = stars - 2; // take away 2
line 4: stars = stars * 3; // double it
line 5: show(stars); // show it - 17.📅 An app team plans for 3 days, builds for 10 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
18.🔀 What does this PIN rule show?
let pin = "732";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 19.🔍 Which is the odd one out? (a) write the store text (b) share the download link (c) try every button (d) put it on an app store
-
20.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
forgetting birthdays: 17 votes
missing the bus: 10 votes
losing water bottles: 3 votes - 21.📱 The word “app” is short for ___. (a) appointment (b) application (c) appetite (d) apparatus
- 22.🧪 A test fails when ___. (a) actual is not expected (b) both are the same (c) the app is new (d) the font is big
-
23.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 40 px tall
Cancel button: 32 px tall
Next button: 56 px tall
Save button: 44 px tall -
24.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 84; // typed by the user
line 2: let friends = 4; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 25.🔍 Which is the odd one out? (a) a calculator (b) a times-table quiz (c) a flashcard trainer (d) a spelling coach
-
26.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Kabir", "Zoya", "Riya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Arjun (c) Hi, Zoya (d) Hi, Aman -
27.🔀 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 -
28.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(4)); - 29.🚀 Which version is newer: 1.3.6 or 1.3.15? (a) 1.3.6 (b) 1.3.15
- 30.👥 A school app has 250 students, 70 teachers and 260 parents as users. How many more parents than teachers are there?
- 31.👥 A school app has 185 students, 70 teachers and 235 parents as users. How many users does it have in all?
-
32.🖼️ How many parts (boxes) does this wireframe have?
[ Save button ]
[ big picture ]
[ list of items ]
[ top bar ]
[ menu icon ] - 33.🧩 In an app, what is today’s step count? (a) a button (b) data (c) an input (d) a screen
- 34.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) an app that just says hi (d) a free study-room finder
- 35.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 0 (c) 2 (d) 1
-
36.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 37.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) buy a new phone (d) find where it goes wrong
-
38.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 40 px tall
Cancel button: 44 px tall
Help button: 60 px tall -
39.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(200) → expected 40
Test 2: delivery(550) → expected 0
Test 3: delivery(400) → expected 0 - 40.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False
Answer key
- Help
- a slider
- 2
- True
- timer → your photos
- how users feel after
- line 3
- 74
- your last game level
- “What should I cook?”
- a web browser
- 75
- menu icon
- False
- Design B
- 216
- 13
- Use 4 digits
- try every button
- 7
- application
- actual is not expected
- 1
- line 3
- a calculator
- Hi, Aman
- Ask a parent
- 70
- 1.3.15
- 190
- 490
- 5
- data
- a free study-room finder
- 0
- Ask a parent
- find where it goes wrong
- 1
- 3
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students