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 of these can often still work with no internet? (a) a new website (b) an installed app (c) a video call (d) an online search
- 2.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) makes it harder (b) helps everyone
-
3.🧪 How many of these test cases pass?
📝 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(9) → expected Pass
Test 2: result(3) → expected Try again
Test 3: result(7) → expected Pass -
4.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; -
5.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. open “Score card”
3. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 6.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False
- 7.True or false: the user taps Play is a text event. (a) True (b) False
- 8.👥 A clinic app has 290 patients, 40 doctors and 105 nurses as users. Which user group is the biggest? (a) doctors (b) nurses (c) patients
- 9.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a big-text reader (b) a bus tracker (c) a pocket-money tracker (d) a recipe finder
-
10.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(4) → expected 50
Test 3: price(14) → expected 100 - 11.True or false: notes to read offline fits saving in the cloud. (a) True (b) False
- 12.True or false: a draft you are typing fits saving on the phone. (a) True (b) False
- 13.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) savings stickers (d) add money spent
-
14.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Address → Search → Pens → Menu
Design B: Home → Shop → Results → Menu → Address → Item → Size (a) Design B (b) Design A -
15.👆 The user taps the button 3 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) ON (b) OFF - 16.🎨 Who should you test the UX with? (a) only yourself (b) nobody (c) the app icon (d) real users
- 17.Which colour pair is easy to read? (a) yellow on white (b) dark blue on black (c) white on black (d) pale pink on white
-
18.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 310; // typed by the user
line 2: let off = 50; // 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 - 19.💾 Which can hold many values in order? (a) a switch (b) a single number (c) a list (d) a button
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 330; // typed by the user
line 2: let off = 10; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 4 (c) line 2 (d) line 1 -
21.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(2)); - 22.Which of these is a screen? (a) tap to Save (b) the log-in page (c) your high score (d) your saved notes
- 23.🔢 In a photo-post flow, which comes LAST? (a) take the photo (b) post the photo (c) add a filter (d) open the camera screen
- 24.🔍 Which is the odd one out? (a) adding up a bill (b) checking a password (c) sorting the scores (d) taking a photo
- 25.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) less code to write (c) it is slower (d) it hides them
- 26.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) show the balance (d) export to a file
- 27.🎨 A beautiful app that confuses everyone has ___. (a) good UX but poor UI (b) good UI but poor UX (c) perfect UX (d) no UI at all
-
28.🔀 What number does this shop app show?
let total = 820;
if (total > 500) {
total = total - 50;
}
show(total); -
29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 50; // start at 50
line 2: lives = lives + 2; // add 2
line 3: lives = lives - 6; // add 6
line 4: show(lives); // show it - 30.Which of these happens at the idea stage? (a) sketch the screens (b) try every button (c) list what users need (d) share the download link
- 31.True or false: a result on screen is an input. (a) True (b) False
- 32.🚀 Your app is at version 2.3.5. The next release adds a new feature. What is its version number? (a) 2.4.0 (b) 2.3.6 (c) 2.4.5 (d) 3.0.0
-
33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Back
[text box] Subject
[text box] Age
[button] Next - 34.🔢 In a food-order flow, which comes first: “check the cart” or “open the menu”? (a) open the menu (b) check the cart
- 35.👥 A library app has 300 readers, 95 librarians and 75 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
- 36.🎯 Is this a user need or a feature: a share button? (a) a feature (b) a user need
- 37.Which of these is true of a wireframe? (a) shows the real fonts (b) uses the final pictures (c) is a quick sketch (d) has the real colours
- 38.True or false: strong colour contrast is good button design. (a) False (b) True
- 39.True or false: a party-invite app for friends needs the camera. (a) True (b) False
- 40.🎨 UX stands for user ___. (a) express (b) extra (c) experience (d) example
Answer key
- an installed app
- makes it harder
- 3
- 2
- 2
- False
- False
- patients
- a big-text reader
- 2
- False
- True
- savings stickers
- Design A
- ON
- real users
- white on black
- line 3
- a list
- line 3
- 60
- the log-in page
- post the photo
- taking a photo
- less code to write
- show the balance
- good UI but poor UX
- 770
- 58
- list what users need
- False
- 2.4.0
- 2
- open the menu
- readers
- a feature
- is a quick sketch
- True
- False
- experience
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students