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 is the ACTUAL result of Test 3?
🎟️ 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(14) → expected 100
Test 3: price(13) → expected 50 - 2.🔍 Which is the odd one out? (a) adding up a bill (b) checking a password (c) sorting the scores (d) speaking a command
-
3.🔀 What number does this shop app show?
let total = 480;
if (total > 500) {
total = total - 50;
}
show(total); - 4.Which of these is an output? (a) speaking a command (b) checking a password (c) a pop-up message (d) adding up a bill
-
5.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(1)); -
6.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Done
[button] Cancel
[text box] Subject
[button] Next
[slider] Brightness
[text box] Notes
[text box] Name - 7.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
-
8.💾 What number does this code show?
let score = 5;
score = score - 2;
score = score + 2;
show(score); - 9.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) release it (b) test the app
- 10.🧪 Who else should try an app before release? (a) the app icon (b) nobody (c) only the coder (d) real users
- 11.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
12.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Size → Search
Design B: Home → Size → Confirm → Search → Pens - 13.🧩 What do we call one full page of an app? (a) a screen (b) a cable (c) a variable (d) a battery
-
14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 41; // start at 40
line 2: points = points - 1; // take away 1
line 3: points = points - 5; // take away 5
line 4: points = points * 2; // double it
line 5: show(points); // show it (a) line 4 (b) line 1 (c) line 3 (d) line 2 - 15.Which of these is a button? (a) tap to Start (b) today’s step count (c) the log-in page (d) a date picker
-
16.🧪 One test case fails. Which one?
📝 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(5) → expected Try again
Test 3: result(9) → expected Pass (a) Test 1 (b) Test 3 (c) Test 2 - 17.🔘 Our rule: buttons are at least 48 px tall. The Next button is 20 px tall. How many px taller must it be?
- 18.🗒️ When should nice-to-have features be built? (a) never (b) after the must-haves (c) on day one (d) before anything
-
19.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 18 votes
missing the bus: 17 votes
forgetting homework: 5 votes - 20.🚀 Which version is newer: 3.1.17 or 3.1.4? (a) 3.1.17 (b) 3.1.4
- 21.💡 Which app idea solves this problem: friends argue over who pays? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
- 22.⚙️ In an app, is sorting the scores an input, processing or an output? (a) output (b) processing (c) input
- 23.🎯 Why learn about users before you build? (a) to build what they need (b) to pick a logo (c) to make it longer (d) to slow it down
- 24.🔢 When you make an app, what comes right after “build the app”? (a) test the app (b) get an idea (c) plan the screens (d) release it
- 25.🎨 Is this about UI or UX: whether users get lost? (a) UI (b) UX
- 26.Which of these is true of a menu button? (a) sits at the bottom (b) shows 3 to 5 icons (c) hides extra links (d) goes to the last screen
- 27.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) decorating (d) downloading
-
28.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ search box ]
[ top bar ]
[ list of items ]
[ menu icon ] (a) top bar (b) search box (c) menu icon (d) list of items -
29.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 52 px tall
Back button: 64 px tall
Send button: 28 px tall (a) Back (b) Send (c) Next - 30.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 31.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
- 32.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
-
33.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 34.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) delete the test (d) test it again
- 35.True or false: a blank grey screen solves no real problem. (a) False (b) True
-
36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 48; // start at 47
line 2: lives = lives * 2; // double it
line 3: lives = lives + 4; // add 4
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it (a) line 2 (b) line 1 (c) line 4 (d) line 3 -
37.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 21 votes
forgetting birthdays: 6 votes
forgetting homework: 9 votes -
38.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Offers → Pens
Design B: Home → Address → Results → Confirm → Size → Offers → Menu (a) Design A (b) Design B - 39.True or false: the search box changes is a tap event. (a) False (b) True
- 40.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
Answer key
- 50
- speaking a command
- 480
- a pop-up message
- 30
- 4
- fair
- 5
- test the app
- real users
- on the phone
- 2
- a screen
- line 1
- tap to Start
- Test 1
- 28
- after the must-haves
- 40
- 3.1.17
- a bill splitter
- processing
- to build what they need
- test the app
- UX
- hides extra links
- debugging
- menu icon
- Send
- on the phone
- Yes
- a final design
- Ask a parent
- test it again
- True
- line 1
- 36
- Design A
- False
- No
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students