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.🔀 What number does this shop app show?
let total = 200;
if (total > 500) {
total = total - 50;
}
show(total); - 2.Which of these makes the app harder to use? (a) labels on every icon (b) fast-flashing lights (c) big touch targets (d) captions on videos
- 3.👥 A cricket club app has 110 players, 150 coaches and 300 fans as users. How many more coaches than players are there?
- 4.♿ A screen has 9 icon buttons. Only 7 of them have a text label for screen readers. How many still need a label?
- 5.🔢 In a sign-up flow, which comes LAST? (a) enter the code sent (b) see the home screen (c) type name and email (d) open the app
-
6.⚙️ What number does this app show?
let price = 480; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); - 7.🔍 Which is the odd one out? (a) an alarm clock (b) a times-table quiz (c) a flashcard trainer (d) a spelling coach
-
8.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON - 9.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
- 10.Which of these happens at the build stage? (a) sketch the screens (b) spot a problem to solve (c) add the buttons (d) write down the bugs
- 11.🧰 Why write a function? (a) to slow the app (b) to hide errors (c) to make code longer (d) to reuse code
- 12.🔍 Which is the odd one out? (a) the theme colours (b) how fast a task is done (c) the button colours (d) the font size
-
13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Size → Offers → Pay
Design B: Home → Confirm → Shop → Menu → Item → Search → Cart - 14.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) share tasks to friends (b) see tasks by day (c) set a due date (d) add a homework task
- 15.🔢 In a quiz-app flow, which comes FIRST? (a) see the final score (b) pick an answer (c) see if it is right (d) tap “Start quiz”
-
16.🧪 How many of these test cases pass?
📝 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(7) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(3) → expected Try again - 17.🧩 In an app, what is your high score? (a) a button (b) data (c) a screen (d) an input
- 18.True or false: one second passes is a load event. (a) True (b) False
- 19.True or false: the search box changes is a text event. (a) True (b) False
-
20.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(650) → expected 0 -
21.🔀 What does this PIN rule show?
let pin = "4989";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 22.Which of these is about UX (the experience)? (a) the screen layout (b) the font size (c) the icon shapes (d) whether users get lost
-
23.👆 The user taps the button 5 times. What number does the label show now?
let stars = 10;
button.onTap = function () {
stars = stars + 4;
label.text = stars;
}; - 24.True or false: a 5-minute alarm ends is a timer event. (a) False (b) True
-
25.🔁 What number does this code show?
let steps = [56, 51, 18, 29];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 60) {
count = count + 1;
}
}
show(count); -
26.💾 What number does this code show?
let score = 9;
score = score - 9;
score = score + 1;
show(score); - 27.True or false: an app updates from the store. (a) False (b) True
- 28.🔍 Which is the odd one out? (a) the font size (b) whether users get lost (c) the button colours (d) the icon shapes
- 29.🧩 Which part lets the user give the app information? (a) an input (b) an icon (c) a logo (d) a title
- 30.True or false: a birthday list of friends needs your location. (a) True (b) False
-
31.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Search → Cart → Confirm → Pay → Shop
Design B: Home → Menu → Confirm → Pay → Results (a) Design B (b) Design A - 32.🔍 Which is the odd one out? (a) a racing challenge (b) a sleep tracker (c) a cricket run chase (d) a puzzle with levels
-
33.🔀 Which badge does this quiz app show?
let marks = 69;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 34.🔘 Our rule: buttons are at least 48 px tall. The Done button is 36 px tall. How many px taller must it be?
- 35.True or false: taking a photo is an output. (a) False (b) True
- 36.🔢 In a food-order flow, which comes LAST? (a) add it to the cart (b) pick a dish (c) open the menu (d) track the order
-
37.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “missing the bus”?
wasting pocket money: 23 votes
missing the bus: 7 votes
losing water bottles: 17 votes - 38.♿ What should every icon-only button have for screen readers? (a) a long animation (b) a bright colour (c) a text label (d) a sound
- 39.Which of these fits saving on the phone? (a) a shared to-do list (b) a class leaderboard (c) a draft you are typing (d) chat messages to friends
- 40.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a homework planner (b) a big-text reader (c) a water reminder (d) a bus tracker
Answer key
- 200
- fast-flashing lights
- 40
- 2
- see the home screen
- 440
- an alarm clock
- ON
- Yes
- add the buttons
- to reuse code
- how fast a task is done
- 3
- share tasks to friends
- tap “Start quiz”
- 2
- data
- False
- True
- 3
- PIN saved
- whether users get lost
- 30
- True
- 0
- 1
- True
- whether users get lost
- an input
- False
- Design B
- a sleep tracker
- Silver
- 12
- False
- track the order
- 16
- a text label
- a draft you are typing
- a water reminder
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students