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 badge does this quiz app show?
let marks = 82;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver - 2.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
-
3.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 51; // start at 49
line 2: score = score + 3; // add 3
line 3: score = score + 3; // add 3
line 4: show(score); // show it - 4.True or false: strong colour contrast is good button design. (a) False (b) True
- 5.♿ What does a screen reader do? (a) takes photos (b) makes text tiny (c) reads the screen aloud (d) plays music
- 6.🔐 A torch app asks for your contacts. What should you do? (a) deny it (b) post them online (c) allow it (d) share them all
-
7.🔀 What number does this shop app show?
let total = 550;
if (total > 500) {
total = total - 50;
}
show(total); -
8.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(4)); - 9.🛠️ At which stage do you sketch the screens? (a) the build stage (b) the plan stage (c) the test stage (d) the release stage
-
10.🧪 One test case fails. Which one?
🚚 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(750) → expected 40
Test 3: delivery(800) → expected 0 (a) Test 3 (b) Test 1 (c) Test 2 -
11.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
12.💾 pop() takes off the last item. What does this code show?
let songs = ["Monsoon", "Sunrise", "Rain"];
songs.pop();
show(songs[songs.length - 1]); (a) Monsoon (b) Sunrise (c) Rain -
13.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(8) → expected 100
Test 2: price(5) → expected 50
Test 3: price(10) → expected 100 -
14.🔁 What number does this code show?
let scores = [96, 82, 73, 66];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 15.🧩 In an app, what is tap to Save? (a) data (b) a screen (c) a button (d) an input
- 16.True or false: you pick the features at the plan stage. (a) True (b) False
- 17.💡 Which app idea solves this problem: bottles go missing at school? (a) a homework planner (b) a lost-and-found board (c) a medicine reminder (d) a bill splitter
- 18.Which of these requests is fair? (a) timer → your photos (b) calling app → contacts (c) calculator → location (d) quiz app → microphone
- 19.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
-
20.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(0)); -
21.🔀 What does this battery rule show?
let battery = 71;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 22.🔢 After an app is released, what comes right after “test it again”? (a) fix and improve (b) release an update (c) read user reviews (d) list what to fix
- 23.True or false: notes to read offline fits saving on the phone. (a) True (b) False
- 24.True or false: a word battle is a game. (a) False (b) True
-
25.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Meera", "Arjun", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Arjun (d) Hi, Kabir - 26.True or false: a bill splitter solves a real problem. (a) False (b) True
- 27.True or false: chat messages to friends fits saving in the cloud. (a) True (b) False
- 28.🔢 In a sign-up flow, which comes first: “see the home screen” or “open the app”? (a) see the home screen (b) open the app
- 29.True or false: a step counter is a learning app. (a) False (b) True
-
30.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Confirm → Size → Results → Offers
Design B: Home → Menu → Shop → Size → Pay → Pens (a) Design A (b) Design B - 31.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) add a homework task (d) earn stickers
- 32.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
-
33.💾 What number does this code show?
let friends = ["Kabir", "Zoya", "Riya"];
friends.push("Aman");
show(friends.length); -
34.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(300) → expected 0
Test 2: delivery(450) → expected 0
Test 3: delivery(200) → expected 40 - 35.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
-
36.💾 What number does this code show?
let songs = ["Sunrise", "Rain", "Monsoon", "Kites"];
songs.push("Ocean");
songs.push("Stars");
show(songs.length); - 37.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) show arrival time
- 38.🔢 In a food-order flow, which comes LAST? (a) pick a dish (b) pay for the order (c) track the order (d) add it to the cart
- 39.👥 A cricket club app has 250 players, 215 coaches and 245 fans as users. How many users does it have in all?
- 40.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a homework planner (c) a lost-and-found board (d) a bill splitter
Answer key
- Gold
- a website
- 57
- True
- reads the screen aloud
- deny it
- 500
- 60
- the plan stage
- Test 3
- 3
- Sunrise
- 100
- 3
- a button
- True
- a lost-and-found board
- calling app → contacts
- No
- 30
- Battery OK
- release an update
- True
- True
- Hi, Riya
- True
- True
- open the app
- False
- Design A
- earn stickers
- Yes
- 4
- 0
- Yes
- 6
- show arrival time
- track the order
- 710
- a bill splitter
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students