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: space between buttons is poor button design. (a) True (b) False
- 2.Which of these is about UX (the experience)? (a) the theme colours (b) the screen layout (c) how users feel after (d) the icon shapes
- 3.Which of these is a feature? (a) “I keep missing the bus” (b) a share button (c) “What should I cook?” (d) “I forget my homework”
-
4.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 45; // start at 44
line 2: lives = lives - 5; // take away 5
line 3: lives = lives - 2; // take away 2
line 4: lives = lives + 5; // add 5
line 5: show(lives); // show it -
5.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[button] Back
[button] Done
[button] Cancel
[text box] Age
[switch] Sound -
6.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 48 px tall
Next button: 64 px tall
Start button: 36 px tall
Cancel button: 56 px tall - 7.💡 Does an app idea like a library due-date alert solve a real problem? (a) No (b) Yes
-
8.🗒️ Version 1 of a pocket-money tracker must be ready in 6 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 1 days
show the balance: 2 days - 9.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) open the app (c) enter the code sent (d) tap “Sign up”
- 10.True or false: grey text on grey is poor button design. (a) True (b) False
-
11.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Shop → Pens → Pay
Design B: Home → Pens → Pay → Shop → Search -
12.🔀 Which badge does this quiz app show?
let marks = 26;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold -
13.🖼️ In this wireframe (top to bottom), what is right below the Add button?
[ top bar ]
[ menu icon ]
[ Add button ]
[ big picture ] (a) menu icon (b) big picture (c) top bar - 14.💾 Where should the app save photos on two devices: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 15.📱 Which one comes from an app store: an app or a website? (a) an app (b) a website
-
16.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 4 days
show the balance: 2 days -
17.⚙️ What number does this app show?
let price = 35; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total); - 18.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) === (c) => (d) =
- 19.🚀 Your app is at version 1.9.6. The next release fixes a small bug. What is its version number? (a) 2.0.0 (b) 1.10.0 (c) 1.10.6 (d) 1.9.7
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 6; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 2 (c) line 1 - 21.Which of these is true of a final design? (a) uses the final pictures (b) has no real colours (c) is a quick sketch (d) shows where things go
-
22.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Arjun (b) Well done! (c) Well done, nameBox.text! (d) Well done, Arjun! - 23.True or false: a draft you are typing fits saving on the phone. (a) False (b) True
- 24.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) saves the battery (d) changes the phone
-
25.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(11) → expected 100
Test 3: price(9) → expected 50 -
26.🧩 Which of these is a button on this screen?
[title] New Note
[switch] Remind me
[button] Save
[text box] Notes (a) Notes (b) Remind me (c) Save - 27.🔢 In a sign-up flow, which comes first: “type name and email” or “see the home screen”? (a) see the home screen (b) type name and email
-
28.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(2) + fee(8)); -
29.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(0)); - 30.🔢 After an app is released, what comes right after “list what to fix”? (a) read user reviews (b) test it again (c) release an update (d) fix and improve
-
31.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Kabir (b) Hi! (c) Hi, Kabir! (d) Hi, nameBox.text! - 32.🔢 In a sign-up flow, which comes first: “make a password” or “open the app”? (a) make a password (b) open the app
- 33.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
- 34.True or false: a wireframe uses plain grey boxes. (a) True (b) False
- 35.Which of these happens at the idea stage? (a) talk to possible users (b) pick the features (c) sketch the screens (d) draw the user flow
- 36.🎯 Which app would help this user most: a pupil juggling five projects? (a) a recipe finder (b) a homework planner (c) a pocket-money tracker (d) a big-text reader
- 37.True or false: a website has a home-screen icon. (a) False (b) True
- 38.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a closed app (c) delete this (d) a picture goes here
-
39.🔀 What does this PIN rule show?
let pin = "695";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
40.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Zoya", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Kabir
Answer key
- False
- how users feel after
- a share button
- 43
- 2
- 3
- Yes
- 1
- open the app
- True
- 1
- Bronze
- big picture
- in the cloud
- an app
- 2
- 140
- ===
- 1.9.7
- line 2
- uses the final pictures
- Well done, Arjun!
- True
- starts an action
- 50
- Save
- type name and email
- 50
- 30
- fix and improve
- Hi, Kabir!
- open the app
- debugging
- True
- talk to possible users
- a homework planner
- False
- a picture goes here
- Use 4 digits
- Hi, Meera
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students