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: the button colours is about UI (the look). (a) False (b) True
- 2.🔍 Which is the odd one out? (a) a buzz (vibration) (b) adding up a bill (c) a pop-up message (d) a beep sound
- 3.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) input (c) output
-
4.⚙️ What number does this app show?
let km = 7; // typed by the user
let metres = km * 1000;
show(metres); - 5.👆 An event in an app is ___. (a) an app store (b) something that happens (c) a kind of list (d) a colour theme
-
6.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 2)); - 7.💡 Does an app idea like a button with no action solve a real problem? (a) No (b) Yes
-
8.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right >= 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(9) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Try again -
9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 52; // start at 49
line 2: points = points + 2; // add 2
line 3: points = points - 4; // take away 4
line 4: points = points * 2; // double it
line 5: show(points); // show it (a) line 2 (b) line 4 (c) line 1 (d) line 3 -
10.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age < 9) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(9) → expected 100
Test 3: price(7) → expected 50 -
11.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Label: 21 px
Hint: 16 px
Title: 23 px
Menu: 14 px
Footer: 20 px (a) Hint (b) Title (c) Label (d) Menu - 12.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
-
13.🖼️ In this wireframe (top to bottom), what is right above the filter buttons?
[ search box ]
[ list of items ]
[ menu icon ]
[ filter buttons ] (a) menu icon (b) search box (c) list of items - 14.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
- 15.True or false: space between buttons is good button design. (a) False (b) True
- 16.👆 What kind of event is this: the user presses Save? (a) a load event (b) a timer event (c) a tap event (d) a text event
- 17.🗒️ When should nice-to-have features be built? (a) before anything (b) on day one (c) never (d) after the must-haves
- 18.👥 A library app has 290 readers, 295 librarians and 30 volunteers as users. How many users does it have in all?
-
19.🖼️ How many parts (boxes) does this wireframe have?
[ list of items ]
[ Save button ]
[ search box ]
[ top bar ] -
20.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Friend list”
3. tap the Feed tab
How many times must you tap Back to reach the main screen of this tab? -
21.🧩 Which of these is a button on this screen?
[title] Settings
[text box] Age
[slider] Brightness
[text box] Notes
[button] Cancel
[text box] Phone (a) Cancel (b) Notes (c) Phone (d) Age - 22.👥 A clinic app has 115 patients, 270 doctors and 95 nurses as users. How many users does it have in all?
- 23.True or false: a puzzle with levels is a tool app. (a) False (b) True
- 24.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
- 25.🎨 UI stands for user ___. (a) input (b) interface (c) internet (d) idea
-
26.🖼️ In this wireframe (top to bottom), what is right above the search box?
[ title text ]
[ search box ]
[ menu icon ]
[ top bar ]
[ Add button ]
[ big picture ] (a) big picture (b) Add button (c) menu icon (d) title text - 27.Which of these happens at the release stage? (a) write the store text (b) write down the bugs (c) spot a problem to solve (d) write the code
-
28.🔀 What number does this shop app show?
let total = 380;
if (total > 500) {
total = total - 50;
}
show(total); - 29.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
-
30.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 31.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) is easy to build (c) helps nobody well (d) wins every prize
- 32.True or false: you try every button at the test stage. (a) False (b) True
-
33.💾 What number does this code show?
let notes = ["Art", "Sports", "Maths", "Science"];
notes.push("Music");
show(notes.length); - 34.True or false: a website comes from an app store. (a) False (b) True
- 35.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
36.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(3) → expected Try again
Test 2: result(8) → expected Pass
Test 3: result(11) → expected Pass - 37.🔍 Which is the odd one out? (a) speaking a command (b) a result on screen (c) typing your age (d) tapping a button
- 38.True or false: tap to go Next is a button. (a) True (b) False
- 39.True or false: the screen first opens is a timer event. (a) False (b) True
- 40.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
Answer key
- True
- adding up a bill
- output
- 7000
- something that happens
- 70
- No
- 3
- line 1
- 50
- Menu
- pencil and paper
- menu icon
- an app
- True
- a tap event
- after the must-haves
- 615
- 4
- 0
- Cancel
- 480
- False
- add money received
- interface
- title text
- write the store text
- 380
- a website
- Ask a parent
- helps nobody well
- True
- 5
- False
- in the cloud
- 3
- a result on screen
- True
- False
- greater than or equal
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students