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.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
- 2.🧰 In function tip(bill), what is bill? (a) a parameter (b) a screen (c) an event (d) a loop
- 3.Which colour pair is easy to read? (a) red on green (b) black on pale grey (c) dark blue on black (d) pale pink on white
-
4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. tap Back
3. open “Edit photo”
4. tap the Me tab
5. open “Friend list”
Which screen are you on now? (a) Friend list (b) Lessons (c) Edit photo (d) Video -
5.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap the Settings tab
3. open “Match report”
4. open “Map”
5. open “Match report”
Which screen are you on now? (a) Video (b) Feed (c) Map (d) Match report - 6.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the biggest item (d) the first item
- 7.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
- 8.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) show arrival time
- 9.Which of these is a user need? (a) “I forget my homework” (b) a reminder alarm (c) a dark mode switch (d) a share button
- 10.🐞 Finding and fixing bugs is called ___. (a) downloading (b) designing (c) decorating (d) debugging
-
11.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(25, 4)); -
12.🗒️ Version 1 of a bus tracker must be ready in 9 days. How many days are left for extras after the must-haves?
see where the bus is: 2 days
show arrival time: 4 days
pick your bus stop: 3 days -
13.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Welcome, Aman! (b) Aman (c) Welcome, nameBox.text! (d) Welcome! -
14.🧪 One test case fails. Which one?
📝 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(5) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(2) → expected Try again (a) Test 2 (b) Test 1 (c) Test 3 -
15.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 23 px
Menu: 17 px
Footer: 13 px (a) Menu (b) Title (c) Footer - 16.🔢 In a quiz-app flow, which comes LAST? (a) see if it is right (b) pick an answer (c) see the final score (d) read a question
- 17.👆 Which of these is an event? (a) a list of names (b) the icon colour (c) the font size (d) the user taps a button
-
18.🧩 Which of these is a button on this screen?
[title] Order Snacks
[switch] Remind me
[button] Send
[text box] Due date (a) Due date (b) Remind me (c) Send -
19.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(37)); -
20.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(13)); -
21.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 24 px
Title: 14 px
Menu: 22 px (a) Body text (b) Title (c) Menu - 22.True or false: chat messages to friends fits saving in the cloud. (a) True (b) False
-
23.🧪 One test case fails. Which one?
📝 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(7) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(5) → expected Pass (a) Test 1 (b) Test 2 (c) Test 3 -
24.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 25.True or false: tap to Send is a button. (a) False (b) True
- 26.👥 A library app has 215 readers, 185 librarians and 285 volunteers as users. How many more volunteers than librarians are there?
- 27.🔢 When you make an app, which comes LAST? (a) release it (b) build the app (c) test the app (d) get an idea
-
28.🔀 What number does this shop app show?
let total = 300;
if (total > 500) {
total = total - 50;
}
show(total); -
29.🔁 What number does this code show?
let steps = [6, 20, 4];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 30.True or false: a library due-date alert solves no real problem. (a) True (b) False
- 31.🧪 A test case is an input together with its ___. (a) screen colour (b) app icon (c) font size (d) expected result
- 32.True or false: “text that can grow” helps everyone use the app. (a) True (b) False
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 37; // start at 37
line 2: score = score + 2; // double it
line 3: score = score * 2; // double it
line 4: score = score * 2; // double it
line 5: show(score); // show it -
34.👆 The user taps the button 3 times. What number does the label show now?
let coins = 7;
button.onTap = function () {
coins = coins + 5;
label.text = coins;
}; - 35.🎯 What is a user need? (a) a type of button (b) a phone setting (c) a colour theme (d) a problem a user has
-
36.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(3) + fee(2)); - 37.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) typing your age (d) speaking a command
- 38.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) buttons (c) tabs (d) data
- 39.🚀 Your app is at version 1.8.2. The next release adds a new feature. What is its version number? (a) 1.8.3 (b) 2.0.0 (c) 1.9.0 (d) 1.9.2
-
40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Help page”
2. open “Friend list”
3. tap the Lessons tab
4. tap the Lessons tab
5. open “Help page”
How many times must you tap Back to reach the main screen of this tab?
Answer key
- good design
- a parameter
- black on pale grey
- Friend list
- Match report
- how many items it has
- a mistake in the code
- show arrival time
- “I forget my homework”
- debugging
- 100
- 0
- Welcome, Aman!
- Test 1
- Footer
- see the final score
- the user taps a button
- Send
- 111
- 39
- Title
- True
- Test 3
- Ask a parent
- True
- 100
- release it
- 300
- 20
- False
- expected result
- True
- 296
- 22
- a problem a user has
- 0
- working out a tip
- data
- 1.9.0
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students