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 colour pair is easy to read? (a) pale pink on white (b) dark blue on white (c) light grey on white (d) red on green
-
2.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ menu icon ]
[ big picture ]
[ title text ]
[ filter buttons ]
[ Save button ] - 3.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) => (d) ===
-
4.🧩 Which of these is a button on this screen?
[title] Edit Profile
[text box] Age
[button] Send (a) Age (b) Send -
5.🧪 One test case fails. Which one?
🚚 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(850) → expected 0
Test 2: delivery(650) → expected 40
Test 3: delivery(800) → expected 0 (a) Test 3 (b) Test 2 (c) Test 1 - 6.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 1 (c) 3 to 5 (d) 10 to 12
-
7.👆 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;
}; - 8.Which of these happens at the idea stage? (a) talk to possible users (b) draw the user flow (c) write down the bugs (d) sketch the screens
- 9.Which of these fits saving in the cloud? (a) a draft you are typing (b) photos on two devices (c) notes to read offline (d) your last game level
- 10.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
-
11.🧪 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(450) → expected 40
Test 2: delivery(500) → expected 0
Test 3: delivery(650) → expected 0 -
12.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Try again
Test 2: result(8) → expected Pass
Test 3: result(6) → expected Pass (a) Test 3 (b) Test 2 (c) Test 1 - 13.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
- 14.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to look bigger (c) to use up storage (d) to confuse users
- 15.Which of these requests is fair? (a) torch → contacts (b) timer → your photos (c) calculator → location (d) calling app → contacts
-
16.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 44 px tall
Start button: 48 px tall
Help button: 56 px tall (a) Help (b) Send (c) Start - 17.Which of these happens at the idea stage? (a) write down the bugs (b) put it on an app store (c) spot a problem to solve (d) add the buttons
- 18.🔍 Which is the odd one out? (a) a unit converter (b) a flashcard trainer (c) an alarm clock (d) a torch
- 19.Which colour pair is hard to read? (a) white on dark green (b) white on black (c) yellow on white (d) black on pale grey
- 20.🎨 Is this about UI or UX: the font size? (a) UI (b) UX
-
21.🧩 How many buttons does this app screen have?
[title] Add Homework
[slider] Brightness
[button] Done
[text box] City
[switch] Dark mode - 22.🔍 Which is the odd one out? (a) a times-table quiz (b) a calculator (c) a flashcard trainer (d) a spelling coach
-
23.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. open “Match report”
3. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? - 24.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) show a question (c) confetti effects (d) background music
- 25.Which of these is a user need? (a) a share button (b) “I forget my homework” (c) a reminder alarm (d) a search bar
-
26.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Riya", "Meera", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Riya - 27.🔍 Which is the odd one out? (a) a racing challenge (b) a torch (c) a calculator (d) a unit converter
- 28.🔁 Why use a loop to show 100 messages? (a) it uses more lines (b) less code to write (c) it hides them (d) it is slower
-
29.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(95, 3)); -
30.🔁 What number does this code show?
let steps = [2, 16, 10];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 31.💡 Does an app idea like a page of random dots solve a real problem? (a) Yes (b) No
- 32.👆 An event in an app is ___. (a) a colour theme (b) an app store (c) a kind of list (d) something that happens
-
33.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Confirm → Address → Size → Menu
Design B: Home → Item → Shop → Results → Address → Search → Offers -
34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 39; // start at 39
line 2: lives = lives * 2; // double it
line 3: lives = lives + 2; // add 2
line 4: lives = lives + 2; // take away 2
line 5: show(lives); // show it -
35.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Item → Menu → Pay → Address → Search
Design B: Home → Address → Pay → Cart (a) Design B (b) Design A - 36.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
- 37.True or false: you pick the features at the plan stage. (a) False (b) True
-
38.🔀 What does this PIN rule show?
let pin = "622";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 39.True or false: tap to go Next is a button. (a) False (b) True
-
40.🔁 What number does this code show?
let runs = [10, 8, 1];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best);
Answer key
- dark blue on white
- 6
- ===
- Send
- Test 3
- 3 to 5
- 5
- talk to possible users
- photos on two devices
- 1
- 0
- Test 3
- a feature
- to learn from users soon
- calling app → contacts
- Send
- spot a problem to solve
- a flashcard trainer
- yellow on white
- UI
- 1
- a calculator
- 0
- show a question
- “I forget my homework”
- Hi, Kabir
- a racing challenge
- less code to write
- 285
- 16
- No
- something that happens
- 2
- 78
- Design B
- UX
- True
- Use 4 digits
- True
- 10
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students