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.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 800) {
return 0;
}
return 40;
}
Test 1: delivery(1100) → expected 0
Test 2: delivery(600) → expected 40
Test 3: delivery(800) → expected 0 - 2.True or false: an app is installed on a phone. (a) True (b) False
- 3.♿ Why add captions to videos? (a) to hide the sound (b) so anyone can follow (c) to slow them down (d) to add colour
-
4.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 34; // start at 33
line 2: coins = coins - 2; // take away 2
line 3: coins = coins + 4; // add 4
line 4: show(coins); // show it - 5.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 6.Which of these app ideas solves no real problem? (a) a bill splitter (b) a medicine reminder (c) a button with no action (d) a lost-and-found board
- 7.🎯 Who are the users of an app? (a) only the coders (b) only the testers (c) the app icons (d) the people who use it
- 8.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) pick your bus stop (c) rate the driver (d) a dark mode
- 9.🔁 What does a loop do? (a) saves photos (b) draws icons (c) deletes code (d) repeats code
- 10.🧭 Which part of navigation opens a list of pages? (a) a menu button (b) the back button (c) a tab bar
- 11.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
-
12.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 1 days
show the balance: 5 days -
13.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 600) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 0
Test 2: delivery(400) → expected 40
Test 3: delivery(750) → expected 0 - 14.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
- 15.True or false: a times-table quiz is a health app. (a) False (b) True
- 16.Which of these is true of a wireframe? (a) shows the real fonts (b) has the real colours (c) uses the final pictures (d) has no real colours
- 17.👥 A school app has 295 students, 80 teachers and 30 parents as users. How many users does it have in all?
-
18.🔁 What number does this code show?
let steps = [20, 5, 16];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 19.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a closed app (c) delete this (d) a picture goes here
- 20.🧩 Scores, notes and settings that an app keeps are called ___. (a) tabs (b) screens (c) data (d) buttons
-
21.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, Riya! (b) Well done, nameBox.text! (c) Well done! (d) Riya - 22.🔢 When you make an app, which comes first: “plan the screens” or “release it”? (a) plan the screens (b) release it
- 23.🧩 Which part lets the user give the app information? (a) an icon (b) a title (c) a logo (d) an input
- 24.True or false: a library due-date alert solves a real problem. (a) True (b) False
- 25.💡 Which app idea solves this problem: friends argue over who pays? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder
-
26.🧩 Which of these is a button on this screen?
[title] Add Homework
[text box] Due date
[button] Next
[text box] Notes (a) Due date (b) Next (c) Notes -
27.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Zoya")); (a) Zoya (b) Hello, name! (c) greet (d) Hello, Zoya! - 28.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
- 29.Which of these happens at the build stage? (a) put it on an app store (b) pick the features (c) write the code (d) spot a problem to solve
- 30.🔢 After an app is released, what comes right after “test it again”? (a) fix and improve (b) list what to fix (c) release an update (d) read user reviews
- 31.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a pocket-money tracker (b) a water reminder (c) a homework planner (d) a big-text reader
- 32.✏️ What is a wireframe? (a) the finished app (b) a type of password (c) a simple screen sketch (d) a charging cable
- 33.🚀 Your app is at version 1.11.2. The next release fixes a small bug. What is its version number? (a) 1.11.3 (b) 2.0.0 (c) 1.12.0 (d) 1.12.2
- 34.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) an avatar shop (c) background music (d) check the answer
- 35.True or false: buttons almost touching is good button design. (a) True (b) False
-
36.👆 The user taps the button 6 times. What number does the label show now?
let coins = 8;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; - 37.⚙️ In an app, is a beep sound an input, processing or an output? (a) processing (b) input (c) output
-
38.⚙️ What number does this app show?
let price = 30; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); -
39.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 1 days
pick your bus stop: 4 days -
40.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 43; // start at 43
line 2: stars = stars + 7; // add 4
line 3: stars = stars * 2; // double it
line 4: stars = stars - 4; // take away 4
line 5: show(stars); // show it
Answer key
- 3
- True
- so anyone can follow
- 35
- in the cloud
- a button with no action
- the people who use it
- pick your bus stop
- repeats code
- a menu button
- Yes
- 5
- 3
- poor design
- False
- has no real colours
- 405
- 41
- a picture goes here
- data
- Well done, Riya!
- plan the screens
- an input
- True
- a bill splitter
- Next
- Hello, Zoya!
- good design
- write the code
- release an update
- a water reminder
- a simple screen sketch
- 1.11.3
- check the answer
- False
- 14
- output
- 60
- 4
- 96
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students