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.🧰 What does return do in a function? (a) deletes the app (b) sends back a value (c) repeats the code (d) closes the screen
- 2.🐞 After fixing a bug you should ___. (a) never test (b) test it again (c) release at once (d) delete the test
- 3.True or false: a big, easy tap area is good button design. (a) False (b) True
- 4.🧩 What do we call one full page of an app? (a) a cable (b) a battery (c) a variable (d) a screen
- 5.👆 “On tap → do this” links an event to ___. (a) an action (b) a web address (c) a charger (d) a font
- 6.Which of these is true of an app? (a) has a home-screen icon (b) has a web address (c) opens in a web browser (d) needs no installing
-
7.🔁 What number does this code show?
let marks = [79, 96, 69, 61, 50];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 60) {
count = count + 1;
}
}
show(count); - 8.🔘 Is this good or poor button design: icons with no meaning? (a) poor design (b) good design
-
9.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 17 px
Label: 12 px
Title: 20 px (a) Label (b) Title (c) Menu - 10.Which colour pair is easy to read? (a) dark blue on black (b) dark blue on white (c) light grey on white (d) pale pink on white
- 11.🗂️ What kind of app is a times-table quiz? (a) a tool app (b) a health app (c) a learning app (d) a game
- 12.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) edge cases (c) easy cases (d) phone cases
- 13.True or false: tap to Send is data. (a) False (b) True
-
14.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[slider] Text size
[button] Done
[button] Help
[button] Save
[text box] City - 15.🔢 In a sign-up flow, which comes first: “open the app” or “make a password”? (a) open the app (b) make a password
- 16.Which of these is an output? (a) typing your age (b) a buzz (vibration) (c) taking a photo (d) adding up a bill
-
17.👆 The user taps the button 5 times. What number does the label show now?
let score = 6;
button.onTap = function () {
score = score + 4;
label.text = score;
}; - 18.👥 A library app has 235 readers, 290 librarians and 175 volunteers as users. How many users does it have in all?
-
19.🔀 What number does this shop app show?
let total = 590;
if (total > 500) {
total = total - 50;
}
show(total); - 20.🎨 Is this about UI or UX: the theme colours? (a) UI (b) UX
- 21.Which colour pair is hard to read? (a) yellow on white (b) black on yellow (c) white on dark green (d) black on pale grey
- 22.🔐 Is this permission request fair or too much: camera app → camera? (a) fair (b) too much
-
23.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 0
Test 2: delivery(700) → expected 0
Test 3: delivery(550) → expected 40 (a) Test 3 (b) Test 1 (c) Test 2 - 24.🔢 In a photo-post flow, which comes FIRST? (a) post the photo (b) open the camera screen (c) write a caption (d) take the photo
- 25.🧰 In function tip(bill), what is bill? (a) an event (b) a loop (c) a screen (d) a parameter
-
26.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] City
[text box] Name
[button] Save
[button] Send
[text box] Email
[button] Next -
27.🔁 What number does this code show?
let steps = [6, 14, 18, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
28.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(0)); -
29.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
forgetting homework: 23 votes
no quiet study place: 22 votes
losing water bottles: 4 votes - 30.🧩 In an app, what is tap to Start? (a) a button (b) data (c) an input (d) a screen
- 31.Which of these happens at the release stage? (a) talk to possible users (b) add the buttons (c) sketch the screens (d) put it on an app store
- 32.🎯 Which app would help this user most: a reader who finds small print hard? (a) a bus tracker (b) a homework planner (c) a big-text reader (d) a water reminder
- 33.True or false: your friends list is a button. (a) False (b) True
-
34.💾 What does this code show? (Positions start at 0.)
let notes = ["Science", "Maths", "Sports"];
show(notes[1]); (a) Sports (b) Science (c) Maths -
35.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap Back
3. open “Edit photo”
Which screen are you on now? (a) Profile (b) Edit photo (c) Search (d) Home - 36.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) ask and watch users (d) guess on your own
- 37.Which of these is true of a final design? (a) looks like the real app (b) has no real colours (c) shows where things go (d) uses plain grey boxes
- 38.True or false: you write the store text at the release stage. (a) True (b) False
-
39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 30; // start at 30
line 2: lives = lives * 3; // double it
line 3: lives = lives - 4; // take away 4
line 4: show(lives); // show it (a) line 1 (b) line 2 (c) line 3 - 40.🎨 Is this about UI or UX: the button colours? (a) UI (b) UX
Answer key
- sends back a value
- test it again
- True
- a screen
- an action
- has a home-screen icon
- 4
- poor design
- Label
- dark blue on white
- a learning app
- edge cases
- False
- 2
- open the app
- a buzz (vibration)
- 26
- 700
- 540
- UI
- yellow on white
- fair
- Test 1
- open the camera screen
- a parameter
- 3
- 40
- 60
- 19
- a button
- put it on an app store
- a big-text reader
- False
- Maths
- Edit photo
- ask and watch users
- looks like the real app
- True
- line 2
- UI
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students