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 code show?
let friends = ["Meera", "Aman", "Riya", "Kabir"];
friends.push("Arjun");
friends.push("Zoya");
show(friends.length); - 2.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
- 3.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) show arrival time (c) change the bus icon (d) see where the bus is
-
4.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Done button: 64 px tall
Save button: 56 px tall
Cancel button: 32 px tall
Start button: 60 px tall (a) Save (b) Start (c) Cancel (d) Done - 5.🔐 Which permission does a barcode scanner really need? (a) contacts (b) the microphone (c) location (d) the camera
-
6.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[text box] Age
[button] Next -
7.🖼️ In this wireframe (top to bottom), what is right below the list of items?
[ big picture ]
[ tab bar ]
[ list of items ]
[ filter buttons ]
[ menu icon ]
[ Save button ] (a) menu icon (b) filter buttons (c) big picture (d) tab bar - 8.True or false: a buzz (vibration) is an input. (a) False (b) True
- 9.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
- 10.🧑 Who is an app really made for? (a) its icon (b) its users (c) its charger (d) its coder only
-
11.👆 The user taps the button 6 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 -
12.⚙️ What number does this app show?
let price = 90; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total); - 13.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
- 14.📅 An app team plans for 3 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
- 15.True or false: a date picker is an input. (a) True (b) False
-
16.🗒️ Version 1 of a homework planner must be ready in 9 days. How many days are left for extras after the must-haves?
add a homework task: 2 days
set a due date: 3 days
see tasks by day: 3 days -
17.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(10) → expected 100
Test 3: price(6) → expected 50 - 18.Which of these is true of an app? (a) needs no installing (b) comes from an app store (c) has a web address (d) opens in a web browser
- 19.True or false: a free study-room finder solves no real problem. (a) False (b) True
-
20.🔁 What number does this code show?
let steps = [20, 88, 15, 21, 65];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); -
21.🔁 What number does this code show?
let scores = [8, 9, 9, 4];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 22.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) a charger (d) an action
- 23.🧪 Who else should try an app before release? (a) nobody (b) the app icon (c) real users (d) only the coder
- 24.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a free study-room finder (c) a bill splitter (d) a page of random dots
-
25.👆 The user taps the button 5 times. What number does the label show now?
let points = 1;
button.onTap = function () {
points = points + 4;
label.text = points;
}; -
26.🚀 Which of these versions is the OLDEST?
3.23.3, 4.9.6, 4.19.7, 4.3.4 (a) 4.3.4 (b) 4.19.7 (c) 3.23.3 (d) 4.9.6 -
27.🔁 What number does this code show?
let runs = [24, 26, 40, 13, 43];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); -
28.🔀 What does this PIN rule show?
let pin = "96156";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 29.👥 A clinic app has 95 patients, 245 doctors and 220 nurses as users. How many users does it have in all?
-
30.🔁 What number does this code show?
let steps = [13, 5, 1, 15, 14];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); -
31.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
set a reminder time: 4 days
log a glass of water: 1 days
see today’s total: 4 days - 32.🛠️ At which stage do you put it on an app store? (a) the plan stage (b) the test stage (c) the release stage (d) the build stage
- 33.True or false: an app needs no installing. (a) True (b) False
- 34.🧰 What is a function? (a) a named block of code (b) a screen size (c) a type of phone (d) a list of colours
- 35.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
-
36.🔀 What does this PIN rule show?
let pin = "8187";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
37.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 38.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) home screen (c) shortcut (d) dead end
-
39.🧩 How many buttons does this app screen have?
[title] Settings
[button] Help
[text box] City
[button] Next
[text box] Age
[button] Cancel
[text box] Due date
[switch] Sound - 40.🔍 Which is the odd one out? (a) the theme colours (b) the font size (c) how many taps it takes (d) the icon shapes
Answer key
- 6
- a wireframe
- change the bus icon
- Cancel
- the camera
- 1
- filter buttons
- False
- too much
- its users
- OFF
- 360
- No
- 5
- True
- 1
- 100
- comes from an app store
- False
- 1
- 30
- an action
- real users
- a page of random dots
- 21
- 3.23.3
- 2
- Use 4 digits
- 560
- 15
- 4
- the release stage
- False
- a named block of code
- UX
- PIN saved
- 1
- dead end
- 3
- how many taps it takes
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students