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.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
- 2.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) take the photo (b) post the photo
- 3.Which colour pair is easy to read? (a) yellow on white (b) white on dark green (c) pale pink on white (d) red on green
-
4.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
wasting pocket money: 5 votes
losing water bottles: 6 votes
forgetting homework: 24 votes -
5.👆 The user taps the button 5 times. What number does the label show now?
let stars = 10;
button.onTap = function () {
stars = stars + 1;
label.text = stars;
}; - 6.🧰 What does return do in a function? (a) closes the screen (b) repeats the code (c) sends back a value (d) deletes the app
- 7.Which colour pair is easy to read? (a) pale pink on white (b) dark blue on black (c) light grey on white (d) black on pale grey
- 8.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) buy a new phone (c) find where it goes wrong (d) add more colours
-
9.🔀 What number does this shop app show?
let total = 620;
if (total > 500) {
total = total - 50;
}
show(total); -
10.💾 What number does this code show?
let friends = ["Arjun", "Riya", "Aman"];
friends.push("Meera");
show(friends.length); - 11.💡 Which app idea solves this problem: a team shares one snack bill? (a) a medicine reminder (b) a bill splitter (c) a study-room finder (d) a homework planner
- 12.🔘 Our rule: buttons are at least 48 px tall. The Next button is 44 px tall. How many px taller must it be?
-
13.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 70; // typed by the user
line 2: let qty = 5; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 4 (c) line 2 (d) line 1 - 14.👆 What kind of event is this: the search box changes? (a) a timer event (b) a tap event (c) a text event (d) a load event
- 15.Which of these is about UX (the experience)? (a) the icon shapes (b) the font size (c) the button colours (d) how fast a task is done
-
16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap the Home tab
3. open “Score card”
4. tap Back
5. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 17.💡 Does an app idea like a button with no action solve a real problem? (a) No (b) Yes
- 18.🔍 Which is the odd one out? (a) checking a password (b) working out a tip (c) a buzz (vibration) (d) sorting the scores
-
19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 52; // start at 50
line 2: points = points + 6; // add 6
line 3: points = points - 3; // take away 3
line 4: show(points); // show it - 20.True or false: the home page of an app is a screen. (a) True (b) False
-
21.🧪 What is the ACTUAL result of Test 2?
🚚 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(800) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(600) → expected 40 -
22.💾 What number does this code show?
let friends = ["Meera", "Riya"];
friends.push("Zoya");
friends.push("Aman");
show(friends.length); - 23.True or false: a draft you are typing fits saving on the phone. (a) False (b) True
-
24.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Meera", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Zoya (c) Hi, Arjun -
25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 35; // start at 32
line 2: lives = lives * 2; // double it
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it -
26.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 27.👥 A cricket club app has 270 players, 110 coaches and 195 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
-
28.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 22 votes
no quiet study place: 8 votes
losing water bottles: 14 votes (a) forgetting homework (b) losing water bottles (c) no quiet study place - 29.🔢 In a food-order flow, which comes first: “check the cart” or “open the menu”? (a) open the menu (b) check the cart
-
30.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 33; // start at 33
line 2: score = score + 1; // take away 1
line 3: score = score * 2; // double it
line 4: show(score); // show it -
31.🧪 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(950) → expected 0
Test 2: delivery(600) → expected 40
Test 3: delivery(900) → expected 0 - 32.🔢 After an app is released, what comes right after “read user reviews”? (a) fix and improve (b) list what to fix (c) test it again (d) release an update
- 33.True or false: a finger hits Like is a timer event. (a) False (b) True
- 34.🗒️ What is a must-have feature? (a) one the app cannot skip (b) a sound effect (c) a nice extra (d) a colour theme
-
35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. tap Back
3. open “Map”
4. tap the Lessons tab
5. open “Edit photo”
Which screen are you on now? (a) Edit photo (b) Lessons (c) Map (d) Score card -
36.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Search → Size → Shop → Results → Pens → Menu
Design B: Home → Address → Cart → Item -
37.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(5)); - 38.👥 A cricket club app has 130 players, 90 coaches and 230 fans as users. How many users does it have in all?
- 39.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) see tasks by day (d) share tasks to friends
-
40.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Kabir (b) Well done, nameBox.text! (c) Well done, Kabir! (d) Well done!
Answer key
- Yes
- take the photo
- white on dark green
- 18
- 15
- sends back a value
- black on pale grey
- find where it goes wrong
- 570
- 4
- a bill splitter
- 4
- line 3
- a text event
- how fast a task is done
- 1
- No
- a buzz (vibration)
- 53
- True
- 0
- 4
- True
- Hi, Zoya
- 128
- 1
- players
- forgetting homework
- open the menu
- 64
- 3
- list what to fix
- False
- one the app cannot skip
- Edit photo
- 6
- 90
- 450
- share tasks to friends
- Well done, Kabir!
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students