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.🗒️ Version 1 of a pocket-money tracker must be ready in 11 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 2 days
show the balance: 4 days -
2.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Welcome, nameBox.text! (b) Welcome! (c) Riya (d) Welcome, Riya! - 3.📅 An app team plans for 3 days, builds for 7 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
-
4.🧪 One test case fails. Which one?
🚚 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(1000) → expected 0
Test 2: delivery(800) → expected 0
Test 3: delivery(650) → expected 40 (a) Test 2 (b) Test 1 (c) Test 3 -
5.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 6)); -
6.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Size → Confirm → Shop
Design B: Home → Address → Menu → Pay → Search → Results → Pens (a) Design B (b) Design A -
7.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 72 px tall
Next button: 48 px tall
Done button: 40 px tall (a) Send (b) Done (c) Next - 8.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) contacts (c) location (d) the camera
-
9.🐞 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 32
line 2: coins = coins * 2; // double it
line 3: coins = coins + 2; // add 2
line 4: show(coins); // show it - 10.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “see if it is right”? (a) see if it is right (b) tap “Start quiz”
- 11.🚀 Which version is newer: 1.4.10 or 1.4.7? (a) 1.4.7 (b) 1.4.10
- 12.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) take the photo (c) post the photo (d) write a caption
- 13.🔍 Which is the odd one out? (a) list what users need (b) spot a problem to solve (c) pick the features (d) talk to possible users
- 14.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) MVP (d) CPU
-
15.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Confirm → Cart → Menu → Results → Offers → Shop
Design B: Home → Search → Cart → Size → Offers → Pay (a) Design A (b) Design B -
16.🔀 What does this PIN rule show?
let pin = "1379";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 17.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) enter the code sent (c) open the app (d) see the home screen
- 18.🧩 In an app, what is a date picker? (a) an input (b) data (c) a button (d) a screen
-
19.🔁 What number does this code show?
let runs = [17, 1, 3, 2, 19];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 20.🚀 Your app is at version 4.6.2. The next release adds a new feature. What is its version number? (a) 4.6.3 (b) 4.7.0 (c) 5.0.0 (d) 4.7.2
-
21.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ top bar ]
[ title text ]
[ search box ]
[ Save button ]
[ list of items ] (a) title text (b) Save button (c) list of items (d) search box - 22.Which of these is a user need? (a) a search bar (b) “I keep missing the bus” (c) a dark mode switch (d) a share button
-
23.⚙️ What number does this app show?
let price = 30; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 24.♿ Accessibility means an app works for ___. (a) nobody (b) only the coder (c) everyone (d) only experts
- 25.🧭 Which part of navigation goes to the last screen? (a) a tab bar (b) a menu button (c) the back button
- 26.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
- 27.📱 Which one opens from a link: an app or a website? (a) a website (b) an app
- 28.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
- 29.♿ A screen has 7 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
- 30.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) show the balance (b) pie-chart colours (c) savings stickers (d) export to a file
- 31.True or false: icons with no meaning is good button design. (a) False (b) True
-
32.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Notes
[text box] Due date
[slider] Brightness
[button] Cancel - 33.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 34.True or false: a wireframe uses plain grey boxes. (a) True (b) False
-
35.🧪 How many of these test cases pass?
📝 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(6) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(4) → expected Try again - 36.True or false: “tiny tap areas” makes the app harder to use. (a) True (b) False
- 37.Which of these is an input? (a) your high score (b) tap to Save (c) a slider for volume (d) your friends list
- 38.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra
-
39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 42; // start at 39
line 2: points = points * 2; // double it
line 3: points = points - 5; // take away 5
line 4: show(points); // show it (a) line 2 (b) line 1 (c) line 3 -
40.🔁 What number does this code show?
let marks = [20, 72, 43];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 70) {
count = count + 1;
}
}
show(count);
Answer key
- 4
- Welcome, Riya!
- 13
- Test 2
- 300
- Design A
- Done
- the camera
- 66
- tap “Start quiz”
- 1.4.10
- write a caption
- pick the features
- MVP
- Design B
- PIN saved
- open the app
- an input
- 19
- 4.7.0
- list of items
- “I keep missing the bus”
- 150
- everyone
- the back button
- good design
- a website
- UX
- 6
- show the balance
- False
- 1
- hard to read
- True
- 3
- True
- a slider for volume
- missing a must-have
- line 1
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students