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.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a parameter (d) a screen
-
2.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 42; // start at 42
line 2: points = points + 5; // add 5
line 3: points = points + 2; // double it
line 4: show(points); // show it -
3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. open “Map”
3. open “Video”
Which screen are you on now? (a) Map (b) Video (c) Quiz (d) Lessons -
4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Help page”
2. open “Video”
3. tap Back
4. tap Back
How many times must you tap Back to reach the main screen of this tab? - 5.🧩 What does a button do when you tap it? (a) shows the time (b) changes the phone (c) starts an action (d) saves the battery
-
6.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(13) → expected 100
Test 3: price(12) → expected 50 (a) Test 1 (b) Test 3 (c) Test 2 -
7.🔀 What does this PIN rule show?
let pin = "167";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
8.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(10) → expected 50
Test 3: price(13) → expected 100 - 9.🌗 Is white on dark green easy or hard to read on a button? (a) easy to read (b) hard to read
- 10.📅 An app team plans for 2 days, builds for 4 days, tests for 2 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 11.🚀 A privacy policy tells users ___. (a) what data is collected (b) the app’s price (c) the screen size (d) the app’s colours
- 12.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) take the photo
-
13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Cart → Menu → Offers
Design B: Home → Results → Confirm → Search → Address → Pay → Shop - 14.🧪 Who else should try an app before release? (a) nobody (b) only the coder (c) real users (d) the app icon
-
15.🔀 What does this PIN rule show?
let pin = "19558";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 16.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) tap “Start quiz” (c) pick an answer (d) read a question
- 17.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) tabs (d) screens
- 18.Which colour pair is hard to read? (a) white on dark green (b) white on black (c) dark blue on white (d) dark blue on black
- 19.🔀 When does the else part run? (a) always (b) never (c) when the test is false (d) when the test is true
- 20.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) open the menu (c) add it to the cart (d) pay for the order
-
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 37; // start at 34
line 2: coins = coins - 2; // take away 2
line 3: coins = coins + 2; // add 2
line 4: show(coins); // show it (a) line 2 (b) line 1 (c) line 3 - 22.Which colour pair is easy to read? (a) dark blue on black (b) dark blue on white (c) red on green (d) yellow on white
-
23.💾 pop() takes off the last item. What does this code show?
let songs = ["Monsoon", "Kites", "Stars", "Rain"];
songs.pop();
show(songs[songs.length - 1]); (a) Rain (b) Monsoon (c) Stars (d) Kites - 24.🔢 In a quiz-app flow, which comes first: “see the final score” or “pick an answer”? (a) pick an answer (b) see the final score
- 25.🧪 A test fails when ___. (a) actual is not expected (b) the font is big (c) both are the same (d) the app is new
- 26.💾 Which works with no internet at all? (a) a cloud backup (b) a cloud leaderboard (c) a shared chat (d) data saved on the phone
-
27.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 4 days
show arrival time: 3 days
pick your bus stop: 4 days - 28.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) FAQ (c) URL (d) CPU
- 29.True or false: typing your age is an output. (a) False (b) True
- 30.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 31.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
- 32.Which of these is an input? (a) tapping a button (b) working out a tip (c) checking a password (d) adding up a bill
-
33.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Help page”
2. open “Video”
3. open “Map”
4. open “Friend list”
5. tap the Me tab
How many times must you tap Back to reach the main screen of this tab? -
34.🧪 One test case fails. Which one?
🎟️ 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(13) → expected 50
Test 3: price(14) → expected 100 (a) Test 1 (b) Test 2 (c) Test 3 - 35.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) a menu button (c) the back button
- 36.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) add a homework task (d) pick a theme colour
- 37.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
-
38.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 15 px
Hint: 21 px
Body text: 10 px
Label: 23 px - 39.True or false: an app that just says hi solves no real problem. (a) True (b) False
-
40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Map”
3. tap the Quiz tab
4. open “Video”
How many times must you tap Back to reach the main screen of this tab?
Answer key
- a parameter
- 49
- Video
- 0
- starts an action
- Test 2
- Use 4 digits
- 3
- easy to read
- 6
- what data is collected
- open the camera screen
- 3
- real users
- Use 4 digits
- see the final score
- data
- dark blue on black
- when the test is false
- open the menu
- line 1
- dark blue on white
- Stars
- pick an answer
- actual is not expected
- data saved on the phone
- 1
- MVP
- False
- a wireframe
- a wireframe
- tapping a button
- 0
- Test 3
- a tab bar
- add a homework task
- handler
- 2
- True
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students