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.🔀 What number does this shop app show?
let total = 280;
if (total > 500) {
total = total - 50;
}
show(total); - 2.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
3.🔁 What number does this code show?
let scores = [28, 44, 56, 78, 33];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); -
4.🔀 Which badge does this quiz app show?
let marks = 76;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 5.Which of these is true of a final design? (a) uses plain grey boxes (b) has no real colours (c) has the real colours (d) is a quick sketch
- 6.Which of these is true of a tab bar? (a) hides extra links (b) shows 3 to 5 icons (c) opens a list of pages (d) undoes one move
- 7.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) water animations (c) see today’s total (d) custom alert sounds
- 8.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
- 9.Which of these is true of a website? (a) comes from an app store (b) has a home-screen icon (c) opens from a link (d) updates from the store
-
10.⚙️ What number does this app show?
let price = 600; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); -
11.👆 The user taps the button 1 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 - 12.🔢 When you make an app, which comes first: “release it” or “plan the screens”? (a) plan the screens (b) release it
-
13.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Zoya (b) Hi! (c) Hi, nameBox.text! (d) Hi, Zoya! - 14.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 15.True or false: you sketch the screens at the idea stage. (a) False (b) True
- 16.True or false: the screen first opens is a load event. (a) True (b) False
- 17.🧩 In an app, what is tap to Send? (a) an input (b) a screen (c) data (d) a button
- 18.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
- 19.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a blank grey screen (c) a page of random dots (d) a library due-date alert
-
20.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Arjun", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Aman (c) Hi, Arjun -
21.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(5)); -
22.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(100, 6)); - 23.Which of these happens at the idea stage? (a) draw the user flow (b) list what users need (c) write down the bugs (d) let friends try it
-
24.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pay → Confirm → Item → Size → Shop
Design B: Home → Address → Confirm → Item → Pens (a) Design A (b) Design B - 25.Which of these is a feature? (a) “I keep missing the bus” (b) “Small text is hard” (c) “I forget my homework” (d) a dark mode switch
-
26.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(10) + fee(6)); - 27.🔍 Which is the odd one out? (a) a pop-up message (b) a result on screen (c) taking a photo (d) a buzz (vibration)
-
28.🗒️ Version 1 of a homework planner must be ready in 13 days. How many days are left for extras after the must-haves?
add a homework task: 2 days
set a due date: 1 days
see tasks by day: 5 days -
29.🗒️ Version 1 of a quiz app must be ready in 10 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 4 days
show the score: 5 days -
30.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Done button: 56 px tall
Next button: 60 px tall
Save button: 24 px tall (a) Save (b) Done (c) Next - 31.🔍 Which is the odd one out? (a) a times-table quiz (b) a torch (c) a flashcard trainer (d) a spelling coach
- 32.🔍 Which is the odd one out? (a) list what users need (b) talk to possible users (c) draw the user flow (d) spot a problem to solve
- 33.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) tap “Sign up” (c) open the app (d) enter the code sent
- 34.👥 A library app has 140 readers, 230 librarians and 280 volunteers as users. How many users does it have in all?
-
35.🔀 What does this battery rule show?
let battery = 60;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 36.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) earn stickers (c) pick a theme colour (d) set a due date
- 37.🧭 Why should every screen show where you are? (a) to hide the menu (b) to look busy (c) to use more battery (d) so users do not get lost
- 38.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a pocket-money tracker (b) a recipe finder (c) a big-text reader (d) a water reminder
-
39.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 0
Test 2: delivery(750) → expected 0
Test 3: delivery(450) → expected 40 -
40.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(0));
Answer key
- 280
- on the phone
- 1
- Silver
- has the real colours
- shows 3 to 5 icons
- see today’s total
- a user need
- opens from a link
- 580
- ON
- plan the screens
- Hi, Zoya!
- in the cloud
- False
- True
- a button
- UI
- a library due-date alert
- Hi, Aman
- 80
- 600
- list what users need
- Design B
- a dark mode switch
- 100
- taking a photo
- 5
- 0
- Save
- a torch
- draw the user flow
- see the home screen
- 650
- Battery OK
- set a due date
- so users do not get lost
- a recipe finder
- 40
- 30
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students