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 of these is true of a website? (a) comes from an app store (b) opens from a link (c) is installed on a phone (d) has a home-screen icon
- 2.🚀 Your app is at version 3.2.9. The next release fixes a small bug. What is its version number? (a) 3.3.9 (b) 3.2.10 (c) 4.0.0 (d) 3.3.0
- 3.🔢 When you make an app, which comes FIRST? (a) test the app (b) release it (c) plan the screens (d) get an idea
-
4.🧩 How many buttons does this app screen have?
[title] New Note
[button] Help
[switch] Remind me
[text box] Name
[slider] Brightness
[button] Send
[text box] Email
[text box] Age - 5.Which of these fits saving on the phone? (a) photos on two devices (b) your last game level (c) chat messages to friends (d) a class leaderboard
- 6.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) change the bus icon (c) see where the bus is (d) rate the driver
- 7.Which of these is an output? (a) sorting the scores (b) taking a photo (c) a result on screen (d) working out a tip
- 8.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) tab bar (d) dead end
- 9.Which of these is true of a final design? (a) uses plain grey boxes (b) looks like the real app (c) has no real colours (d) shows where things go
- 10.True or false: strong colour contrast is poor button design. (a) True (b) False
-
11.👆 The user taps the button 2 times. What number does the label show now?
let coins = 7;
button.onTap = function () {
coins = coins + 3;
label.text = coins;
}; -
12.🔁 What number does this code show?
let scores = [5, 10, 7, 13, 5];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 13.📅 An app team plans for 3 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 14.🧭 Which part of navigation shows 3 to 5 icons? (a) a tab bar (b) the back button (c) a menu button
- 15.⚙️ In an app, is a pop-up message an input, processing or an output? (a) input (b) output (c) processing
-
16.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(450) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(500) → expected 0 -
17.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Address → Offers → Pens → Menu
Design B: Home → Pens → Results - 18.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 19.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a bus tracker (b) a big-text reader (c) a water reminder (d) a homework planner
- 20.👥 A school app has 145 students, 120 teachers and 265 parents as users. How many users does it have in all?
-
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 41; // start at 41
line 2: coins = coins * 2; // double it
line 3: coins = coins + 5; // add 4
line 4: show(coins); // show it (a) line 1 (b) line 3 (c) line 2 -
22.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Aman")); (a) Aman (b) greet (c) Hi, name! (d) Hi, Aman! -
23.💾 pop() takes off the last item. What does this code show?
let friends = ["Zoya", "Riya", "Arjun", "Kabir", "Meera"];
friends.pop();
show(friends[friends.length - 1]); (a) Riya (b) Arjun (c) Zoya (d) Kabir - 24.Which of these is about UI (the look)? (a) how easy sign-up is (b) the icon shapes (c) how many taps it takes (d) how users feel after
-
25.🖼️ How many parts (boxes) does this wireframe have?
[ search box ]
[ filter buttons ]
[ big picture ]
[ Add button ] - 26.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) repeats the code (d) deletes the app
- 27.⚙️ In an app, is sorting the scores an input, processing or an output? (a) input (b) output (c) processing
- 28.🔢 In a sign-up flow, which comes first: “see the home screen” or “tap “Sign up””? (a) see the home screen (b) tap “Sign up”
-
29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 34; // start at 34
line 2: coins = coins + 4; // add 4
line 3: coins = coins + 3; // take away 3
line 4: show(coins); // show it -
30.🧩 Which of these is a button on this screen?
[title] Sign Up
[slider] Brightness
[text box] Subject
[button] Help
[text box] Due date
[button] Save (a) Brightness (b) Subject (c) Help (d) Due date - 31.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) rate the driver (c) pick your bus stop (d) show arrival time
-
32.🧪 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(7) → expected 50
Test 2: price(8) → expected 100
Test 3: price(11) → expected 100 - 33.True or false: a spelling coach is a learning app. (a) True (b) False
-
34.🔀 What does this battery rule show?
let battery = 90;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 35.Which of these is data? (a) a switch for dark mode (b) the game-over page (c) today’s step count (d) a slider for volume
- 36.True or false: the app starts up is a timer event. (a) False (b) True
-
37.🔁 What number does this code show?
let steps = [26, 95, 50, 67, 66];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 40) {
count = count + 1;
}
}
show(count); - 38.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
- 39.Which of these happens at the build stage? (a) write down the bugs (b) sketch the screens (c) add the buttons (d) try every button
- 40.🎨 UX stands for user ___. (a) example (b) express (c) extra (d) experience
Answer key
- opens from a link
- 3.2.10
- get an idea
- 2
- your last game level
- see where the bus is
- a result on screen
- dead end
- looks like the real app
- False
- 13
- 13
- 14
- a tab bar
- output
- 0
- 2
- a wireframe
- a homework planner
- 530
- line 3
- Hi, Aman!
- Kabir
- the icon shapes
- 4
- sends back a value
- processing
- tap “Sign up”
- 35
- Help
- rate the driver
- 50
- True
- Battery OK
- today’s step count
- False
- 4
- a user need
- add the buttons
- experience
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students