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 can hold many values in order? (a) a list (b) a single number (c) a switch (d) a button
-
2.⚙️ What number does this app show?
let price = 10; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); - 3.🐞 Finding and fixing bugs is called ___. (a) decorating (b) designing (c) downloading (d) debugging
- 4.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) pencil and paper (c) a 3D printer (d) a microphone
- 5.True or false: how easy sign-up is is about UI (the look). (a) False (b) True
-
6.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 48 px tall
Done button: 36 px tall
Next button: 32 px tall
Back button: 60 px tall - 7.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 2 (c) 1 (d) 0
-
8.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 50
Test 2: price(19) → expected 100
Test 3: price(13) → expected 100 -
9.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 41; // start at 41
line 2: stars = stars * 2; // double it
line 3: stars = stars + 2; // double it
line 4: show(stars); // show it - 10.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
-
11.🔁 What number does this code show?
let runs = [6, 8, 11];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 12.True or false: a final design shows the real fonts. (a) False (b) True
- 13.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
- 14.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a text label (c) a bright colour (d) a sound
- 15.Which of these happens at the build stage? (a) try every button (b) write the code (c) talk to possible users (d) draw the user flow
- 16.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) earn stickers (c) add a homework task (d) see tasks by day
-
17.🧩 Which of these is a button on this screen?
[title] Settings
[switch] Dark mode
[button] Send
[slider] Volume
[text box] Due date (a) Due date (b) Send (c) Dark mode (d) Volume - 18.Which of these is true of a final design? (a) looks like the real app (b) uses plain grey boxes (c) is a quick sketch (d) has no real colours
-
19.🔁 What number does this code show?
let marks = [9, 9, 5, 1, 18];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 20.👥 A cricket club app has 180 players, 195 coaches and 55 fans as users. Which user group is the biggest? (a) players (b) fans (c) coaches
- 21.🗒️ When should nice-to-have features be built? (a) on day one (b) before anything (c) after the must-haves (d) never
-
22.🔁 What number does this code show?
let scores = [8, 6, 16, 19, 10];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); -
23.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap Back
3. open “Score card”
Which screen are you on now? (a) Video (b) Feed (c) Score card (d) Chat -
24.🧩 How many buttons does this app screen have?
[title] Sign Up
[slider] Text size
[button] Send
[button] Help
[text box] Notes - 25.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) a dark mode (c) see where the bus is (d) show arrival time
- 26.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) camera app → camera (d) calculator → location
- 27.Which of these helps everyone use the app? (a) strong colour contrast (b) fast-flashing lights (c) sudden loud sounds (d) colour as the only clue
- 28.♿ A screen has 10 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
-
29.🔁 What number does this code show?
let runs = [18, 15, 7];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 30.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) add a homework task (c) set a due date (d) share tasks to friends
- 31.True or false: a class leaderboard fits saving in the cloud. (a) True (b) False
-
32.⚙️ What number does this app show?
let bill = 48; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); -
33.🔀 What does this battery rule show?
let battery = 62;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
34.👆 The user taps the button 7 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; - 35.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
- 36.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
- 37.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) release it (b) test the app
-
38.👆 The user taps the button 4 times. What number does the label show now?
let lives = 0;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; - 39.🔢 In a sign-up flow, which comes first: “open the app” or “make a password”? (a) make a password (b) open the app
-
40.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(7) + fee(6));
Answer key
- a list
- 20
- debugging
- pencil and paper
- False
- 2
- 0
- 100
- 164
- Yes
- 11
- True
- an app
- a text label
- write the code
- earn stickers
- Send
- looks like the real app
- 18
- coaches
- after the must-haves
- 19
- Score card
- 2
- a dark mode
- camera app → camera
- strong colour contrast
- 6
- 18
- share tasks to friends
- True
- 12
- Battery OK
- 5
- No
- No
- test the app
- 12
- open the app
- 60
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students