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.🔢 In a photo-post flow, which comes first: “open the camera screen” or “post the photo”? (a) post the photo (b) open the camera screen
- 2.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 5 (c) 6 (d) 4
-
3.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Start button: 24 px tall
Save button: 64 px tall
Back button: 48 px tall (a) Back (b) Start (c) Save - 4.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
-
5.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 33; // start at 31
line 2: stars = stars * 2; // double it
line 3: stars = stars + 3; // add 3
line 4: stars = stars + 5; // add 5
line 5: show(stars); // show it -
6.⚙️ What number does this app show?
let bill = 237; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); -
7.⚙️ What number does this app show?
let price = 120; // typed by the user
let off = 50; // typed by the user
let pay = price - off;
show(pay); - 8.True or false: a racing challenge is a game. (a) True (b) False
- 9.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a variable (c) a notification (d) a wireframe
- 10.💾 Data saved only on the phone is lost when ___. (a) the phone is lost (b) the screen turns off (c) the app is closed (d) you send a message
-
11.🔁 What number does this code show?
let runs = [18, 12, 12, 10, 1];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
12.🧩 Which of these is a button on this screen?
[title] Order Snacks
[text box] Due date
[button] Save
[button] Cancel
[switch] Sound
[button] Done (a) Cancel (b) Due date (c) Sound -
13.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(2) → expected Try again (a) Test 2 (b) Test 1 (c) Test 3 - 14.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) log a glass of water (c) see today’s total (d) custom alert sounds
- 15.⚙️ In an app, is checking a password an input, processing or an output? (a) input (b) output (c) processing
-
16.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “no quiet study place”?
no quiet study place: 9 votes
forgetting birthdays: 12 votes
losing water bottles: 7 votes - 17.🧪 Who else should try an app before release? (a) real users (b) only the coder (c) nobody (d) the app icon
- 18.True or false: an app needs no installing. (a) False (b) True
- 19.💾 Which can hold many values in order? (a) a button (b) a single number (c) a switch (d) a list
-
20.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 13 px
Body text: 13 px
Hint: 10 px
Menu: 24 px - 21.👥 A cricket club app has 130 players, 240 coaches and 225 fans as users. Which user group is the biggest? (a) coaches (b) fans (c) players
- 22.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
- 23.🗒️ When should nice-to-have features be built? (a) before anything (b) never (c) after the must-haves (d) on day one
- 24.🎨 Who should you test the UX with? (a) the app icon (b) real users (c) nobody (d) only yourself
- 25.🌐 Which program do you need to open a website? (a) a web browser (b) a camera app (c) an app store (d) a calculator
- 26.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 2 (c) 0 (d) 1
- 27.🧩 In an app, what is tap to go Next? (a) an input (b) data (c) a button (d) a screen
- 28.📅 An app team plans for 5 days, builds for 4 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
- 29.Which of these happens at the build stage? (a) talk to possible users (b) write the code (c) sketch the screens (d) let friends try it
- 30.True or false: grey text on grey is good button design. (a) False (b) True
- 31.True or false: a box to type a name is a button. (a) True (b) False
- 32.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
-
33.💾 What number does this code show?
let score = 8;
score = score - 4;
score = score + 3;
show(score); - 34.🔍 Which is the odd one out? (a) text that can grow (b) labels on every icon (c) tiny tap areas (d) strong colour contrast
-
35.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(0)); - 36.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a big-text reader (b) a homework planner (c) a recipe finder (d) a water reminder
- 37.🧭 Why should every screen show where you are? (a) to hide the menu (b) so users do not get lost (c) to look busy (d) to use more battery
-
38.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(600) → expected 0
Test 3: delivery(350) → expected 40 - 39.Which of these happens at the test stage? (a) draw the user flow (b) spot a problem to solve (c) try every button (d) pick the features
-
40.👆 The user taps the button 7 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON
Answer key
- open the camera screen
- 5
- Start
- No
- 74
- 79
- 70
- True
- a notification
- the phone is lost
- 53
- Cancel
- Test 1
- custom alert sounds
- processing
- 3
- real users
- False
- a list
- 3
- coaches
- a final design
- after the must-haves
- real users
- a web browser
- 0
- a button
- 13
- write the code
- False
- False
- debugging
- 7
- tiny tap areas
- 20
- a recipe finder
- so users do not get lost
- 0
- try every button
- ON
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students