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 app idea solves this problem: bottles go missing at school? (a) a bill splitter (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
- 2.🔢 In a food-order flow, which comes FIRST? (a) open the menu (b) add it to the cart (c) track the order (d) pick a dish
-
3.🧪 What is the ACTUAL result of Test 1?
🚚 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(150) → expected 40
Test 3: delivery(600) → expected 0 -
4.💾 What does this code show? (Positions start at 0.)
let notes = ["Music", "Hindi", "Maths", "Science", "Sports"];
show(notes[4]); (a) Music (b) Sports (c) Maths (d) Hindi -
5.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Results → Offers → Search → Size → Pay
Design B: Home → Search → Menu → Cart - 6.True or false: your last game level fits saving in the cloud. (a) False (b) True
- 7.🔍 Which is the odd one out? (a) tiny tap areas (b) fast-flashing lights (c) captions on videos (d) sudden loud sounds
- 8.True or false: checking a password is an output. (a) False (b) True
- 9.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
- 10.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) True (b) False
-
11.🔁 What number does this code show?
let runs = [5, 13, 12, 3];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); -
12.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age < 9) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 100
Test 2: price(12) → expected 100
Test 3: price(6) → expected 50 - 13.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) a nice extra (c) ready to release (d) well planned
- 14.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a water reminder (c) a homework planner (d) a big-text reader
-
15.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(15) → expected 100
Test 3: price(8) → expected 50 -
16.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(45, 6)); - 17.🎯 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
- 18.🔢 In a food-order flow, which comes first: “pick a dish” or “pay for the order”? (a) pick a dish (b) pay for the order
- 19.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
- 20.True or false: typing your age is an input. (a) False (b) True
-
21.🔁 What number does this code show?
let scores = [1, 20, 9, 12, 5];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
22.🔁 What number does this code show?
let scores = [19, 17, 14, 3];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
23.💾 pop() takes off the last item. What does this code show?
let friends = ["Kabir", "Meera", "Zoya"];
friends.pop();
show(friends[friends.length - 1]); (a) Zoya (b) Meera (c) Kabir - 24.🧪 A test fails when ___. (a) actual is not expected (b) the font is big (c) the app is new (d) both are the same
- 25.👥 A school app has 290 students, 245 teachers and 185 parents as users. Which user group is the biggest? (a) students (b) teachers (c) parents
- 26.🔀 What does if / else let an app do? (a) save a photo (b) repeat forever (c) draw a screen (d) pick one of two actions
-
27.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
28.🔀 What does this sign-up rule show?
let age = 17;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 29.True or false: one second passes is a tap event. (a) True (b) False
- 30.👥 A school app has 75 students, 180 teachers and 230 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
- 31.👥 A school app has 150 students, 180 teachers and 55 parents as users. Which user group is the biggest? (a) students (b) teachers (c) parents
-
32.🚀 Which of these versions is the NEWEST?
1.6.9, 1.18.7, 1.17.8, 0.26.2 (a) 0.26.2 (b) 1.17.8 (c) 1.6.9 (d) 1.18.7 - 33.📱 Which one needs no installing: an app or a website? (a) a website (b) an app
- 34.🧩 In an app, what is a date picker? (a) a screen (b) a button (c) data (d) an input
- 35.True or false: a page of random dots solves no real problem. (a) True (b) False
- 36.♿ A screen has 7 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 37.🎨 Is this about UI or UX: the icon shapes? (a) UI (b) UX
- 38.🔢 In a sign-up flow, which comes first: “see the home screen” or “type name and email”? (a) type name and email (b) see the home screen
-
39.🔀 Which badge does this quiz app show?
let marks = 59;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver - 40.🛠️ At which stage do you add the buttons? (a) the test stage (b) the release stage (c) the plan stage (d) the build stage
Answer key
- a lost-and-found board
- open the menu
- 40
- Sports
- 2
- False
- captions on videos
- False
- helps everyone
- True
- 13
- 3
- missing a must-have
- a pocket-money tracker
- 100
- 270
- the people who use it
- pick a dish
- fair
- True
- 20
- 19
- Meera
- actual is not expected
- students
- pick one of two actions
- Ask a parent
- Welcome!
- False
- parents
- teachers
- 1.18.7
- a website
- an input
- True
- 5
- UI
- type name and email
- Silver
- the build stage
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students