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.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(600) → expected 40 (a) Test 2 (b) Test 3 (c) Test 1 -
2.🧩 How many buttons does this app screen have?
[title] New Note
[text box] Email
[text box] Age
[button] Next
[text box] Subject
[switch] Sound -
3.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ menu icon ]
[ Save button ]
[ filter buttons ]
[ big picture ] (a) filter buttons (b) Save button (c) big picture - 4.True or false: a slider for volume is a screen. (a) True (b) False
- 5.Which of these is true of a website? (a) is installed on a phone (b) has a home-screen icon (c) updates from the store (d) opens from a link
- 6.🧪 What is the actual result of a test? (a) the app’s name (b) the test’s number (c) what we hope for (d) what the app really does
- 7.🔢 After an app is released, which comes first: “fix and improve” or “read user reviews”? (a) read user reviews (b) fix and improve
-
8.🔁 What number does this code show?
let runs = [14, 19, 10, 20];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 9.🔍 Which is the odd one out? (a) a flashcard trainer (b) an alarm clock (c) a calculator (d) a torch
- 10.🔀 What does >= mean? (a) less than (b) not equal (c) smaller or equal (d) greater than or equal
-
11.🔁 What number does this code show?
let runs = [10, 3, 4, 15, 4];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 12.🗒️ What is a must-have feature? (a) a colour theme (b) a sound effect (c) a nice extra (d) one the app cannot skip
- 13.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) read a question (b) tap “Start quiz”
- 14.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) add money received (b) pie-chart colours (c) export to a file (d) savings stickers
-
15.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Match report”
3. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? - 16.📱 Which one updates from the store: an app or a website? (a) a website (b) an app
-
17.👆 The user taps the button 5 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) ON (b) OFF - 18.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 19.🔍 Which is the odd one out? (a) the theme colours (b) the font size (c) the screen layout (d) how easy sign-up is
- 20.🧩 In an app, what is the home page of an app? (a) a screen (b) an input (c) a button (d) data
- 21.🔘 Our rule: buttons are at least 48 px tall. The Save button is 20 px tall. How many px taller must it be?
- 22.True or false: a class leaderboard fits saving in the cloud. (a) False (b) True
- 23.True or false: a racing challenge is a game. (a) False (b) True
-
24.🔀 Which badge does this quiz app show?
let marks = 28;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver -
25.🔀 Which badge does this quiz app show?
let marks = 92;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 26.🎨 UX stands for user ___. (a) express (b) example (c) extra (d) experience
- 27.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
-
28.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
forgetting homework: 19 votes
missing the bus: 17 votes
losing water bottles: 6 votes - 29.True or false: a page of random dots solves no real problem. (a) True (b) False
-
30.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(6) → expected Pass
Test 2: result(5) → expected Pass
Test 3: result(4) → expected Try again (a) Test 3 (b) Test 2 (c) Test 1 -
31.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 11 px
Menu: 25 px
Caption: 16 px (a) Caption (b) Menu (c) Body text -
32.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 33.Which of these is about UI (the look)? (a) how fast a task is done (b) the button colours (c) how users feel after (d) how many taps it takes
- 34.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a homework planner (c) a lost-and-found board (d) a study-room finder
-
35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Back button: 32 px tall
Next button: 56 px tall
Start button: 64 px tall (a) Start (b) Back (c) Next -
36.🔁 What number does this code show?
let marks = [7, 13, 14, 14, 4];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 37.🎯 What is the best first step to learn what users need? (a) guess on your own (b) pick the colours (c) write the code (d) ask and watch users
-
38.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
add money received: 3 days
add money spent: 4 days
show the balance: 2 days -
39.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 32; // start at 31
line 2: coins = coins * 2; // double it
line 3: coins = coins + 3; // add 3
line 4: show(coins); // show it - 40.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) CPU (c) MVP (d) FAQ
Answer key
- Test 1
- 1
- Save button
- False
- opens from a link
- what the app really does
- read user reviews
- 63
- a flashcard trainer
- greater than or equal
- 15
- one the app cannot skip
- tap “Start quiz”
- add money received
- 0
- an app
- ON
- hard to read
- how easy sign-up is
- a screen
- 28
- True
- True
- Bronze
- Gold
- experience
- UX
- 11
- True
- Test 2
- Body text
- Ask a parent
- the button colours
- a homework planner
- Back
- 52
- ask and watch users
- 0
- 67
- MVP
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students