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 = 510; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); -
2.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(4) + fee(4)); -
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 48; // start at 48
line 2: points = points * 2; // double it
line 3: points = points + 7; // add 5
line 4: show(points); // show it (a) line 2 (b) line 3 (c) line 1 - 4.Which of these requests is fair? (a) timer → your photos (b) torch → contacts (c) quiz app → microphone (d) calling app → contacts
-
5.🔁 What number does this code show?
let steps = [8, 2, 6, 15, 20];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 6.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) open the app (c) type name and email (d) make a password
-
7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 51; // start at 48
line 2: coins = coins * 2; // double it
line 3: coins = coins + 3; // add 3
line 4: coins = coins - 5; // take away 5
line 5: show(coins); // show it (a) line 4 (b) line 3 (c) line 2 (d) line 1 - 8.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) FAQ (c) MVP (d) CPU
-
9.🧩 How many buttons does this app screen have?
[title] Sign Up
[button] Save
[slider] Brightness
[text box] Name - 10.🚀 Which version is newer: 4.0.3 or 4.0.18? (a) 4.0.18 (b) 4.0.3
- 11.True or false: “sudden loud sounds” makes the app harder to use. (a) True (b) False
- 12.True or false: a barcode scanner needs the camera. (a) True (b) False
-
13.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 52 px tall
Save button: 48 px tall
Send button: 56 px tall
Back button: 32 px tall (a) Cancel (b) Send (c) Save (d) Back - 14.👥 A school app has 270 students, 290 teachers and 55 parents as users. How many more students than parents are there?
- 15.🗂️ What kind of app is a spelling coach? (a) a game (b) a tool app (c) a health app (d) a learning app
-
16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. open “Badges”
3. open “Video”
How many times must you tap Back to reach the main screen of this tab? - 17.Which of these is true of a website? (a) comes from an app store (b) is installed on a phone (c) updates from the store (d) opens in a web browser
-
18.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap the Search tab
3. open “Video”
4. tap Back
5. open “Badges”
Which screen are you on now? (a) Badges (b) Home (c) Video (d) Edit photo -
19.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. tap the Feed tab
3. open “Score card”
4. open “Help page”
Which screen are you on now? (a) Friend list (b) Score card (c) Help page (d) Feed - 20.Which colour pair is hard to read? (a) white on black (b) white on dark green (c) pale pink on white (d) dark blue on white
- 21.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
- 22.♿ What does a screen reader do? (a) makes text tiny (b) plays music (c) reads the screen aloud (d) takes photos
- 23.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
- 24.👥 A school app has 30 students, 165 teachers and 135 parents as users. How many more parents than students are there?
-
25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Back button: 36 px tall
Save button: 52 px tall
Next button: 72 px tall (a) Back (b) Save (c) Next -
26.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(14)); - 27.🔍 Which is the odd one out? (a) a cricket run chase (b) a step counter (c) a puzzle with levels (d) a racing challenge
- 28.🔁 What does a loop do? (a) deletes code (b) repeats code (c) saves photos (d) draws icons
- 29.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
-
30.💾 What number does this code show?
let friends = ["Meera", "Riya", "Zoya", "Kabir"];
friends.push("Aman");
friends.push("Arjun");
show(friends.length); - 31.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) fast typists (c) the server (d) colour-blind users
- 32.🗂️ What kind of app is a step counter? (a) a tool app (b) a learning app (c) a game (d) a health app
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 40; // start at 40
line 2: points = points - 1; // take away 1
line 3: points = points - 5; // add 5
line 4: points = points + 5; // add 5
line 5: show(points); // show it - 34.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) add a homework task (c) set a due date (d) see tasks by day
-
35.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 36.🔢 After an app is released, what comes right after “fix and improve”? (a) list what to fix (b) read user reviews (c) test it again (d) release an update
-
37.🧪 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(5) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(7) → expected Pass (a) Test 2 (b) Test 1 (c) Test 3 -
38.👆 The user taps the button 3 times. What number does the label show now?
let coins = 2;
button.onTap = function () {
coins = coins + 3;
label.text = coins;
}; - 39.🔐 Which permission does a barcode scanner really need? (a) location (b) the microphone (c) contacts (d) the camera
-
40.🔀 What does this battery rule show?
let battery = 80;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK
Answer key
- 490
- 0
- line 3
- calling app → contacts
- 51
- open the app
- line 1
- MVP
- 1
- 4.0.18
- True
- True
- Back
- 215
- a learning app
- 3
- opens in a web browser
- Badges
- Help page
- pale pink on white
- an app
- reads the screen aloud
- good design
- 105
- Back
- 28
- a step counter
- repeats code
- too much
- 6
- colour-blind users
- a health app
- 49
- pick a theme colour
- Ask a parent
- test it again
- Test 1
- 11
- the camera
- Battery OK
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students