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.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 38; // start at 38
line 2: points = points + 2; // double it
line 3: points = points - 2; // take away 2
line 4: show(points); // show it -
2.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Save
[text box] Name
[button] Cancel -
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 31; // start at 31
line 2: points = points + 3; // take away 3
line 3: points = points - 5; // take away 5
line 4: show(points); // show it (a) line 3 (b) line 1 (c) line 2 - 4.🗂️ What kind of app is a water reminder? (a) a game (b) a tool app (c) a learning app (d) a health app
- 5.💡 After a survey, which need should version 1 solve? (a) the most common need (b) the rarest need (c) a random need (d) the newest trend
-
6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 17 px
Label: 11 px
Hint: 17 px
Caption: 13 px -
7.👆 The user taps the button 5 times. What number does the label show now?
let coins = 10;
button.onTap = function () {
coins = coins + 5;
label.text = coins;
}; - 8.🧰 What does return do in a function? (a) deletes the app (b) repeats the code (c) closes the screen (d) sends back a value
- 9.Which of these is true of a website? (a) has a home-screen icon (b) opens from a link (c) is installed on a phone (d) updates from the store
- 10.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
- 11.True or false: “big touch targets” makes the app harder to use. (a) True (b) False
-
12.🗒️ Version 1 of a bus tracker must be ready in 8 days. How many days are left for extras after the must-haves?
see where the bus is: 2 days
show arrival time: 3 days
pick your bus stop: 3 days - 13.🔢 In a sign-up flow, which comes first: “open the app” or “see the home screen”? (a) open the app (b) see the home screen
- 14.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
- 15.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
- 16.🔢 In a sign-up flow, which comes LAST? (a) enter the code sent (b) make a password (c) see the home screen (d) tap “Sign up”
-
17.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 480; // typed by the user
line 2: let off = 50; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 4 (b) line 1 (c) line 3 (d) line 2 - 18.👥 A library app has 85 readers, 290 librarians and 75 volunteers as users. How many more librarians than volunteers are there?
-
19.🔀 What number does this shop app show?
let total = 280;
if (total > 500) {
total = total - 50;
}
show(total); - 20.🚀 Your app is at version 1.7.3. The next release adds a new feature. What is its version number? (a) 1.8.3 (b) 2.0.0 (c) 1.8.0 (d) 1.7.4
-
21.🖼️ In this wireframe (top to bottom), what is right below the title text?
[ tab bar ]
[ big picture ]
[ title text ]
[ list of items ]
[ filter buttons ] (a) list of items (b) filter buttons (c) big picture (d) tab bar - 22.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
-
23.🔀 Which badge does this quiz app show?
let marks = 31;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver -
24.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting homework”?
wasting pocket money: 15 votes
no quiet study place: 4 votes
forgetting homework: 7 votes - 25.🔢 In a food-order flow, what comes right after “pay for the order”? (a) track the order (b) open the menu (c) add it to the cart (d) pick a dish
- 26.🎯 Which app would help this user most: a reader who finds small print hard? (a) a big-text reader (b) a pocket-money tracker (c) a water reminder (d) a homework planner
- 27.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) pick a dish (b) open the menu
-
28.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 29.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) rate the driver (b) pick your bus stop (c) see where the bus is (d) show arrival time
- 30.🔢 When you make an app, what comes right after “test the app”? (a) plan the screens (b) release it (c) get an idea (d) build the app
- 31.👥 A cricket club app has 250 players, 95 coaches and 45 fans as users. How many users does it have in all?
- 32.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a health app (c) a learning app (d) a game
- 33.⚙️ In an app, is checking a password an input, processing or an output? (a) input (b) processing (c) output
- 34.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
- 35.🎯 Which app would help this user most: a teen learning to make snacks? (a) a water reminder (b) a big-text reader (c) a pocket-money tracker (d) a recipe finder
- 36.True or false: a bill splitter solves a real problem. (a) True (b) False
-
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 35; // start at 34
line 2: score = score + 5; // add 5
line 3: score = score * 2; // double it
line 4: score = score + 4; // add 4
line 5: show(score); // show it - 38.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a study-room finder (b) a bill splitter (c) a medicine reminder (d) a lost-and-found board
-
39.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Start button: 24 px tall
Send button: 68 px tall
Back button: 56 px tall
Done button: 48 px tall (a) Done (b) Send (c) Back (d) Start - 40.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) => (c) = (d) ===
Answer key
- 38
- 2
- line 2
- a health app
- the most common need
- 2
- 35
- sends back a value
- opens from a link
- when the test is false
- False
- 0
- open the app
- a feature
- No
- see the home screen
- line 3
- 215
- 280
- 1.8.0
- list of items
- makes it harder
- Bronze
- 8
- track the order
- a big-text reader
- open the menu
- 1
- rate the driver
- release it
- 390
- a game
- processing
- No
- a recipe finder
- True
- 82
- a lost-and-found board
- Start
- ===
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students