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.💡 A good app idea starts with ___. (a) many colours (b) a long name (c) a cool logo (d) a problem to solve
-
2.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 10; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 3 (c) line 1 -
3.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ Add button ]
[ tab bar ]
[ filter buttons ]
[ list of items ] - 4.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) pick a dish (b) open the menu
- 5.🔍 Which is the odd one out? (a) a unit converter (b) an alarm clock (c) a times-table quiz (d) a calculator
-
6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 45; // start at 45
line 2: coins = coins - 2; // take away 1
line 3: coins = coins * 2; // double it
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it (a) line 1 (b) line 4 (c) line 3 (d) line 2 -
7.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(1000) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(550) → expected 40 (a) Test 2 (b) Test 3 (c) Test 1 - 8.Which of these is an input? (a) checking a password (b) working out a tip (c) a beep sound (d) tapping a button
- 9.👥 A school app has 195 students, 300 teachers and 60 parents as users. How many more teachers than students are there?
-
10.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 6)); -
11.🔀 What does this battery rule show?
let battery = 91;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
12.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Zoya", "Arjun", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Arjun - 13.🔁 What does a loop do? (a) deletes code (b) saves photos (c) repeats code (d) draws icons
-
14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 47; // start at 46
line 2: lives = lives - 3; // take away 3
line 3: lives = lives + 4; // add 4
line 4: lives = lives + 4; // add 4
line 5: show(lives); // show it -
15.🗒️ Version 1 of a homework planner must be ready in 10 days. How many days are left for extras after the must-haves?
add a homework task: 2 days
set a due date: 3 days
see tasks by day: 3 days - 16.🔢 In a sign-up flow, which comes first: “make a password” or “tap “Sign up””? (a) make a password (b) tap “Sign up”
- 17.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) add a homework task (c) pick a theme colour (d) share tasks to friends
- 18.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a mistake in the code (d) a fast phone
-
19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. open “Score card”
3. open “Map”
4. tap Back
How many times must you tap Back to reach the main screen of this tab? - 20.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) enter the code sent (c) see the home screen (d) tap “Sign up”
- 21.Which of these requests asks for too much? (a) calculator → location (b) map app → location (c) voice notes → microphone (d) camera app → camera
- 22.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
-
23.🖼️ In this wireframe (top to bottom), what is right above the list of items?
[ search box ]
[ Add button ]
[ big picture ]
[ list of items ]
[ filter buttons ] (a) Add button (b) big picture (c) filter buttons (d) search box - 24.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) needs no installing (d) has a home-screen icon
-
25.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Search → Pay → Menu → Size → Pens
Design B: Home → Search → Pens → Cart (a) Design B (b) Design A - 26.True or false: the home page of an app is an input. (a) False (b) True
- 27.🧩 In an app, what is tap to go Next? (a) an input (b) data (c) a button (d) a screen
-
28.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(650) → expected 0
Test 3: delivery(350) → expected 40 -
29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Edit photo”
3. tap the Quiz tab
4. open “Match report”
Which screen are you on now? (a) Quiz (b) Edit photo (c) Lessons (d) Match report - 30.👥 A clinic app has 200 patients, 60 doctors and 110 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
- 31.🔢 In a sign-up flow, what comes right after “make a password”? (a) see the home screen (b) open the app (c) enter the code sent (d) tap “Sign up”
- 32.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) True (b) False
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 36; // start at 36
line 2: lives = lives * 2; // double it
line 3: lives = lives - 6; // add 6
line 4: lives = lives + 2; // add 2
line 5: show(lives); // show it - 34.Which of these fits saving on the phone? (a) the sound on/off setting (b) a class leaderboard (c) a shared to-do list (d) chat messages to friends
- 35.True or false: a draft you are typing fits saving in the cloud. (a) False (b) True
-
36.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 2)); -
37.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 22 px
Footer: 28 px
Body text: 26 px
Caption: 18 px
Menu: 9 px (a) Body text (b) Footer (c) Title (d) Menu - 38.🔢 After an app is released, which comes first: “list what to fix” or “read user reviews”? (a) list what to fix (b) read user reviews
- 39.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
- 40.True or false: the theme colours is about UX (the experience). (a) True (b) False
Answer key
- a problem to solve
- line 2
- 5
- open the menu
- a times-table quiz
- line 2
- Test 2
- tapping a button
- 105
- 510
- Battery OK
- Hi, Meera
- repeats code
- 51
- 2
- tap “Sign up”
- add a homework task
- a mistake in the code
- 2
- see the home screen
- calculator → location
- False
- big picture
- has a home-screen icon
- Design B
- False
- a button
- 0
- Match report
- patients
- enter the code sent
- True
- 80
- the sound on/off setting
- False
- 100
- Menu
- read user reviews
- a user need
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students