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.Which of these is an input? (a) a beep sound (b) a result on screen (c) sorting the scores (d) speaking a command
- 2.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a slider (c) a text box (d) a title
- 3.True or false: “colour as the only clue” helps everyone use the app. (a) True (b) False
-
4.🔀 What number does this shop app show?
let total = 790;
if (total > 500) {
total = total - 50;
}
show(total); - 5.🧩 In an app, what is tap to Send? (a) a button (b) a screen (c) an input (d) data
- 6.True or false: a box to type a name is an input. (a) True (b) False
- 7.True or false: a final design uses plain grey boxes. (a) True (b) False
-
8.🔁 What number does this code show?
let steps = [12, 20, 11, 12, 6];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
9.🔀 What number does this shop app show?
let total = 590;
if (total > 500) {
total = total - 50;
}
show(total); - 10.📅 An app team plans for 3 days, builds for 5 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 11.🧭 Which part of navigation switches main sections? (a) a menu button (b) the back button (c) a tab bar
- 12.Which of these is an input? (a) tap to go Next (b) the settings page (c) the home page of an app (d) a slider for volume
- 13.True or false: the theme colours is about UX (the experience). (a) False (b) True
- 14.🧪 A test case is an input together with its ___. (a) font size (b) expected result (c) app icon (d) screen colour
- 15.🧭 What does the back button usually do? (a) deletes the page (b) goes to the last screen (c) closes all apps (d) opens settings
-
16.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(26)); - 17.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a menu button (c) a tab bar
- 18.True or false: you spot a problem to solve at the plan stage. (a) True (b) False
- 19.🔍 Which is the odd one out? (a) sorting the scores (b) adding up a bill (c) checking a password (d) typing your age
- 20.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) the same screen (c) a random page (d) a clear next step
- 21.👥 A school app has 75 students, 130 teachers and 60 parents as users. How many users does it have in all?
- 22.🔍 Which is the odd one out? (a) checking a password (b) typing your age (c) taking a photo (d) speaking a command
- 23.🚀 Your app is at version 3.11.7. The next release adds a new feature. What is its version number? (a) 4.0.0 (b) 3.11.8 (c) 3.12.7 (d) 3.12.0
- 24.🔢 In a food-order flow, what comes right after “pay for the order”? (a) track the order (b) open the menu (c) add it to the cart (d) pick a dish
-
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Friend list”
3. open “Map”
Which screen are you on now? (a) Friend list (b) Home (c) Search (d) Map - 26.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
- 27.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) needs no testing (c) is easy to build (d) wins every prize
-
28.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 37; // start at 37
line 2: lives = lives * 2; // double it
line 3: lives = lives + 1; // take away 1
line 4: show(lives); // show it - 29.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
-
30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 35; // start at 34
line 2: stars = stars * 2; // double it
line 3: stars = stars + 3; // add 3
line 4: show(stars); // show it (a) line 1 (b) line 2 (c) line 3 -
31.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “no quiet study place”?
no quiet study place: 18 votes
forgetting birthdays: 7 votes
losing water bottles: 19 votes -
32.🗒️ Version 1 of a homework planner must be ready in 7 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 1 days
see tasks by day: 5 days - 33.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see the final score (c) see if it is right (d) tap “Start quiz”
-
34.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(5) → expected Try again (a) Test 2 (b) Test 1 (c) Test 3 -
35.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(6) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Try again (a) Test 3 (b) Test 1 (c) Test 2 -
36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 33; // start at 33
line 2: points = points + 3; // add 3
line 3: points = points + 4; // add 3
line 4: show(points); // show it (a) line 3 (b) line 1 (c) line 2 - 37.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
- 38.True or false: a finger hits Like is a text event. (a) False (b) True
-
39.🔁 What is the LAST line this code shows?
let names = ["Meera", "Zoya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Arjun (c) Hi, Zoya -
40.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 33; // start at 32
line 2: points = points + 3; // add 3
line 3: points = points - 1; // take away 1
line 4: points = points * 2; // double it
line 5: show(points); // show it
Answer key
- speaking a command
- a switch
- False
- 740
- a button
- True
- False
- 61
- 540
- 10
- a tab bar
- a slider for volume
- False
- expected result
- goes to the last screen
- 52
- a menu button
- False
- typing your age
- a clear next step
- 265
- checking a password
- 3.12.0
- track the order
- Map
- read user reviews
- helps nobody well
- 73
- UI
- line 1
- 1
- 0
- see if it is right
- Test 2
- Test 1
- line 3
- a feature
- False
- Hi, Arjun
- 70
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students