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.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Footer: 23 px
Label: 23 px
Title: 20 px
Caption: 10 px - 2.⚙️ In an app, is checking a password an input, processing or an output? (a) output (b) input (c) processing
- 3.🌗 Is yellow on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 4.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
-
5.🔀 What does this battery rule show?
let battery = 83;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 6.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) home screen (d) tab bar
- 7.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) pencil and paper (c) a microphone (d) a 3D printer
- 8.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) app icon (d) expected result
- 9.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 10.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
-
11.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
12.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Kabir", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Meera (c) Hi, Arjun (d) Hi, Aman -
13.💾 What number does this code show?
let friends = ["Kabir", "Aman"];
friends.push("Zoya");
friends.push("Riya");
show(friends.length); - 14.🗒️ Why keep version 1 small? (a) to use up storage (b) to confuse users (c) to learn from users soon (d) to look bigger
-
15.💾 pop() takes off the last item. What does this code show?
let friends = ["Aman", "Kabir", "Zoya", "Riya"];
friends.pop();
show(friends[friends.length - 1]); (a) Kabir (b) Riya (c) Aman (d) Zoya - 16.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the phone is lost (d) the app is closed
- 17.📅 An app team plans for 4 days, builds for 11 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
18.🗒️ Version 1 of a bus tracker must be ready in 7 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 2 days
pick your bus stop: 2 days -
19.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(600) → expected 0
Test 3: delivery(200) → expected 40 -
20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 33; // start at 32
line 2: score = score - 1; // take away 1
line 3: score = score * 2; // double it
line 4: show(score); // show it (a) line 1 (b) line 2 (c) line 3 - 21.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
- 22.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) an avatar shop (b) show a question (c) check the answer (d) show the score
-
23.🔁 What number does this code show?
let scores = [83, 23, 46];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); -
24.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(12) + fee(7)); - 25.✏️ Why draw a wireframe before coding? (a) it runs the app (b) changes are quick (c) it adds colours (d) it saves data
- 26.🔍 Which is the odd one out? (a) a calculator (b) a water reminder (c) a sleep tracker (d) a step counter
-
27.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 6; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 1 (b) line 3 (c) line 2 - 28.🛠️ At which stage do you list what users need? (a) the plan stage (b) the build stage (c) the idea stage (d) the test stage
- 29.🧪 What is the actual result of a test? (a) what we hope for (b) the app’s name (c) the test’s number (d) what the app really does
-
30.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 500) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(500) → expected 0
Test 3: delivery(400) → expected 40 - 31.🧭 Which part of navigation switches main sections? (a) a menu button (b) a tab bar (c) the back button
- 32.🎯 A short made-up profile of a typical user is called a ___. (a) protocol (b) persona (c) pixel (d) password
- 33.🔍 Which is the odd one out? (a) sorting the scores (b) a buzz (vibration) (c) working out a tip (d) checking a password
- 34.🔍 Which is the odd one out? (a) let friends try it (b) try every button (c) write down the bugs (d) share the download link
- 35.🐞 Finding and fixing bugs is called ___. (a) debugging (b) decorating (c) downloading (d) designing
- 36.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 5 (d) 4
- 37.♿ A screen has 6 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
- 38.Which of these is true of a website? (a) opens in a web browser (b) is installed on a phone (c) has a home-screen icon (d) comes from an app store
- 39.Which of these is true of a final design? (a) uses the final pictures (b) shows where things go (c) is a quick sketch (d) has no real colours
- 40.📱 Which one has a web address: an app or a website? (a) an app (b) a website
Answer key
- 1
- processing
- hard to read
- easy to read
- Battery OK
- dead end
- pencil and paper
- expected result
- hard to read
- Yes
- 4
- Hi, Meera
- 4
- to learn from users soon
- Zoya
- the phone is lost
- 10
- 0
- 0
- line 1
- UI
- an avatar shop
- 1
- 120
- changes are quick
- a calculator
- line 2
- the idea stage
- what the app really does
- 0
- a tab bar
- persona
- a buzz (vibration)
- share the download link
- debugging
- 5
- 1
- opens in a web browser
- uses the final pictures
- a website
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students