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?
function double(n) {
return n * 2;
}
show(double(33)); - 2.🎯 Who are the users of an app? (a) only the testers (b) the people who use it (c) only the coders (d) the app icons
- 3.Which of these is true of a tab bar? (a) undoes one move (b) switches main sections (c) hides extra links (d) opens a list of pages
- 4.👥 A library app has 155 readers, 185 librarians and 210 volunteers as users. How many more librarians than readers are there?
- 5.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
- 6.🌗 Is black on pale grey easy or hard to read on a button? (a) easy to read (b) hard to read
-
7.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 64 px tall
Start button: 44 px tall
Back button: 40 px tall
Done button: 56 px tall - 8.🔍 Which is the odd one out? (a) share the download link (b) talk to possible users (c) list what users need (d) spot a problem to solve
-
9.🔀 What does this PIN rule show?
let pin = "116";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
10.🔀 What does this battery rule show?
let battery = 25;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
11.🧪 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(19) → expected 100
Test 2: price(12) → expected 50
Test 3: price(18) → expected 100 -
12.🔁 What number does this code show?
let marks = [72, 76, 44];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 13.Which of these happens at the idea stage? (a) sketch the screens (b) talk to possible users (c) add the buttons (d) write down the bugs
- 14.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) release it (c) build the app (d) plan the screens
-
15.👆 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 -
16.👆 The user taps the button 5 times. What number does the label show now?
let score = 6;
button.onTap = function () {
score = score + 4;
label.text = score;
}; -
17.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 39; // start at 39
line 2: lives = lives + 2; // add 2
line 3: lives = lives + 4; // add 4
line 4: lives = lives - 4; // add 4
line 5: show(lives); // show it - 18.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
- 19.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) updates from the store (d) opens in a web browser
-
20.🚀 Which of these versions is the NEWEST?
2.10.3, 2.13.3, 1.27.6, 2.2.4 (a) 2.13.3 (b) 2.10.3 (c) 2.2.4 (d) 1.27.6 - 21.True or false: the screen layout is about UX (the experience). (a) False (b) True
- 22.🔍 Which is the odd one out? (a) how fast a task is done (b) how many taps it takes (c) the screen layout (d) whether users get lost
- 23.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 24.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) pie-chart colours (d) add money spent
- 25.True or false: a blank grey screen solves no real problem. (a) True (b) False
-
26.🗒️ 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: 1 days
check the answer: 1 days
show the score: 5 days - 27.🔢 In a food-order flow, which comes first: “pick a dish” or “add it to the cart”? (a) add it to the cart (b) pick a dish
- 28.Which colour pair is hard to read? (a) black on yellow (b) white on black (c) dark blue on white (d) red on green
-
29.🔀 What does this battery rule show?
let battery = 14;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
30.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(250) → expected 40
Test 2: delivery(600) → expected 0
Test 3: delivery(750) → expected 0 - 31.🔁 A loop over a list of 5 items runs its body how many times? (a) 4 (b) 1 (c) 6 (d) 5
- 32.🎨 UX stands for user ___. (a) express (b) example (c) experience (d) extra
-
33.🔀 What does this PIN rule show?
let pin = "8290";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 34.🧪 A test fails when ___. (a) both are the same (b) the font is big (c) actual is not expected (d) the app is new
- 35.🔢 When you make an app, which comes first: “plan the screens” or “test the app”? (a) test the app (b) plan the screens
-
36.🗒️ Version 1 of a quiz app must be ready in 17 days. How many days are left for extras after the must-haves?
show a question: 4 days
check the answer: 4 days
show the score: 3 days -
37.🖼️ How many parts (boxes) does this wireframe have?
[ title text ]
[ tab bar ]
[ list of items ]
[ top bar ]
[ big picture ] - 38.Which of these is about UX (the experience)? (a) how easy sign-up is (b) the font size (c) the theme colours (d) the screen layout
- 39.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) see if it is right (c) tap “Start quiz” (d) read a question
-
40.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(13) → expected 100
Test 3: price(9) → expected 50
Answer key
- 66
- the people who use it
- switches main sections
- 30
- makes it harder
- easy to read
- 2
- share the download link
- Use 4 digits
- Battery OK
- 3
- 3
- talk to possible users
- release it
- OFF
- 26
- 41
- UI
- opens in a web browser
- 2.13.3
- False
- the screen layout
- hard to read
- pie-chart colours
- True
- 5
- pick a dish
- red on green
- Low battery
- 0
- 5
- experience
- PIN saved
- actual is not expected
- plan the screens
- 6
- 5
- how easy sign-up is
- tap “Start quiz”
- 50
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students