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.🚀 Which version is newer: 1.5.16 or 1.5.9? (a) 1.5.16 (b) 1.5.9
- 2.🧪 Who else should try an app before release? (a) only the coder (b) the app icon (c) nobody (d) real users
- 3.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 4.🔘 Is this good or poor button design: grey text on grey? (a) poor design (b) good design
- 5.🔍 Which is the odd one out? (a) a racing challenge (b) a cricket run chase (c) a step counter (d) a puzzle with levels
- 6.Which of these app ideas solves a real problem? (a) a library due-date alert (b) a page of random dots (c) an app that just says hi (d) a button with no action
- 7.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
-
8.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Meera", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Arjun (c) Hi, Aman (d) Hi, Riya - 9.🧩 What do we call one full page of an app? (a) a variable (b) a battery (c) a screen (d) a cable
-
10.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(1) + fee(3)); -
11.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ Save button ]
[ search box ]
[ top bar ] (a) search box (b) top bar (c) Save button (d) list of items - 12.📅 An app team plans for 3 days, builds for 4 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 13.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
-
14.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(7) + fee(1)); - 15.Which of these happens at the build stage? (a) write the code (b) pick the features (c) sketch the screens (d) let friends try it
-
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 48; // start at 45
line 2: score = score + 6; // add 6
line 3: score = score - 4; // take away 4
line 4: score = score + 4; // add 4
line 5: show(score); // show it - 17.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
- 18.🎨 Is this about UI or UX: how users feel after? (a) UX (b) UI
- 19.👥 A school app has 150 students, 120 teachers and 280 parents as users. How many users does it have in all?
-
20.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 36; // start at 36
line 2: score = score + 8; // add 6
line 3: score = score - 4; // take away 4
line 4: show(score); // show it -
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 42; // start at 42
line 2: score = score - 5; // add 5
line 3: score = score - 4; // take away 4
line 4: show(score); // show it -
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. open “Score card”
3. tap Back
Which screen are you on now? (a) Score card (b) Lessons (c) Quiz (d) Match report -
23.🔀 What does this PIN rule show?
let pin = "942";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
24.🔁 What number does this code show?
let runs = [5, 3, 13];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 25.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Make it fast” (c) “Add a logo” (d) “Use blue buttons”
- 26.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) change the bus icon (c) show arrival time (d) rate the driver
- 27.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) test the app (b) release it
-
28.👆 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 -
29.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 30.True or false: photos on two devices fits saving on the phone. (a) False (b) True
- 31.🔘 Our rule: buttons are at least 48 px tall. The Back button is 24 px tall. How many px taller must it be?
-
32.🧪 What is the ACTUAL result of Test 3?
🚚 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(300) → expected 40
Test 3: delivery(500) → expected 0 - 33.🔘 Our rule: buttons are at least 48 px tall. The Back button is 28 px tall. How many px taller must it be?
-
34.🧪 One test case fails. Which one?
🚚 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(750) → expected 0
Test 2: delivery(500) → expected 0
Test 3: delivery(400) → expected 40 (a) Test 3 (b) Test 1 (c) Test 2 - 35.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
- 36.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) font size (d) app icon
-
37.👆 The user taps the button 3 times. What number does the label show now?
let points = 2;
button.onTap = function () {
points = points + 4;
label.text = points;
}; - 38.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) opens in a web browser (d) comes from an app store
- 39.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a fast phone (d) a mistake in the code
- 40.👥 A library app has 55 readers, 120 librarians and 95 volunteers as users. Which user group is the biggest? (a) volunteers (b) readers (c) librarians
Answer key
- 1.5.16
- real users
- on the phone
- poor design
- a step counter
- a library due-date alert
- hard to read
- Hi, Aman
- a screen
- 0
- top bar
- 7
- an app
- 40
- write the code
- 54
- greater than or equal
- UX
- 550
- 40
- 33
- Match report
- Use 4 digits
- 13
- “Kids forget homework”
- show arrival time
- test the app
- ON
- 1
- False
- 24
- 0
- 20
- Test 2
- a website
- expected result
- 14
- opens in a web browser
- a mistake in the code
- librarians
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students