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.🎨 A beautiful app that confuses everyone has ___. (a) good UX but poor UI (b) no UI at all (c) good UI but poor UX (d) perfect UX
-
2.🔀 What does this PIN rule show?
let pin = "8523";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 3.👆 What kind of event is this: a 5-minute alarm ends? (a) a load event (b) a timer event (c) a tap event (d) a text event
- 4.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) only the coders (d) the people who use it
-
5.🧪 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(1050) → expected 0
Test 2: delivery(750) → expected 40
Test 3: delivery(1200) → expected 0 - 6.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) input (c) output
- 7.Which of these fits saving in the cloud? (a) a shared to-do list (b) your last game level (c) the sound on/off setting (d) notes to read offline
- 8.👆 What kind of event is this: a finger hits Like? (a) a timer event (b) a load event (c) a text event (d) a tap event
- 9.👥 A cricket club app has 150 players, 140 coaches and 85 fans as users. How many more coaches than fans are there?
- 10.🗂️ What kind of app is a cricket run chase? (a) a health app (b) a tool app (c) a game (d) a learning app
-
11.💾 What number does this code show?
let points = 4;
points = points - 3;
points = points + 3;
show(points); -
12.🔀 What number does this shop app show?
let total = 250;
if (total > 500) {
total = total - 50;
}
show(total); - 13.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) edge cases (c) old cases (d) phone cases
-
14.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 1 days
pick your bus stop: 2 days -
15.🔀 What does this battery rule show?
let battery = 1;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
16.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(2) → expected Try again (a) Test 1 (b) Test 3 (c) Test 2 - 17.🔍 Which is the odd one out? (a) let friends try it (b) sketch the screens (c) write down the bugs (d) try every button
- 18.🧰 How do you run (call) a function called greet? (a) greet[] (b) run greet (c) #greet (d) greet()
- 19.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) savings stickers (c) add money spent (d) show the balance
- 20.Which of these is about UI (the look)? (a) how fast a task is done (b) whether users get lost (c) the screen layout (d) how users feel after
-
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 42; // start at 42
line 2: lives = lives - 2; // take away 2
line 3: lives = lives * 3; // double it
line 4: lives = lives + 6; // add 6
line 5: show(lives); // show it -
22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 40; // start at 40
line 2: score = score - 7; // take away 5
line 3: score = score + 2; // add 2
line 4: show(score); // show it - 23.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
- 24.🛠️ At which stage do you share the download link? (a) the test stage (b) the release stage (c) the build stage (d) the idea stage
-
25.🖼️ How many parts (boxes) does this wireframe have?
[ search box ]
[ list of items ]
[ menu icon ]
[ big picture ]
[ top bar ] - 26.🔘 Our rule: buttons are at least 48 px tall. The Back button is 20 px tall. How many px taller must it be?
- 27.🔢 In a food-order flow, which comes LAST? (a) pick a dish (b) track the order (c) open the menu (d) add it to the cart
- 28.🗒️ When should nice-to-have features be built? (a) on day one (b) before anything (c) after the must-haves (d) never
-
29.🔁 What number does this code show?
let scores = [8, 12, 16, 12, 3];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 30.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a pocket-money tracker (b) a big-text reader (c) a recipe finder (d) a water reminder
- 31.📅 An app team plans for 3 days, builds for 12 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
- 32.True or false: how users feel after is about UX (the experience). (a) True (b) False
-
33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[button] Send
[slider] Brightness
[text box] Email
[switch] Show hints - 34.True or false: you add the buttons at the test stage. (a) True (b) False
- 35.🔢 When you make an app, which comes first: “build the app” or “test the app”? (a) test the app (b) build the app
-
36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 52 px tall
Help button: 68 px tall
Save button: 32 px tall (a) Save (b) Send (c) Help - 37.Which of these is true of a wireframe? (a) has no real colours (b) looks like the real app (c) has the real colours (d) shows the real fonts
- 38.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a bill splitter (c) a medicine reminder (d) a study-room finder
- 39.True or false: a sleep tracker is a learning app. (a) True (b) False
- 40.🔐 Which permission does a walking map really need? (a) contacts (b) location (c) the camera (d) the microphone
Answer key
- good UI but poor UX
- PIN saved
- a timer event
- the people who use it
- 40
- input
- a shared to-do list
- a tap event
- 55
- a game
- 4
- 250
- edge cases
- 6
- Low battery
- Test 1
- sketch the screens
- greet()
- savings stickers
- the screen layout
- 126
- 37
- makes it harder
- the release stage
- 5
- 28
- track the order
- after the must-haves
- 51
- a pocket-money tracker
- 11
- True
- 3
- False
- build the app
- Save
- has no real colours
- a study-room finder
- False
- location
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students