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.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Zoya (b) Well done, nameBox.text! (c) Well done! (d) Well done, Zoya! -
2.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. tap Back
3. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 3.Which of these app ideas solves no real problem? (a) a bill splitter (b) a button with no action (c) a medicine reminder (d) a library due-date alert
-
4.🔁 What number does this code show?
let scores = [48, 91, 26];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 50) {
count = count + 1;
}
}
show(count); - 5.🐞 What is a bug? (a) a mistake in the code (b) a nice icon (c) a new feature (d) a fast phone
- 6.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) calculator → location (d) voice notes → microphone
- 7.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
- 8.Which colour pair is easy to read? (a) light grey on white (b) yellow on white (c) white on black (d) red on green
- 9.🛠️ At which stage do you sketch the screens? (a) the idea stage (b) the test stage (c) the plan stage (d) the release stage
- 10.🔐 Which permission does a speak-to-type notes app really need? (a) location (b) the camera (c) contacts (d) the microphone
-
11.👆 The user taps the button 6 times. What number does the label show now?
let points = 2;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 12.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
- 13.📅 An app team plans for 2 days, builds for 10 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
-
14.💾 What number does this code show?
let lives = 9;
lives = lives - 1;
lives = lives + 4;
show(lives); - 15.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) see where the bus is (c) pick your bus stop (d) change the bus icon
- 16.🔀 What is a user flow? (a) a colour theme (b) a charging cable (c) the path through screens (d) a type of font
-
17.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
losing water bottles: 9 votes
forgetting homework: 14 votes
wasting pocket money: 22 votes - 18.🔢 After an app is released, which comes LAST? (a) test it again (b) list what to fix (c) read user reviews (d) release an update
- 19.📱 Which one needs no installing: an app or a website? (a) a website (b) an app
- 20.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it uses more lines (c) it is slower (d) it hides them
-
21.🔁 What number does this code show?
let marks = [22, 78, 67, 98, 11];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); -
22.🔀 Which badge does this quiz app show?
let marks = 39;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze -
23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. tap the Me tab
3. open “Score card”
4. open “Match report”
5. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? -
24.🧩 How many buttons does this app screen have?
[title] New Note
[button] Done
[text box] Name
[button] Send
[switch] Remind me
[button] Save
[text box] Email
[text box] Age -
25.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Badges”
2. open “Badges”
3. tap Back
Which screen are you on now? (a) Chat (b) Badges (c) Settings (d) Feed - 26.🔍 Which is the odd one out? (a) icons with no labels (b) big touch targets (c) labels on every icon (d) text that can grow
-
27.🧩 Which of these is a button on this screen?
[title] Order Snacks
[text box] Phone
[text box] Name
[text box] Due date
[slider] Volume
[button] Cancel
[button] Send
[button] Next (a) Name (b) Send (c) Due date (d) Phone - 28.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
- 29.🔁 list.length tells you ___. (a) the biggest item (b) how many items it has (c) the last item (d) the first item
- 30.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
- 31.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) release an update (c) list what to fix (d) test it again
-
32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 46; // start at 43
line 2: points = points + 6; // add 6
line 3: points = points + 5; // add 5
line 4: show(points); // show it (a) line 3 (b) line 1 (c) line 2 -
33.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(8) + fee(9)); - 34.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
35.🧩 How many buttons does this app screen have?
[title] Sign Up
[button] Done
[text box] Phone
[button] Send
[button] Help
[text box] Age
[text box] Email - 36.True or false: a big, easy tap area is poor button design. (a) True (b) False
- 37.True or false: a barcode scanner needs the camera. (a) True (b) False
- 38.Which of these is about UX (the experience)? (a) the screen layout (b) the font size (c) the theme colours (d) how easy sign-up is
-
39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 30; // start at 30
line 2: coins = coins - 5; // take away 5
line 3: coins = coins * 2; // double it
line 4: coins = coins + 9; // add 6
line 5: show(coins); // show it (a) line 3 (b) line 2 (c) line 4 (d) line 1 - 40.🔐 Which permission does a party-invite app for friends really need? (a) the microphone (b) location (c) contacts (d) the camera
Answer key
- Well done, Zoya!
- 1
- a button with no action
- 1
- a mistake in the code
- voice notes → microphone
- repeats code
- white on black
- the plan stage
- the microphone
- 14
- good design
- 14
- 12
- change the bus icon
- the path through screens
- 5
- release an update
- a website
- less code to write
- 3
- Bronze
- 3
- 3
- Badges
- icons with no labels
- Send
- good design
- how many items it has
- a website
- test it again
- line 1
- 60
- in the cloud
- 3
- False
- True
- how easy sign-up is
- line 4
- contacts
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students