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.🎨 Fewer taps to finish a task usually means ___. (a) a bigger app (b) more colours (c) worse UX (d) better UX
- 2.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money spent (b) pie-chart colours (c) show the balance (d) add money received
-
3.🔁 What number does this code show?
let marks = [18, 8, 5, 2];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
4.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 2 days
show the score: 3 days - 5.True or false: one second passes is a timer event. (a) False (b) True
- 6.Which of these happens at the build stage? (a) write the store text (b) write the code (c) draw the user flow (d) share the download link
-
7.🧰 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(5) + fee(7)); - 8.👥 A cricket club app has 55 players, 40 coaches and 105 fans as users. How many more fans than coaches are there?
- 9.⚙️ In an app, is working out a tip an input, processing or an output? (a) input (b) output (c) processing
- 10.Which colour pair is hard to read? (a) black on yellow (b) dark blue on white (c) yellow on white (d) white on dark green
- 11.Which of these helps everyone use the app? (a) tiny tap areas (b) icons with no labels (c) text that can grow (d) sudden loud sounds
- 12.🧪 What is the actual result of a test? (a) the app’s name (b) what the app really does (c) what we hope for (d) the test’s number
-
13.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 46; // start at 46
line 2: lives = lives * 2; // double it
line 3: lives = lives + 2; // double it
line 4: lives = lives - 1; // take away 1
line 5: show(lives); // show it -
14.🔀 Which badge does this quiz app show?
let marks = 43;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold - 15.🧩 In an app, what is the log-in page? (a) data (b) an input (c) a screen (d) a button
-
16.💾 What number does this code show?
let score = 8;
score = score - 3;
score = score + 1;
show(score); -
17.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 26 px
Footer: 21 px
Menu: 25 px
Body text: 26 px
Title: 12 px (a) Title (b) Menu (c) Hint (d) Footer - 18.🛠️ At which stage do you connect the data? (a) the release stage (b) the idea stage (c) the build stage (d) the test stage
-
19.⚙️ What number does this app show?
let bill = 144; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); -
20.🖼️ How many parts (boxes) does this wireframe have?
[ Add button ]
[ Save button ]
[ big picture ]
[ tab bar ] -
21.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(2) + fee(10)); - 22.🔢 In a photo-post flow, which comes first: “post the photo” or “open the camera screen”? (a) post the photo (b) open the camera screen
- 23.👥 A cricket club app has 220 players, 30 coaches and 145 fans as users. How many more players than coaches are there?
- 24.True or false: an alarm clock is a tool app. (a) True (b) False
-
25.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 800) {
return 0;
}
return 40;
}
Test 1: delivery(650) → expected 40
Test 2: delivery(1200) → expected 0
Test 3: delivery(1100) → expected 0 - 26.🧭 Which part of navigation goes to the last screen? (a) the back button (b) a menu button (c) a tab bar
- 27.True or false: a homework photo scanner needs the camera. (a) True (b) False
- 28.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) a title (d) an input
-
29.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(11) → expected 50
Test 3: price(19) → expected 100 -
30.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Hi, name! (b) Riya (c) greet (d) Hi, Riya! - 31.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) tab bar (d) home screen
-
32.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. tap the Me tab
3. open “Match report”
4. tap Back
5. tap the Lessons tab
Which screen are you on now? (a) Match report (b) Score card (c) Quiz (d) Lessons - 33.👥 A library app has 140 readers, 190 librarians and 235 volunteers as users. How many users does it have in all?
-
34.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 40; // start at 40
line 2: score = score + 2; // double it
line 3: score = score + 4; // add 4
line 4: score = score * 2; // double it
line 5: show(score); // show it -
35.🔁 What number does this code show?
let marks = [3, 13, 12, 8];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 36.Which of these is about UX (the experience)? (a) the font size (b) how many taps it takes (c) the screen layout (d) the theme colours
- 37.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
- 38.👥 A clinic app has 165 patients, 125 doctors and 115 nurses as users. How many users does it have in all?
- 39.Which of these is data? (a) tap to go Next (b) a date picker (c) your friends list (d) tap to Send
- 40.📴 Which of these can often still work with no internet? (a) a new website (b) an online search (c) a video call (d) an installed app
Answer key
- better UX
- pie-chart colours
- 18
- 6
- True
- write the code
- 60
- 65
- processing
- yellow on white
- text that can grow
- what the app really does
- 93
- Bronze
- a screen
- 6
- Title
- the build stage
- 48
- 4
- 20
- open the camera screen
- 190
- True
- 3
- the back button
- True
- an input
- 50
- Hi, Riya!
- dead end
- Lessons
- 565
- 92
- 36
- how many taps it takes
- one the app cannot skip
- 405
- your friends list
- an installed app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students