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.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pay → Cart → Offers
Design B: Home → Search → Pens → Results → Address (a) Design B (b) Design A - 2.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 3.Which of these is an input? (a) a slider for volume (b) the settings page (c) your saved notes (d) the log-in page
- 4.🔢 In a food-order flow, what comes right after “open the menu”? (a) add it to the cart (b) check the cart (c) track the order (d) pick a dish
-
5.🔁 What number does this code show?
let steps = [14, 22, 67];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 60) {
count = count + 1;
}
}
show(count); - 6.♿ Why add captions to videos? (a) to slow them down (b) to hide the sound (c) to add colour (d) so anyone can follow
-
7.🔀 What does this PIN rule show?
let pin = "899";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 8.👆 An event in an app is ___. (a) a colour theme (b) something that happens (c) a kind of list (d) an app store
-
9.🧩 Which of these is a button on this screen?
[title] Settings
[button] Save
[slider] Brightness
[text box] Name
[text box] Email
[text box] Subject
[button] Next
[button] Done (a) Save (b) Email (c) Name (d) Subject - 10.🔢 When you make an app, what comes right after “build the app”? (a) release it (b) test the app (c) plan the screens (d) get an idea
-
11.🔁 What number does this code show?
let steps = [7, 14, 2, 2, 6];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
12.⚙️ What number does this app show?
let km = 9; // typed by the user
let metres = km * 1000;
show(metres); - 13.🔢 After an app is released, which comes FIRST? (a) list what to fix (b) fix and improve (c) read user reviews (d) test it again
-
14.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 34; // start at 34
line 2: points = points + 3; // add 3
line 3: points = points + 2; // double it
line 4: points = points - 1; // take away 1
line 5: show(points); // show it - 15.👥 A cricket club app has 155 players, 115 coaches and 295 fans as users. How many more players than coaches are there?
- 16.Which of these is a feature? (a) “What should I cook?” (b) “I forget my homework” (c) “Small text is hard” (d) a dark mode switch
-
17.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 39; // start at 39
line 2: stars = stars - 1; // take away 1
line 3: stars = stars * 2; // double it
line 4: stars = stars - 3; // add 3
line 5: show(stars); // show it - 18.🧪 What is the actual result of a test? (a) the test’s number (b) what we hope for (c) the app’s name (d) what the app really does
-
19.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age <= 12) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(12) → expected 100
Test 3: price(10) → expected 50 (a) Test 2 (b) Test 3 (c) Test 1 -
20.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF -
21.💾 What does this code show? (Positions start at 0.)
let songs = ["Sunrise", "Stars", "Ocean", "Rain"];
show(songs[1]); (a) Rain (b) Sunrise (c) Ocean (d) Stars -
22.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 42; // start at 42
line 2: stars = stars * 3; // double it
line 3: stars = stars - 3; // take away 3
line 4: stars = stars - 3; // take away 3
line 5: show(stars); // show it - 23.True or false: a medicine reminder solves a real problem. (a) False (b) True
- 24.🔀 What does >= mean? (a) smaller or equal (b) less than (c) not equal (d) greater than or equal
- 25.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) see the home screen (b) type name and email (c) open the app (d) enter the code sent
- 26.📅 An app team plans for 2 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 27.🧰 What does return do in a function? (a) closes the screen (b) deletes the app (c) repeats the code (d) sends back a value
- 28.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 24 px tall. How many px taller must it be?
-
29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 40; // start at 40
line 2: lives = lives - 4; // take away 4
line 3: lives = lives + 2; // add 2
line 4: lives = lives + 5; // add 2
line 5: show(lives); // show it -
30.🖼️ In this wireframe (top to bottom), what is right below the top bar?
[ big picture ]
[ top bar ]
[ search box ]
[ tab bar ] (a) search box (b) tab bar (c) big picture - 31.🧭 Which part of navigation sits at the bottom? (a) a tab bar (b) a menu button (c) the back button
- 32.♿ A screen has 9 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
-
33.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(4)); - 34.Which of these is an input? (a) your high score (b) your friends list (c) today’s step count (d) a box to type a name
- 35.Which of these happens at the build stage? (a) draw the user flow (b) spot a problem to solve (c) connect the data (d) sketch the screens
-
36.🔀 What does this PIN rule show?
let pin = "30725";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap Back
3. open “Edit photo”
Which screen are you on now? (a) Edit photo (b) Match report (c) Home (d) Search - 38.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) real users (d) nobody
- 39.Which of these is true of a wireframe? (a) shows where things go (b) looks like the real app (c) has the real colours (d) uses the final pictures
- 40.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) read a question (c) tap “Start quiz” (d) see if it is right
Answer key
- Design A
- in the cloud
- a slider for volume
- pick a dish
- 1
- so anyone can follow
- Use 4 digits
- something that happens
- Save
- test the app
- 31
- 9000
- read user reviews
- 38
- 40
- a dark mode switch
- 73
- what the app really does
- Test 2
- ON
- Stars
- 78
- True
- greater than or equal
- type name and email
- 13
- sends back a value
- 24
- 40
- search box
- a tab bar
- 7
- 100
- a box to type a name
- connect the data
- Use 4 digits
- Edit photo
- real users
- shows where things go
- tap “Start quiz”
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students