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.Which of these is data? (a) the log-in page (b) tap to Save (c) the home page of an app (d) your friends list
- 2.🧪 What is the actual result of a test? (a) what the app really does (b) what we hope for (c) the test’s number (d) the app’s name
-
3.⚙️ What number does this app show?
let price = 25; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total); - 4.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) check the answer (b) show a question (c) background music (d) show the score
-
5.👆 The user taps the button 5 times. What number does the label show now?
let lives = 0;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; - 6.💾 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
-
7.🔁 What number does this code show?
let scores = [6, 16, 10, 13];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 8.🧩 In an app, what is your friends list? (a) a screen (b) a button (c) an input (d) data
-
9.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 45; // typed by the user
line 2: let qty = 5; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 4 (c) line 2 (d) line 1 - 10.True or false: tap to Save is a screen. (a) True (b) False
-
11.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “wasting pocket money”?
wasting pocket money: 14 votes
missing the bus: 6 votes
forgetting homework: 24 votes - 12.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 13.True or false: grey text on grey is poor button design. (a) False (b) True
-
14.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Size → Address
Design B: Home → Pay → Search → Offers - 15.👆 What kind of event is this: one second passes? (a) a tap event (b) a timer event (c) a load event (d) a text event
-
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 30; // start at 30
line 2: stars = stars - 4; // take away 3
line 3: stars = stars * 2; // double it
line 4: stars = stars + 6; // add 6
line 5: show(stars); // show it - 17.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) test it again (d) delete the test
- 18.📱 Where do people usually download phone apps from? (a) a charger (b) an app store (c) a printer (d) a web server
- 19.Which of these is about UX (the experience)? (a) the font size (b) how easy sign-up is (c) the screen layout (d) the theme colours
- 20.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
- 21.🔘 Is this good or poor button design: a clear word like Save? (a) poor design (b) good design
-
22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 20 votes
forgetting birthdays: 10 votes
missing the bus: 15 votes (a) forgetting homework (b) forgetting birthdays (c) missing the bus - 23.👆 What kind of event is this: the search box changes? (a) a load event (b) a timer event (c) a text event (d) a tap event
- 24.Which of these is true of a tab bar? (a) hides extra links (b) opens a list of pages (c) shows 3 to 5 icons (d) undoes one move
-
25.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 36; // start at 36
line 2: lives = lives - 5; // add 5
line 3: lives = lives * 2; // double it
line 4: show(lives); // show it - 26.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) share your streak (d) set a reminder time
- 27.🧪 Who else should try an app before release? (a) real users (b) only the coder (c) the app icon (d) nobody
-
28.🗒️ Version 1 of a quiz app must be ready in 10 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 4 days
show the score: 5 days - 29.True or false: a unit converter is a health app. (a) False (b) True
- 30.📅 An app team plans for 4 days, builds for 4 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
31.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(10)); - 32.🔢 In a food-order flow, which comes first: “add it to the cart” or “pick a dish”? (a) add it to the cart (b) pick a dish
- 33.🔀 When does the else part run? (a) always (b) when the test is true (c) when the test is false (d) never
- 34.🧑 Who is an app really made for? (a) its coder only (b) its icon (c) its charger (d) its users
- 35.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) tap “Sign up” (c) see the home screen (d) open the app
- 36.🔢 In a quiz-app flow, which comes FIRST? (a) pick an answer (b) tap “Start quiz” (c) see if it is right (d) see the final score
- 37.True or false: a homework planner is the best fit for a cook with no idea for dinner. (a) False (b) True
-
38.🔀 What does this PIN rule show?
let pin = "8825";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 39.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) at the bottom (c) inside a button (d) in the middle
- 40.🔢 In a food-order flow, which comes first: “pick a dish” or “add it to the cart”? (a) add it to the cart (b) pick a dish
Answer key
- your friends list
- what the app really does
- 100
- background music
- 15
- in the cloud
- 16
- data
- line 3
- False
- 10
- a website
- True
- 2
- a timer event
- 58
- test it again
- an app store
- how easy sign-up is
- 1
- good design
- forgetting homework
- a text event
- shows 3 to 5 icons
- 62
- set a reminder time
- real users
- 0
- False
- 8
- 30
- pick a dish
- when the test is false
- its users
- see the home screen
- tap “Start quiz”
- False
- PIN saved
- at the bottom
- pick a dish
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students