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: buttons are at least 48 px tall. Which button is too small?
Start button: 52 px tall
Back button: 24 px tall
Send button: 48 px tall
Cancel button: 60 px tall (a) Start (b) Cancel (c) Back (d) Send - 2.🛠️ At which stage do you list what users need? (a) the build stage (b) the plan stage (c) the test stage (d) the idea stage
-
3.👆 The user taps the button 5 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 - 4.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
-
5.🔀 What number does this shop app show?
let total = 700;
if (total > 500) {
total = total - 50;
}
show(total); - 6.👥 A clinic app has 20 patients, 205 doctors and 115 nurses as users. How many more nurses than patients are there?
-
7.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 12 votes
wasting pocket money: 20 votes
no quiet study place: 13 votes - 8.👥 A school app has 290 students, 95 teachers and 25 parents as users. How many users does it have in all?
- 9.Which of these is a user need? (a) a search bar (b) a share button (c) a reminder alarm (d) “Small text is hard”
- 10.Which of these is true of the back button? (a) switches main sections (b) sits at the bottom (c) undoes one move (d) hides extra links
- 11.💡 Which app idea solves this problem: pupils forget due dates? (a) a lost-and-found board (b) a study-room finder (c) a homework planner (d) a bill splitter
- 12.True or false: the search box changes is a tap event. (a) True (b) False
- 13.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a dead end (c) a clear next step (d) the same screen
- 14.Which of these is true of an app? (a) needs no installing (b) has a web address (c) opens from a link (d) has a home-screen icon
- 15.🧩 In an app, what is today’s step count? (a) a screen (b) a button (c) an input (d) data
- 16.📱 The word “app” is short for ___. (a) appetite (b) appointment (c) apparatus (d) application
- 17.True or false: notes to read offline fits saving on the phone. (a) False (b) True
- 18.🔀 When does the else part run? (a) when the test is true (b) never (c) when the test is false (d) always
-
19.🔁 What number does this code show?
let marks = [60, 36, 34, 90, 89];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 60) {
count = count + 1;
}
}
show(count); - 20.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
-
21.🚀 Which of these versions is the OLDEST?
1.12.6, 1.9.3, 0.22.4, 1.2.0 (a) 1.2.0 (b) 1.9.3 (c) 1.12.6 (d) 0.22.4 - 22.True or false: “captions on videos” makes the app harder to use. (a) False (b) True
-
23.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 45; // start at 43
line 2: stars = stars * 2; // double it
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 - 24.Which of these is true of a final design? (a) has no real colours (b) shows the real fonts (c) shows where things go (d) is a quick sketch
-
25.👆 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 - 26.🚀 Which version is newer: 1.18.2 or 1.3.1? (a) 1.18.2 (b) 1.3.1
- 27.🔁 What does a loop do? (a) saves photos (b) draws icons (c) repeats code (d) deletes code
- 28.🗒️ 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 spent (c) add money received (d) savings stickers
-
29.🔁 What number does this code show?
let steps = [6, 17, 3];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
30.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(3)); - 31.True or false: how users feel after is about UI (the look). (a) True (b) False
- 32.Which of these is an input? (a) taking a photo (b) a buzz (vibration) (c) sorting the scores (d) working out a tip
- 33.👆 “On tap → do this” links an event to ___. (a) a font (b) a charger (c) a web address (d) an action
- 34.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
- 35.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) pick your bus stop (c) rate the driver (d) show arrival time
- 36.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
- 37.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a bug fix (b) a new app (c) a big redesign (d) a new feature
- 38.🔢 In a sign-up flow, which comes first: “make a password” or “type name and email”? (a) make a password (b) type name and email
-
39.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
40.🔁 What is the LAST line this code shows?
let names = ["Aman", "Arjun", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Aman
Answer key
- Back
- the idea stage
- ON
- poor design
- 650
- 95
- 45
- 410
- “Small text is hard”
- undoes one move
- a homework planner
- False
- a clear next step
- has a home-screen icon
- data
- application
- True
- when the test is false
- 3
- a wireframe
- 0.22.4
- False
- line 1
- shows the real fonts
- ON
- 1.18.2
- repeats code
- savings stickers
- 26
- 50
- False
- taking a photo
- an action
- easy to read
- rate the driver
- UX
- a bug fix
- type name and email
- Welcome!
- Hi, Kabir
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students