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.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) add more colours (c) find where it goes wrong (d) delete the app
-
2.🖼️ In this wireframe (top to bottom), what is right above the title text?
[ search box ]
[ title text ]
[ filter buttons ]
[ menu icon ] (a) filter buttons (b) menu icon (c) search box - 3.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) build the app (c) release it (d) get an idea
- 4.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
- 5.🌗 Is red on green easy or hard to read on a button? (a) easy to read (b) hard to read
- 6.Which of these is a feature? (a) “What should I cook?” (b) “I forget my homework” (c) a search bar (d) “I keep missing the bus”
- 7.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it hides them (c) it uses more lines (d) it is slower
- 8.🔢 In a food-order flow, which comes first: “pick a dish” or “open the menu”? (a) open the menu (b) pick a dish
- 9.Which of these fits saving on the phone? (a) photos on two devices (b) chat messages to friends (c) notes to read offline (d) a class leaderboard
- 10.👥 A school app has 120 students, 300 teachers and 20 parents as users. Which user group is the biggest? (a) students (b) parents (c) teachers
-
11.⚙️ What number does this app show?
let price = 30; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 12.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) => (c) === (d) =
-
13.🔁 What number does this code show?
let scores = [76, 79, 22, 41];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); -
14.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 9 votes
forgetting homework: 25 votes
no quiet study place: 3 votes -
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 33; // start at 33
line 2: coins = coins + 5; // add 5
line 3: coins = coins + 6; // add 3
line 4: show(coins); // show it - 16.🗒️ In MVP, the M stands for ___. (a) music (b) mobile (c) minimum (d) maximum
- 17.True or false: a library due-date alert solves a real problem. (a) False (b) True
- 18.🎯 What is the best first step to learn what users need? (a) guess on your own (b) write the code (c) pick the colours (d) ask and watch users
- 19.🔍 Which is the odd one out? (a) working out a tip (b) a pop-up message (c) adding up a bill (d) checking a password
- 20.Which of these is a button? (a) a slider for volume (b) a switch for dark mode (c) tap to Save (d) your friends list
-
21.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 8; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 1 (c) line 2 - 22.🚀 Which version is newer: 1.16.1 or 1.6.3? (a) 1.16.1 (b) 1.6.3
-
23.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Score card”
3. tap Back
Which screen are you on now? (a) Score card (b) Search (c) Home (d) Profile - 24.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) add money spent (d) export to a file
- 25.👆 What kind of event is this: the user presses Save? (a) a timer event (b) a text event (c) a tap event (d) a load event
-
26.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(15) → expected 100
Test 3: price(9) → expected 50 - 27.🔢 When you make an app, which comes LAST? (a) plan the screens (b) release it (c) test the app (d) get an idea
- 28.♿ A screen has 7 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
-
29.🔁 What number does this code show?
let runs = [3, 13, 19, 16];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 30.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a big-text reader (b) a pocket-money tracker (c) a bus tracker (d) a homework planner
- 31.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) open the app (b) make a password (c) see the home screen (d) type name and email
- 32.🔍 Which is the odd one out? (a) a beep sound (b) a result on screen (c) typing your age (d) a buzz (vibration)
-
33.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 6 votes
losing water bottles: 20 votes
no quiet study place: 7 votes - 34.👥 A library app has 20 readers, 145 librarians and 60 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
- 35.🔢 In a photo-post flow, what comes right after “add a filter”? (a) post the photo (b) open the camera screen (c) take the photo (d) write a caption
-
36.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
37.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 330; // typed by the user
line 2: let off = 10; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 4 (c) line 2 (d) line 1 -
38.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 39.🔢 In a sign-up flow, which comes first: “see the home screen” or “enter the code sent”? (a) see the home screen (b) enter the code sent
-
40.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Hi! (b) Hi, nameBox.text! (c) Hi, Kabir! (d) Kabir
Answer key
- find where it goes wrong
- search box
- build the app
- True
- hard to read
- a search bar
- less code to write
- open the menu
- notes to read offline
- teachers
- 150
- ===
- 2
- 37
- 41
- minimum
- True
- ask and watch users
- a pop-up message
- tap to Save
- line 2
- 1.16.1
- Home
- export to a file
- a tap event
- 50
- release it
- 1
- 51
- a bus tracker
- see the home screen
- typing your age
- 33
- librarians
- write a caption
- Welcome!
- line 3
- Ask a parent
- enter the code sent
- Hi, Kabir!
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students