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.👆 The user taps the button 4 times. What number does the label show now?
let lives = 4;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; - 2.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) URL (c) MVP (d) FAQ
- 3.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
-
4.🧪 One test case fails. Which one?
🚚 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(350) → expected 40
Test 2: delivery(400) → expected 0
Test 3: delivery(500) → expected 0 (a) Test 1 (b) Test 3 (c) Test 2 -
5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. tap Back
3. tap the Home tab
4. tap the Home tab
5. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 6.True or false: the search box changes is a load event. (a) False (b) True
- 7.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) fast-flashing lights (d) strong colour contrast
- 8.Which of these is a user need? (a) a share button (b) a search bar (c) “What should I cook?” (d) a dark mode switch
- 9.Which of these is a screen? (a) the home page of an app (b) a slider for volume (c) tap to go Next (d) a date picker
- 10.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
-
11.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(8)); - 12.🔔 What is a message an app shows on your lock screen called? (a) a notification (b) a variable (c) a wireframe (d) a web address
- 13.Which of these is a user need? (a) a search bar (b) a dark mode switch (c) “I keep missing the bus” (d) a reminder alarm
- 14.🛠️ At which stage do you draw the user flow? (a) the plan stage (b) the idea stage (c) the release stage (d) the build stage
- 15.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) output (c) input
- 16.👥 A school app has 135 students, 30 teachers and 120 parents as users. How many users does it have in all?
- 17.True or false: a class leaderboard fits saving on the phone. (a) True (b) False
-
18.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(17) → expected 100
Test 3: price(11) → expected 50 -
19.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 1 days
show the score: 3 days - 20.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
-
21.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 22.True or false: buttons almost touching is poor button design. (a) True (b) False
- 23.🧭 Which part of navigation shows 3 to 5 icons? (a) the back button (b) a tab bar (c) a menu button
- 24.🔍 Which is the odd one out? (a) the icon shapes (b) the theme colours (c) whether users get lost (d) the font size
-
25.🔀 What does this PIN rule show?
let pin = "203";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
26.🔀 What number does this shop app show?
let total = 670;
if (total > 500) {
total = total - 50;
}
show(total); - 27.True or false: a website is installed on a phone. (a) False (b) True
-
28.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ Save button ]
[ big picture ]
[ title text ]
[ tab bar ]
[ Add button ] (a) Save button (b) title text (c) tab bar (d) big picture - 29.True or false: working out a tip is processing. (a) False (b) True
- 30.🔁 What does a loop do? (a) deletes code (b) draws icons (c) saves photos (d) repeats code
- 31.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) data (c) tabs (d) buttons
-
32.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Item → Confirm → Pay
Design B: Home → Shop → Pens → Search → Address → Cart -
33.👆 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) ON (b) OFF -
34.🔀 What does this sign-up rule show?
let age = 13;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 35.💡 An app that tries to do everything at once is usually ___. (a) very small (b) hard to use (c) finished fast (d) easy to build
-
36.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. open “Match report”
3. tap the Profile tab
Which screen are you on now? (a) Profile (b) Match report (c) Friend list (d) Home - 37.👥 A school app has 70 students, 55 teachers and 90 parents as users. How many more parents than students are there?
- 38.True or false: the home page of an app is a screen. (a) True (b) False
- 39.🔢 In a food-order flow, which comes LAST? (a) pay for the order (b) pick a dish (c) track the order (d) open the menu
-
40.🧩 How many buttons does this app screen have?
[title] New Note
[text box] Email
[button] Start
[slider] Brightness
[text box] Due date
Answer key
- 16
- MVP
- find where it goes wrong
- Test 2
- 1
- False
- fast-flashing lights
- “What should I cook?”
- the home page of an app
- UX
- 24
- a notification
- “I keep missing the bus”
- the plan stage
- output
- 285
- False
- 3
- 6
- to reuse code
- Welcome!
- True
- a tab bar
- whether users get lost
- Use 4 digits
- 620
- False
- tab bar
- True
- repeats code
- data
- 3
- ON
- Welcome!
- hard to use
- Profile
- 20
- True
- track the order
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students