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 helps everyone use the app? (a) fast-flashing lights (b) tiny tap areas (c) labels on every icon (d) colour as the only clue
-
2.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Shop → Offers → Results
Design B: Home → Size → Results (a) Design A (b) Design B -
3.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 2 days
show the score: 5 days - 4.🧭 Which part of navigation shows 3 to 5 icons? (a) a tab bar (b) the back button (c) a menu button
- 5.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) share them all (c) deny it (d) allow it
- 6.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a wireframe (b) a final design
-
7.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(12) → expected 50
Test 3: price(16) → expected 100 - 8.True or false: an app that just says hi solves no real problem. (a) True (b) False
-
9.🔀 What does this PIN rule show?
let pin = "7415";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 10.🔢 In a sign-up flow, which comes first: “type name and email” or “enter the code sent”? (a) enter the code sent (b) type name and email
-
11.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(4)); -
12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 45; // start at 45
line 2: points = points - 4; // take away 1
line 3: points = points - 3; // take away 3
line 4: show(points); // show it (a) line 2 (b) line 3 (c) line 1 - 13.True or false: strong colour contrast is poor button design. (a) True (b) False
- 14.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) show a question (d) an avatar shop
-
15.🔀 What number does this shop app show?
let total = 310;
if (total > 500) {
total = total - 50;
}
show(total); -
16.🔁 What number does this code show?
let marks = [78, 77, 21, 85];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); - 17.Which of these is true of an app? (a) opens in a web browser (b) has a web address (c) has a home-screen icon (d) needs no installing
- 18.True or false: “labels on every icon” helps everyone use the app. (a) True (b) False
-
19.🔁 What number does this code show?
let scores = [3, 19, 11, 15, 17];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
20.🔁 What number does this code show?
let steps = [7, 4, 13];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 21.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) handler (d) headline
-
22.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(650) → expected 40
Test 3: delivery(750) → expected 0 (a) Test 2 (b) Test 1 (c) Test 3 - 23.Which of these requests asks for too much? (a) calculator → location (b) voice notes → microphone (c) calling app → contacts (d) camera app → camera
-
24.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 36 px tall
Save button: 56 px tall
Start button: 60 px tall - 25.🛠️ At which stage do you list what users need? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
- 26.True or false: a wireframe uses plain grey boxes. (a) False (b) True
- 27.📅 An app team plans for 4 days, builds for 5 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 28.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 4 (d) 5
-
29.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
30.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Settings
[button] Done
[button] Start
[text box] Phone
[text box] Name
[text box] Subject
[button] Cancel - 31.🔢 In a photo-post flow, what comes right after “take the photo”? (a) open the camera screen (b) post the photo (c) write a caption (d) add a filter
- 32.True or false: the theme colours is about UI (the look). (a) True (b) False
- 33.Which of these is about UI (the look)? (a) the theme colours (b) how users feel after (c) whether users get lost (d) how easy sign-up is
-
34.🔁 What number does this code show?
let steps = [61, 48, 50, 68];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 50) {
count = count + 1;
}
}
show(count); - 35.Which of these is an input? (a) today’s step count (b) the home page of an app (c) the settings page (d) a switch for dark mode
-
36.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(600) → expected 40
Test 3: delivery(700) → expected 0 -
37.🔁 What number does this code show?
let scores = [77, 40, 89, 12];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 38.🔍 Which is the odd one out? (a) a calculator (b) a sleep tracker (c) a step counter (d) a water reminder
- 39.Which of these is processing? (a) taking a photo (b) a result on screen (c) tapping a button (d) adding up a bill
- 40.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
Answer key
- labels on every icon
- Design B
- 3
- a tab bar
- deny it
- a wireframe
- 3
- True
- PIN saved
- type name and email
- 8
- line 2
- False
- show a question
- 310
- 3
- has a home-screen icon
- True
- 65
- 13
- handler
- Test 1
- calculator → location
- 2
- the idea stage
- True
- 9
- 5
- Welcome!
- 3
- add a filter
- True
- the theme colours
- 3
- a switch for dark mode
- 2
- 2
- a calculator
- adding up a bill
- a tab bar
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students