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.True or false: the settings page is an input. (a) True (b) False
- 2.🗒️ 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) export to a file (d) add money spent
-
3.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Send
[text box] Due date
[switch] Dark mode
[text box] Phone
[button] Help
[button] Start -
4.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Aman", "Riya", "Meera", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Riya (c) Hi, Kabir (d) Hi, Arjun - 5.🔢 After an app is released, which comes first: “fix and improve” or “test it again”? (a) test it again (b) fix and improve
-
6.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 43; // start at 43
line 2: stars = stars + 2; // add 2
line 3: stars = stars - 3; // take away 2
line 4: stars = stars + 5; // add 5
line 5: show(stars); // show it - 7.Which of these is an input? (a) tapping a button (b) sorting the scores (c) adding up a bill (d) a pop-up message
-
8.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 37; // start at 35
line 2: coins = coins + 2; // add 2
line 3: coins = coins + 2; // add 2
line 4: coins = coins - 1; // take away 1
line 5: show(coins); // show it - 9.🔍 Which is the odd one out? (a) connect the data (b) add the buttons (c) try every button (d) write the code
-
10.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Next button: 40 px tall
Done button: 40 px tall
Cancel button: 48 px tall - 11.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) background music (c) check the answer (d) show the score
- 12.👥 A school app has 25 students, 50 teachers and 35 parents as users. How many more teachers than parents are there?
-
13.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Hint: 20 px
Label: 14 px
Title: 10 px
Footer: 22 px -
14.🧪 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(15) → expected 100
Test 2: price(12) → expected 100
Test 3: price(9) → expected 50 (a) Test 1 (b) Test 3 (c) Test 2 -
15.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 36 px tall
Cancel button: 72 px tall
Back button: 60 px tall (a) Back (b) Save (c) Cancel - 16.True or false: an app opens from a link. (a) False (b) True
-
17.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(11) + fee(9)); - 18.True or false: the button colours is about UI (the look). (a) False (b) True
- 19.True or false: a wireframe has no real colours. (a) True (b) False
- 20.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) a picture goes here (c) an error (d) delete this
- 21.📅 An app team plans for 2 days, builds for 4 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
22.🔁 What number does this code show?
let runs = [52, 61, 35];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); - 23.📅 An app team plans for 5 days, builds for 6 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 24.👆 Which of these is an event? (a) a list of names (b) the icon colour (c) the font size (d) the user taps a button
- 25.👥 A clinic app has 195 patients, 135 doctors and 180 nurses as users. How many users does it have in all?
- 26.👥 A cricket club app has 75 players, 140 coaches and 105 fans as users. Which user group is the biggest? (a) fans (b) players (c) coaches
- 27.True or false: “icons with no labels” helps everyone use the app. (a) True (b) False
-
28.🔁 What number does this code show?
let scores = [15, 3, 11];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 29.Which of these is true of a website? (a) has a home-screen icon (b) opens in a web browser (c) updates from the store (d) comes from an app store
- 30.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “pick an answer”? (a) pick an answer (b) tap “Start quiz”
- 31.Which of these is true of a tab bar? (a) goes to the last screen (b) undoes one move (c) hides extra links (d) sits at the bottom
- 32.Which of these is true of a final design? (a) has no real colours (b) uses plain grey boxes (c) uses the final pictures (d) is a quick sketch
- 33.Which of these is data? (a) a box to type a name (b) the settings page (c) the game-over page (d) today’s step count
-
34.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[text box] Email
[button] Save
[button] Help - 35.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
- 36.🔢 In a food-order flow, what comes right after “pick a dish”? (a) add it to the cart (b) pay for the order (c) check the cart (d) open the menu
- 37.True or false: a wireframe looks like the real app. (a) False (b) True
-
38.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(17) → expected 100
Test 2: price(10) → expected 50
Test 3: price(20) → expected 100 - 39.🔍 Which is the odd one out? (a) how easy sign-up is (b) the theme colours (c) how fast a task is done (d) how users feel after
-
40.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome!
Answer key
- False
- export to a file
- 3
- Hi, Arjun
- fix and improve
- 48
- tapping a button
- 40
- try every button
- 1
- background music
- 15
- 2
- Test 2
- Save
- False
- 100
- True
- True
- a picture goes here
- 6
- 2
- 11
- the user taps a button
- 510
- coaches
- False
- 29
- opens in a web browser
- tap “Start quiz”
- sits at the bottom
- uses the final pictures
- today’s step count
- 1
- UI
- add it to the cart
- False
- 100
- the theme colours
- Ask a parent
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students