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 score = 8;
button.onTap = function () {
score = score + 1;
label.text = score;
}; -
2.🧪 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(6) → expected Pass
Test 2: result(3) → expected Try again
Test 3: result(5) → expected Pass - 3.🔢 In a sign-up flow, which comes first: “open the app” or “enter the code sent”? (a) open the app (b) enter the code sent
-
4.🗒️ Version 1 of a bus tracker must be ready in 11 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 3 days
pick your bus stop: 3 days -
5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Video”
2. tap Back
3. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? -
6.🧩 How many buttons does this app screen have?
[title] Edit Profile
[button] Start
[text box] City
[slider] Volume
[text box] Phone
[button] Send
[button] Cancel - 7.🎯 Which app would help this user most: a pupil juggling five projects? (a) a water reminder (b) a bus tracker (c) a recipe finder (d) a homework planner
- 8.🔢 In a photo-post flow, which comes FIRST? (a) open the camera screen (b) take the photo (c) post the photo (d) add a filter
- 9.💡 How can you check that people really have the problem? (a) copy another app (b) just guess (c) pick a colour (d) ask possible users
- 10.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) show the score (b) background music (c) an avatar shop (d) confetti effects
-
11.⚙️ What number does this app show?
let bill = 45; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); -
12.🔁 What number does this code show?
let scores = [45, 13, 73];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); -
13.🚀 Which of these versions is the OLDEST?
2.28.4, 3.19.8, 3.7.0, 3.10.2 (a) 2.28.4 (b) 3.7.0 (c) 3.19.8 (d) 3.10.2 -
14.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 5)); -
15.🧩 Which of these is a button on this screen?
[title] Edit Profile
[text box] Email
[button] Save
[slider] Text size
[button] Done
[button] Cancel
[text box] Phone
[text box] Due date (a) Phone (b) Email (c) Due date (d) Cancel -
16.⚙️ What number does this app show?
let price = 250; // typed by the user
let off = 50; // typed by the user
let pay = price - off;
show(pay); - 17.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) open the camera screen (b) post the photo
-
18.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 6)); -
19.🔀 What does this battery rule show?
let battery = 23;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
20.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Confirm → Address → Offers
Design B: Home → Results → Confirm (a) Design B (b) Design A - 21.True or false: a clear word like Save is good button design. (a) False (b) True
-
22.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 7 votes
missing the bus: 5 votes
no quiet study place: 8 votes - 23.🔢 After an app is released, which comes first: “read user reviews” or “fix and improve”? (a) fix and improve (b) read user reviews
- 24.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) see today’s total (b) water animations (c) set a reminder time (d) log a glass of water
-
25.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ menu icon ]
[ Add button ]
[ title text ]
[ top bar ]
[ filter buttons ]
[ search box ] (a) search box (b) Add button (c) top bar (d) title text -
26.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 7 votes
forgetting birthdays: 11 votes
losing water bottles: 25 votes - 27.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a pocket-money tracker (b) a big-text reader (c) a water reminder (d) a homework planner
- 28.🔘 Our rule: buttons are at least 48 px tall. The Done button is 20 px tall. How many px taller must it be?
-
29.👆 The user taps the button 4 times. What number does the label show now?
let points = 1;
button.onTap = function () {
points = points + 4;
label.text = points;
}; - 30.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
- 31.🧩 In an app, what is a date picker? (a) a screen (b) data (c) an input (d) a button
-
32.🗒️ Version 1 of a quiz app must be ready in 16 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 4 days
show the score: 4 days - 33.📲 What happens when you tap an app’s icon? (a) the app is deleted (b) the phone charges (c) the app opens (d) the sound turns off
-
34.👆 The user taps the button 3 times. What number does the label show now?
let score = 7;
button.onTap = function () {
score = score + 4;
label.text = score;
}; - 35.👆 What kind of event is this: the search box changes? (a) a tap event (b) a timer event (c) a load event (d) a text event
- 36.True or false: a 5-minute alarm ends is a timer event. (a) False (b) True
- 37.Which of these is true of a final design? (a) has no real colours (b) is a quick sketch (c) shows where things go (d) looks like the real app
-
38.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. tap Back
3. open “Map”
4. tap the Feed tab
5. tap the Settings tab
How many times must you tap Back to reach the main screen of this tab? - 39.🔢 In a food-order flow, what comes right after “pick a dish”? (a) open the menu (b) add it to the cart (c) track the order (d) pay for the order
-
40.👆 The user taps the button 2 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
- 12
- 3
- open the app
- 2
- 0
- 3
- a homework planner
- open the camera screen
- ask possible users
- show the score
- 15
- 2
- 2.28.4
- 425
- Cancel
- 200
- open the camera screen
- 300
- Battery OK
- Design B
- True
- 20
- read user reviews
- water animations
- search box
- 43
- a water reminder
- 28
- 17
- a user need
- an input
- 5
- the app opens
- 19
- a text event
- True
- looks like the real app
- 0
- add it to the cart
- OFF
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students