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 app show?
let price = 75; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); -
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 44; // start at 44
line 2: stars = stars + 6; // add 6
line 3: stars = stars - 3; // add 3
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 -
3.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Save button ]
[ title text ]
[ search box ]
[ tab bar ] (a) Save button (b) title text (c) search box (d) tab bar - 4.True or false: a flashcard trainer is a health app. (a) True (b) False
-
5.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[button] Cancel
[text box] Age
[slider] Brightness
[text box] Notes - 6.🔀 In this course’s code, which sign tests “is equal to”? (a) === (b) = (c) !== (d) =>
-
7.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap Back
3. tap the Settings tab
4. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 8.📱 Where do people usually download phone apps from? (a) a web server (b) a charger (c) a printer (d) an app store
-
9.🔀 What number does this shop app show?
let total = 220;
if (total > 500) {
total = total - 50;
}
show(total); - 10.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) see where the bus is (c) rate the driver (d) change the bus icon
-
11.🖼️ In this wireframe (top to bottom), what is right above the top bar?
[ list of items ]
[ top bar ]
[ Save button ]
[ big picture ] (a) list of items (b) Save button (c) big picture - 12.💡 An app that tries to do everything at once is usually ___. (a) easy to build (b) hard to use (c) very small (d) finished fast
- 13.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
- 14.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) pick an answer (c) see the final score (d) tap “Start quiz”
- 15.True or false: a final design uses the final pictures. (a) False (b) True
-
16.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Menu
Design B: Home → Pens → Item → Pay (a) Design B (b) Design A -
17.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 1 days
see today’s total: 4 days -
18.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 30; // start at 30
line 2: score = score - 3; // take away 1
line 3: score = score + 4; // add 4
line 4: show(score); // show it - 19.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
- 20.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
- 21.True or false: tap to Start is an input. (a) True (b) False
- 22.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a nice icon (d) a fast phone
- 23.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder
- 24.🧪 Who else should try an app before release? (a) real users (b) only the coder (c) the app icon (d) nobody
-
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. tap Back
3. open “Edit photo”
4. open “Video”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 26.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
-
27.🔁 What number does this code show?
let steps = [54, 60, 39];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); -
28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Match report”
2. tap Back
3. open “Friend list”
4. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 29.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) set a due date (c) see tasks by day (d) pick a theme colour
- 30.True or false: checking a password is an input. (a) True (b) False
-
31.🔀 What does this sign-up rule show?
let age = 13;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
32.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Search → Menu → Pay → Shop
Design B: Home → Search → Shop → Address → Results → Cart - 33.🎯 What is a user need? (a) a phone setting (b) a type of button (c) a problem a user has (d) a colour theme
- 34.Which of these fits saving on the phone? (a) the sound on/off setting (b) photos on two devices (c) a shared to-do list (d) a class leaderboard
-
35.🧪 How many of these test cases pass?
📝 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(8) → expected Pass
Test 2: result(5) → expected Try again
Test 3: result(10) → expected Pass - 36.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 4 (d) 5
-
37.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right > 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(9) → expected Pass
Test 3: result(6) → expected Try again -
38.🔀 Which badge does this quiz app show?
let marks = 57;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 39.Which of these is processing? (a) tapping a button (b) a buzz (vibration) (c) typing your age (d) sorting the scores
- 40.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
Answer key
- 150
- line 3
- tab bar
- False
- 3
- ===
- 1
- an app store
- 220
- see where the bus is
- list of items
- hard to use
- a lost-and-found board
- see the final score
- True
- Design A
- 1
- 31
- UX
- how many items it has
- False
- a mistake in the code
- a study-room finder
- real users
- 1
- find where it goes wrong
- 0
- 2
- pick a theme colour
- False
- Welcome!
- 4
- a problem a user has
- the sound on/off setting
- 3
- 5
- 2
- Silver
- sorting the scores
- easy to read
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students