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.True or false: a flashcard trainer is a tool app. (a) True (b) False
- 2.🔍 Which is the odd one out? (a) colour as the only clue (b) strong colour contrast (c) big touch targets (d) text that can grow
-
3.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 10 votes
forgetting birthdays: 21 votes
no quiet study place: 17 votes (a) missing the bus (b) no quiet study place (c) forgetting birthdays -
4.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 135; // typed by the user
line 2: let friends = 3; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 2 (c) line 4 (d) line 1 -
5.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. open “Map”
3. open “Match report”
4. tap the Lessons tab
5. open “Map”
How many times must you tap Back to reach the main screen of this tab? -
6.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 6)); -
7.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(8) → expected 100
Test 3: price(7) → expected 50 (a) Test 2 (b) Test 3 (c) Test 1 -
8.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 600) {
return 0;
}
return 40;
}
Test 1: delivery(450) → expected 40
Test 2: delivery(700) → expected 0
Test 3: delivery(650) → expected 0 - 9.🧪 What is the actual result of a test? (a) what the app really does (b) the test’s number (c) the app’s name (d) what we hope for
-
10.🧩 How many buttons does this app screen have?
[title] New Note
[text box] Name
[button] Done
[slider] Volume - 11.Which of these fits saving in the cloud? (a) notes to read offline (b) the sound on/off setting (c) chat messages to friends (d) your last game level
- 12.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a picture goes here (c) delete this (d) a closed app
-
13.👆 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 - 14.🔀 What does >= mean? (a) less than (b) greater than or equal (c) not equal (d) smaller or equal
-
15.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
16.🔁 What number does this code show?
let scores = [92, 80, 18, 12, 98];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); - 17.🚀 In version 2.5.1, which number is the major version? (a) 5 (b) 1 (c) 2 (d) 251
- 18.🔢 In a sign-up flow, which comes first: “see the home screen” or “type name and email”? (a) type name and email (b) see the home screen
-
19.🚀 Which of these versions is the NEWEST?
1.2.0, 0.28.4, 1.5.7, 1.19.1 (a) 1.2.0 (b) 0.28.4 (c) 1.5.7 (d) 1.19.1 -
20.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
set a reminder time: 4 days
log a glass of water: 1 days
see today’s total: 3 days - 21.True or false: a free study-room finder solves a real problem. (a) True (b) False
- 22.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) has a web address (d) updates from the store
-
23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. tap the Me tab
3. tap the Me tab
4. tap the Quiz tab
5. open “Badges”
How many times must you tap Back to reach the main screen of this tab? -
24.🔁 What number does this code show?
let marks = [10, 6, 19];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 25.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
- 26.👥 A clinic app has 150 patients, 290 doctors and 60 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
- 27.True or false: a wireframe shows the real fonts. (a) False (b) True
- 28.True or false: “big touch targets” makes the app harder to use. (a) False (b) True
- 29.📱 The word “app” is short for ___. (a) appointment (b) appetite (c) apparatus (d) application
-
30.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(10) → expected 100
Test 2: price(5) → expected 50
Test 3: price(9) → expected 100 -
31.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 24 votes
no quiet study place: 9 votes
wasting pocket money: 8 votes - 32.Which of these requests asks for too much? (a) calling app → contacts (b) map app → location (c) calculator → location (d) camera app → camera
- 33.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) FAQ (c) URL (d) MVP
-
34.🔀 Which badge does this quiz app show?
let marks = 45;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 35.Which of these is about UI (the look)? (a) how many taps it takes (b) whether users get lost (c) how easy sign-up is (d) the theme colours
- 36.🔢 After an app is released, what comes right after “fix and improve”? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
- 37.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) add money spent (c) show the balance (d) pie-chart colours
- 38.💾 In most code, the first item of a list is at position ___. (a) 0 (b) 1 (c) 2 (d) 10
- 39.True or false: the screen first opens is a load event. (a) False (b) True
- 40.🚀 Which version is newer: 2.6.0 or 2.10.0? (a) 2.6.0 (b) 2.10.0
Answer key
- False
- colour as the only clue
- forgetting birthdays
- line 3
- 1
- 300
- Test 2
- 3
- what the app really does
- 1
- chat messages to friends
- a picture goes here
- ON
- greater than or equal
- Ask a parent
- 3
- 2
- type name and email
- 1.19.1
- 3
- True
- updates from the store
- 1
- 19
- easy to read
- doctors
- False
- False
- application
- 100
- 41
- calculator → location
- MVP
- Bronze
- the theme colours
- test it again
- pie-chart colours
- 0
- True
- 2.10.0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students