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.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
- 2.True or false: buttons almost touching is poor button design. (a) True (b) False
- 3.👆 What kind of event is this: a countdown hits zero? (a) a text event (b) a tap event (c) a load event (d) a timer event
-
4.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 37; // start at 35
line 2: coins = coins + 5; // add 5
line 3: coins = coins + 2; // add 2
line 4: coins = coins - 3; // take away 3
line 5: show(coins); // show it - 5.🎯 What is the best first step to learn what users need? (a) write the code (b) pick the colours (c) ask and watch users (d) guess on your own
-
6.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 5)); - 7.⚙️ In an app, is a result on screen an input, processing or an output? (a) processing (b) input (c) output
-
8.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ title text ]
[ filter buttons ]
[ list of items ]
[ menu icon ]
[ top bar ] (a) title text (b) filter buttons (c) top bar (d) menu icon - 9.🔍 Which is the odd one out? (a) a result on screen (b) a beep sound (c) a buzz (vibration) (d) typing your age
- 10.🧩 Which part lets the user give the app information? (a) an input (b) an icon (c) a title (d) a logo
- 11.🧭 Where is a tab bar usually placed in a phone app? (a) in the middle (b) at the bottom (c) inside a button (d) nowhere
-
12.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Zoya", "Meera", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Zoya (c) Hi, Meera (d) Hi, Arjun -
13.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 700) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(900) → expected 0
Test 3: delivery(600) → expected 40 - 14.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a water reminder (b) a homework planner (c) a bus tracker (d) a recipe finder
- 15.🔍 Which is the odd one out? (a) a sleep tracker (b) a torch (c) a step counter (d) a water reminder
-
16.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 17.🔢 In a food-order flow, what comes right after “open the menu”? (a) check the cart (b) pick a dish (c) pay for the order (d) add it to the cart
-
18.🔀 What number does this shop app show?
let total = 330;
if (total > 500) {
total = total - 50;
}
show(total); - 19.True or false: you write the store text at the release stage. (a) True (b) False
- 20.💾 Which can hold many values in order? (a) a list (b) a single number (c) a switch (d) a button
-
21.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 8 votes
forgetting homework: 10 votes
losing water bottles: 21 votes -
22.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(75, 2)); - 23.🎨 Who should you test the UX with? (a) nobody (b) only yourself (c) real users (d) the app icon
- 24.True or false: a page of random dots solves a real problem. (a) True (b) False
- 25.✏️ What is a wireframe? (a) a type of password (b) a simple screen sketch (c) the finished app (d) a charging cable
- 26.🎯 What is a user need? (a) a colour theme (b) a type of button (c) a phone setting (d) a problem a user has
- 27.True or false: tap to Save is an input. (a) True (b) False
- 28.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the release stage (c) the idea stage (d) the test stage
-
29.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 190; // typed by the user
line 2: let off = 50; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 4 (c) line 2 (d) line 1 - 30.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
-
31.🚀 Which of these versions is the OLDEST?
1.2.8, 1.18.9, 0.20.9, 1.10.5 (a) 1.18.9 (b) 0.20.9 (c) 1.10.5 (d) 1.2.8 -
32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. open “Edit photo”
3. tap the Profile tab
Which screen are you on now? (a) Edit photo (b) Home (c) Profile (d) Score card -
33.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 48; // start at 45
line 2: score = score - 3; // take away 3
line 3: score = score - 5; // take away 5
line 4: score = score - 3; // take away 3
line 5: show(score); // show it - 35.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) a dark mode (c) change the bus icon (d) pick your bus stop
- 36.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) share your streak (c) set a reminder time (d) custom alert sounds
-
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 45; // start at 44
line 2: points = points + 6; // add 6
line 3: points = points - 3; // take away 3
line 4: points = points * 2; // double it
line 5: show(points); // show it -
38.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ search box ]
[ filter buttons ]
[ big picture ] -
39.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 17 px
Footer: 14 px
Title: 20 px (a) Footer (b) Hint (c) Title - 40.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “type name and email”? (a) type name and email (b) tap “Sign up”
Answer key
- True
- True
- a timer event
- 41
- ask and watch users
- 250
- output
- top bar
- typing your age
- an input
- at the bottom
- Hi, Kabir
- 0
- a homework planner
- a torch
- Ask a parent
- pick a dish
- 330
- True
- a list
- 39
- 150
- real users
- False
- a simple screen sketch
- a problem a user has
- False
- the release stage
- line 3
- Yes
- 0.20.9
- Profile
- 1
- 34
- pick your bus stop
- set a reminder time
- 94
- 4
- Footer
- tap “Sign up”
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students