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.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
- 2.🔍 Which is the odd one out? (a) a unit converter (b) a times-table quiz (c) a torch (d) a calculator
- 3.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) pick a theme colour (c) set a due date (d) see tasks by day
- 4.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) show arrival time (c) change the bus icon (d) rate the driver
-
5.👆 The user taps the button 4 times. What number does the label show now?
let score = 5;
button.onTap = function () {
score = score + 1;
label.text = score;
}; - 6.True or false: a step counter is a learning app. (a) True (b) False
-
7.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 50; // start at 49
line 2: lives = lives * 2; // double it
line 3: lives = lives - 1; // take away 1
line 4: lives = lives - 1; // take away 1
line 5: show(lives); // show it -
8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Hint: 14 px
Menu: 17 px
Body text: 21 px
Title: 17 px - 9.🔢 In a sign-up flow, which comes LAST? (a) type name and email (b) enter the code sent (c) see the home screen (d) open the app
- 10.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) get an idea (b) test the app
- 11.🔍 Which is the odd one out? (a) share the download link (b) talk to possible users (c) spot a problem to solve (d) list what users need
- 12.True or false: a calculator is a game. (a) True (b) False
- 13.🎨 UX stands for user ___. (a) extra (b) express (c) example (d) experience
- 14.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) a random need (c) the rarest need (d) the most common need
- 15.🧩 What does a button do when you tap it? (a) starts an action (b) saves the battery (c) shows the time (d) changes the phone
- 16.True or false: a big, easy tap area is poor button design. (a) False (b) True
- 17.🛠️ At which stage do you talk to possible users? (a) the plan stage (b) the release stage (c) the build stage (d) the idea stage
-
18.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, Meera! (b) Well done, nameBox.text! (c) Meera (d) Well done! - 19.🛠️ At which stage do you pick the features? (a) the release stage (b) the test stage (c) the build stage (d) the plan stage
- 20.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) the app store (c) the battery (d) people reading the code
-
21.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Meera", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Riya (c) Hi, Aman (d) Hi, Meera -
22.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 7 or more right answers.
function result(right) {
if (right > 7) {
return "Pass";
}
return "Try again";
}
Test 1: result(9) → expected Pass
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Try again - 23.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) tab bar (d) home screen
- 24.👆 “On tap → do this” links an event to ___. (a) a charger (b) a web address (c) a font (d) an action
- 25.🔍 Which is the odd one out? (a) adding up a bill (b) a buzz (vibration) (c) a beep sound (d) a pop-up message
- 26.🔀 What does if / else let an app do? (a) pick one of two actions (b) repeat forever (c) save a photo (d) draw a screen
- 27.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) share your streak (c) water animations (d) set a reminder time
-
28.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 29.Which of these is an output? (a) working out a tip (b) checking a password (c) typing your age (d) a result on screen
-
30.🔁 What number does this code show?
let marks = [14, 3, 16, 4];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
31.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pens → Results → Cart → Size → Pay → Search
Design B: Home → Menu → Pay - 32.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
- 33.True or false: a recipe finder is the best fit for a grandparent with weak eyesight. (a) True (b) False
- 34.🔍 Which is the odd one out? (a) a water reminder (b) a sleep tracker (c) a word battle (d) a step counter
-
35.🔁 What number does this code show?
let steps = [4, 9, 1, 1, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
36.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap the Quiz tab
3. tap the Me tab
4. open “Edit photo”
Which screen are you on now? (a) Quiz (b) Map (c) Edit photo (d) Lessons - 37.🔢 In a photo-post flow, which comes first: “take the photo” or “open the camera screen”? (a) take the photo (b) open the camera screen
-
38.🔀 What does this PIN rule show?
let pin = "15098";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
39.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age < 9) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(11) → expected 100
Test 3: price(6) → expected 50 - 40.🐞 What is a bug? (a) a nice icon (b) a new feature (c) a mistake in the code (d) a fast phone
Answer key
- UX
- a times-table quiz
- pick a theme colour
- show arrival time
- 9
- False
- 98
- 1
- see the home screen
- get an idea
- share the download link
- False
- experience
- the most common need
- starts an action
- False
- the idea stage
- Well done, Meera!
- the plan stage
- people reading the code
- Hi, Riya
- 2
- dead end
- an action
- adding up a bill
- pick one of two actions
- set a reminder time
- Ask a parent
- a result on screen
- 16
- 6
- a user need
- False
- a word battle
- 17
- Edit photo
- open the camera screen
- Use 4 digits
- 3
- a mistake in the code
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students