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.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) edge cases (c) old cases (d) phone cases
- 2.True or false: the home page of an app is a screen. (a) True (b) False
- 3.True or false: a draft you are typing fits saving in the cloud. (a) True (b) False
-
4.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 43; // start at 43
line 2: lives = lives * 2; // double it
line 3: lives = lives - 5; // add 5
line 4: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 -
5.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(13) → expected 100
Test 3: price(6) → expected 50 - 6.👥 A library app has 25 readers, 170 librarians and 70 volunteers as users. How many more librarians than readers are there?
- 7.📅 An app team plans for 5 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
8.🧩 Which of these is a button on this screen?
[title] Settings
[text box] Notes
[text box] Age
[switch] Show hints
[slider] Volume
[button] Help
[button] Start (a) Age (b) Notes (c) Show hints (d) Help - 9.Which of these is an input? (a) a box to type a name (b) your friends list (c) tap to Save (d) the game-over page
- 10.🔢 In a sign-up flow, which comes first: “type name and email” or “tap “Sign up””? (a) tap “Sign up” (b) type name and email
-
11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 46; // start at 45
line 2: lives = lives + 4; // add 4
line 3: lives = lives + 2; // add 2
line 4: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 - 12.👆 What kind of event is this: the app starts up? (a) a tap event (b) a text event (c) a timer event (d) a load event
- 13.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) pick your bus stop (d) a dark mode
- 14.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a medicine reminder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
- 15.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
-
16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Badges”
3. tap Back
Which screen are you on now? (a) Settings (b) Chat (c) Badges (d) Feed -
17.🔁 What number does this code show?
let steps = [1, 10, 7];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 18.🚀 Your app is at version 1.1.6. The next release fixes a small bug. What is its version number? (a) 1.2.0 (b) 2.0.0 (c) 1.2.6 (d) 1.1.7
- 19.💡 An app that tries to do everything at once is usually ___. (a) finished fast (b) easy to build (c) very small (d) hard to use
- 20.Which of these happens at the plan stage? (a) let friends try it (b) write the store text (c) talk to possible users (d) sketch the screens
- 21.🗒️ In MVP, the M stands for ___. (a) minimum (b) music (c) mobile (d) maximum
-
22.🔀 What does this battery rule show?
let battery = 77;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
23.🧪 How many of these test cases pass?
📝 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(2) → expected Try again
Test 3: result(7) → expected Pass -
24.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Offers → Address
Design B: Home → Shop → Size → Pay → Confirm → Pens - 25.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a final design (b) a wireframe
- 26.🔢 After an app is released, what comes right after “read user reviews”? (a) test it again (b) release an update (c) fix and improve (d) list what to fix
-
27.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. open “Edit photo”
3. tap Back
4. open “Help page”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? -
28.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF -
29.👆 The user taps the button 3 times. What number does the label show now?
let points = 6;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 30.🚀 Which version is newer: 1.17.0 or 1.5.2? (a) 1.5.2 (b) 1.17.0
- 31.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) see tasks by day (b) pick a theme colour (c) share tasks to friends (d) earn stickers
- 32.👥 A school app has 290 students, 35 teachers and 50 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
-
33.🔁 What number does this code show?
let scores = [8, 17, 18];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 34.🔢 In a photo-post flow, which comes FIRST? (a) take the photo (b) post the photo (c) add a filter (d) open the camera screen
- 35.Which of these is true of an app? (a) has a web address (b) opens in a web browser (c) updates from the store (d) opens from a link
-
36.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 50; // start at 50
line 2: points = points + 3; // add 2
line 3: points = points + 5; // add 5
line 4: show(points); // show it - 37.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) input (c) output
- 38.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a water reminder (b) a big-text reader (c) a bus tracker (d) a homework planner
- 39.True or false: taking a photo is processing. (a) True (b) False
-
40.🖼️ How many parts (boxes) does this wireframe have?
[ Save button ]
[ search box ]
[ tab bar ]
[ list of items ]
Answer key
- edge cases
- True
- False
- line 3
- 100
- 145
- 5
- Help
- a box to type a name
- tap “Sign up”
- line 1
- a load event
- pick your bus stop
- a medicine reminder
- makes it harder
- Settings
- 10
- 1.1.7
- hard to use
- sketch the screens
- minimum
- Battery OK
- 2
- 2
- a final design
- list what to fix
- 1
- ON
- 12
- 1.17.0
- see tasks by day
- students
- 18
- open the camera screen
- updates from the store
- 58
- input
- a bus tracker
- False
- 4
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students