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.🧪 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(13) → expected 100
Test 2: price(9) → expected 50
Test 3: price(16) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 -
2.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Item → Search
Design B: Home → Address → Menu → Confirm - 3.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) fast typists (c) colour-blind users (d) the server
- 4.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) background music (d) an avatar shop
- 5.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
-
6.🔀 Which badge does this quiz app show?
let marks = 100;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold -
7.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ title text ]
[ Add button ]
[ big picture ]
[ Save button ]
[ filter buttons ] (a) title text (b) Add button (c) list of items (d) filter buttons - 8.📱 The word “app” is short for ___. (a) application (b) appetite (c) apparatus (d) appointment
- 9.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a bug fix (b) a new feature (c) a new app (d) a big redesign
- 10.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
-
11.⚙️ What number does this app show?
let bill = 40; // typed by the user
let friends = 2; // typed by the user
let share = bill / friends;
show(share); - 12.👆 A tap handler runs how many times if the user taps 4 times? (a) 8 (b) 0 (c) 4 (d) 1
-
13.⚙️ What number does this app show?
let price = 290; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); -
14.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(3) → expected Try again
Test 2: result(5) → expected Pass
Test 3: result(7) → expected Pass (a) Test 3 (b) Test 1 (c) Test 2 - 15.Which of these is an output? (a) taking a photo (b) typing your age (c) working out a tip (d) a result on screen
- 16.Which of these is true of an app? (a) needs no installing (b) opens in a web browser (c) has a web address (d) has a home-screen icon
- 17.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) show arrival time (c) pick your bus stop (d) see where the bus is
- 18.🎨 UX stands for user ___. (a) experience (b) example (c) extra (d) express
-
19.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
20.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Size → Search → Results → Shop → Pay → Cart
Design B: Home → Menu → Cart → Results → Confirm → Pay (a) Design A (b) Design B - 21.Which colour pair is easy to read? (a) dark blue on black (b) yellow on white (c) light grey on white (d) black on yellow
- 22.Which of these is a screen? (a) a switch for dark mode (b) your friends list (c) a date picker (d) the game-over page
-
23.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 32 px tall
Save button: 64 px tall
Help button: 60 px tall
Send button: 44 px tall - 24.🧩 In an app, what is your friends list? (a) an input (b) data (c) a button (d) a screen
-
25.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 52 px tall
Save button: 60 px tall
Send button: 60 px tall - 26.True or false: you talk to possible users at the idea stage. (a) False (b) True
- 27.🗒️ What is a must-have feature? (a) a colour theme (b) a sound effect (c) one the app cannot skip (d) a nice extra
-
28.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(33)); - 29.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a fast phone (d) a mistake in the code
- 30.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
- 31.🔢 In a quiz-app flow, which comes first: “see if it is right” or “pick an answer”? (a) pick an answer (b) see if it is right
-
32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 31; // start at 31
line 2: stars = stars + 6; // add 6
line 3: stars = stars + 7; // add 6
line 4: show(stars); // show it (a) line 1 (b) line 3 (c) line 2 -
33.💾 What number does this code show?
let friends = ["Riya", "Kabir"];
friends.push("Arjun");
friends.push("Meera");
show(friends.length); - 34.Which of these makes the app harder to use? (a) big touch targets (b) tiny tap areas (c) labels on every icon (d) captions on videos
- 35.♿ Does this help everyone, or make the app harder to use: tiny tap areas? (a) helps everyone (b) makes it harder
- 36.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
- 37.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) change the bus icon (c) see where the bus is (d) show arrival time
-
38.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
show a question: 3 days
check the answer: 2 days
show the score: 2 days - 39.True or false: you sketch the screens at the release stage. (a) False (b) True
- 40.True or false: tapping a button is an input. (a) False (b) True
Answer key
- Test 1
- 1
- colour-blind users
- show a question
- tap “Sign up”
- Gold
- filter buttons
- application
- a bug fix
- True
- 20
- 4
- 270
- Test 2
- a result on screen
- has a home-screen icon
- a dark mode
- experience
- 5
- Design B
- black on yellow
- the game-over page
- 2
- data
- 3
- True
- one the app cannot skip
- 66
- a mistake in the code
- Yes
- pick an answer
- line 3
- 4
- tiny tap areas
- makes it harder
- Yes
- change the bus icon
- 6
- False
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students