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 version is newer: 2.12.1 or 2.5.2? (a) 2.12.1 (b) 2.5.2
- 2.Which colour pair is easy to read? (a) red on green (b) yellow on white (c) black on pale grey (d) light grey on white
- 3.🔢 After an app is released, which comes FIRST? (a) release an update (b) read user reviews (c) list what to fix (d) test it again
- 4.🔁 list.length tells you ___. (a) the last item (b) the biggest item (c) how many items it has (d) the first item
- 5.True or false: “fast-flashing lights” helps everyone use the app. (a) False (b) True
- 6.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
- 7.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a recipe finder (b) a pocket-money tracker (c) a big-text reader (d) a bus tracker
- 8.True or false: grey text on grey is good button design. (a) False (b) True
-
9.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
10.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(8) → expected 100
Test 3: price(5) → expected 50 - 11.💾 In most code, the first item of a list is at position ___. (a) 1 (b) 0 (c) 10 (d) 2
- 12.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) pick an answer (b) read a question (c) see the final score (d) see if it is right
- 13.🧩 Which input is best for typing your name? (a) a slider (b) a text box (c) a picture (d) a switch
-
14.👆 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 - 15.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) the most common need (c) a random need (d) the rarest need
-
16.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 44; // start at 41
line 2: points = points + 6; // add 6
line 3: points = points - 4; // take away 4
line 4: show(points); // show it (a) line 2 (b) line 3 (c) line 1 -
17.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 24 px
Hint: 28 px
Footer: 9 px
Menu: 25 px
Label: 19 px (a) Hint (b) Title (c) Menu (d) Footer - 18.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
- 19.True or false: a 5-minute alarm ends is a timer event. (a) True (b) False
- 20.True or false: a result on screen is an output. (a) True (b) False
- 21.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) tap “Start quiz” (c) see if it is right (d) read a question
-
22.🔀 Which badge does this quiz app show?
let marks = 90;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold -
23.🗒️ 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: 4 days
pick your bus stop: 2 days -
24.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 7 or more right answers.
function result(right) {
if (right > 7) {
return "Pass";
}
return "Try again";
}
Test 1: result(9) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Try again (a) Test 3 (b) Test 1 (c) Test 2 - 25.🔀 With if / else if / else, how many parts run? (a) none (b) all of them (c) two (d) only one
- 26.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
- 27.🛠️ At which stage do you talk to possible users? (a) the plan stage (b) the build stage (c) the idea stage (d) the test stage
-
28.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Due date
[button] Next
[text box] Name
[text box] Subject
[button] Start -
29.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(13)); -
30.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 9 votes
wasting pocket money: 12 votes
losing water bottles: 24 votes (a) wasting pocket money (b) no quiet study place (c) losing water bottles -
31.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 100; // typed by the user
line 2: let qty = 6; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 2 (c) line 3 (d) line 1 -
32.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 6 votes
losing water bottles: 24 votes
forgetting birthdays: 20 votes (a) losing water bottles (b) forgetting birthdays (c) wasting pocket money -
33.💾 What number does this code show?
let points = 6;
points = points - 1;
points = points + 2;
show(points); -
34.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 45; // start at 42
line 2: score = score * 2; // double it
line 3: score = score + 6; // add 6
line 4: show(score); // show it (a) line 1 (b) line 2 (c) line 3 - 35.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) URL (c) FAQ (d) MVP
- 36.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) share tasks to friends (d) set a due date
- 37.🔍 Which is the odd one out? (a) taking a photo (b) adding up a bill (c) speaking a command (d) typing your age
- 38.Which colour pair is easy to read? (a) dark blue on white (b) pale pink on white (c) yellow on white (d) dark blue on black
-
39.👆 The user taps the button 3 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 -
40.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent
Answer key
- 2.12.1
- black on pale grey
- read user reviews
- how many items it has
- False
- a final design
- a big-text reader
- False
- Ask a parent
- 50
- 0
- read a question
- a text box
- OFF
- the most common need
- line 1
- Footer
- too much
- True
- True
- see the final score
- Gold
- 2
- Test 2
- only one
- a wireframe
- the idea stage
- 2
- 39
- losing water bottles
- line 3
- losing water bottles
- 7
- line 1
- MVP
- share tasks to friends
- adding up a bill
- dark blue on white
- ON
- Ask a parent
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students