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 code show?
let scores = [12, 1, 9, 20];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 2.🔢 In a food-order flow, which comes first: “check the cart” or “add it to the cart”? (a) check the cart (b) add it to the cart
- 3.Which of these happens at the plan stage? (a) write the store text (b) pick the features (c) connect the data (d) try every button
- 4.Which of these requests is fair? (a) camera app → camera (b) quiz app → microphone (c) timer → your photos (d) calculator → location
- 5.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a homework planner (b) a bus tracker (c) a pocket-money tracker (d) a water reminder
- 6.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
- 7.True or false: a final design has the real colours. (a) True (b) False
- 8.👥 A clinic app has 290 patients, 85 doctors and 80 nurses as users. How many users does it have in all?
- 9.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
- 10.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
- 11.👥 A library app has 165 readers, 255 librarians and 200 volunteers as users. How many more volunteers than readers are there?
-
12.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(4)); - 13.♿ Why add captions to videos? (a) so anyone can follow (b) to hide the sound (c) to add colour (d) to slow them down
-
14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 51; // start at 49
line 2: stars = stars - 5; // take away 5
line 3: stars = stars + 4; // add 4
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it -
15.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age < 8) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(7) → expected 50
Test 3: price(15) → expected 100 - 16.True or false: a beep sound is an input. (a) False (b) True
- 17.Which of these app ideas solves a real problem? (a) a button with no action (b) a blank grey screen (c) a bill splitter (d) a page of random dots
- 18.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “enter the code sent”? (a) tap “Sign up” (b) enter the code sent
- 19.Which of these is a user need? (a) a dark mode switch (b) a search bar (c) a reminder alarm (d) “I forget my homework”
- 20.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
-
21.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Meera (c) Hi, Riya -
22.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 2)); -
23.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(15) → expected 100
Test 3: price(5) → expected 50 - 24.🌗 Is red on green easy or hard to read on a button? (a) hard to read (b) easy to read
- 25.🐞 Finding and fixing bugs is called ___. (a) debugging (b) decorating (c) designing (d) downloading
- 26.💡 After a survey, which need should version 1 solve? (a) a random need (b) the newest trend (c) the most common need (d) the rarest need
- 27.True or false: an app has a web address. (a) True (b) False
- 28.🚀 Your app is at version 3.2.7. The next release adds a new feature. What is its version number? (a) 3.3.0 (b) 4.0.0 (c) 3.2.8 (d) 3.3.7
- 29.True or false: a wireframe is a quick sketch. (a) True (b) False
-
30.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Search → Results
Design B: Home → Cart → Pay → Confirm → Pens → Item → Address (a) Design B (b) Design A - 31.🛠️ At which stage do you share the download link? (a) the test stage (b) the build stage (c) the release stage (d) the plan stage
- 32.🧰 What does return do in a function? (a) closes the screen (b) deletes the app (c) sends back a value (d) repeats the code
- 33.📲 What happens when you tap an app’s icon? (a) the app opens (b) the app is deleted (c) the sound turns off (d) the phone charges
- 34.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) show the score (c) confetti effects (d) background music
- 35.🧪 A test case is an input together with its ___. (a) app icon (b) screen colour (c) expected result (d) font size
- 36.True or false: a blank grey screen solves a real problem. (a) False (b) True
- 37.Which of these is a user need? (a) “Small text is hard” (b) a search bar (c) a reminder alarm (d) a dark mode switch
- 38.🧩 Which input is best for turning something ON or OFF? (a) a title (b) a slider (c) a switch (d) a text box
- 39.🧪 A test fails when ___. (a) the app is new (b) actual is not expected (c) the font is big (d) both are the same
- 40.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) closes all apps (d) opens settings
Answer key
- 42
- add it to the cart
- pick the features
- camera app → camera
- a water reminder
- a mistake in the code
- True
- 455
- No
- a study-room finder
- 35
- 12
- so anyone can follow
- 96
- 3
- False
- a bill splitter
- tap “Sign up”
- “I forget my homework”
- poor design
- Hi, Meera
- 120
- 100
- hard to read
- debugging
- the most common need
- False
- 3.3.0
- True
- Design A
- the release stage
- sends back a value
- the app opens
- show the score
- expected result
- False
- “Small text is hard”
- a switch
- actual is not expected
- goes to the last screen
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students