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 app would help this user most: a parent waiting at the bus stop? (a) a bus tracker (b) a water reminder (c) a big-text reader (d) a recipe finder
- 2.🧩 In an app, what is a date picker? (a) an input (b) a screen (c) a button (d) data
- 3.Which of these is a screen? (a) the log-in page (b) tap to go Next (c) a switch for dark mode (d) a slider for volume
- 4.True or false: a medicine reminder solves no real problem. (a) True (b) False
- 5.True or false: you talk to possible users at the release stage. (a) True (b) False
- 6.🧩 Scores, notes and settings that an app keeps are called ___. (a) tabs (b) data (c) screens (d) buttons
-
7.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(18) → expected 100
Test 3: price(10) → expected 50 (a) Test 2 (b) Test 1 (c) Test 3 - 8.🔘 Our rule: buttons are at least 48 px tall. The Send button is 24 px tall. How many px taller must it be?
-
9.🧪 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(6) → expected Try again
Test 3: result(8) → expected Pass - 10.🎯 Who are the users of an app? (a) only the coders (b) only the testers (c) the app icons (d) the people who use it
- 11.True or false: the button colours is about UI (the look). (a) False (b) True
- 12.🔢 In a sign-up flow, what comes right after “make a password”? (a) type name and email (b) see the home screen (c) open the app (d) enter the code sent
-
13.🧪 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(9) → expected 100
Test 3: price(6) → expected 50 -
14.👆 The user taps the button 4 times. What number does the label show now?
let coins = 2;
button.onTap = function () {
coins = coins + 2;
label.text = coins;
}; - 15.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) see where the bus is (b) pick your bus stop (c) a dark mode (d) show arrival time
- 16.True or false: a wireframe has the real colours. (a) True (b) False
- 17.Which of these is true of a tab bar? (a) opens a list of pages (b) goes to the last screen (c) undoes one move (d) switches main sections
- 18.Which of these requests asks for too much? (a) camera app → camera (b) calling app → contacts (c) timer → your photos (d) map app → location
-
19.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 20.🔢 After an app is released, what comes right after “list what to fix”? (a) release an update (b) fix and improve (c) test it again (d) read user reviews
- 21.🧰 How do you run (call) a function called greet? (a) greet[] (b) run greet (c) greet() (d) #greet
-
22.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(5)); -
23.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Search tab
2. open “Edit photo”
3. open “Badges”
4. tap the Profile tab
Which screen are you on now? (a) Badges (b) Profile (c) Home (d) Edit photo - 24.👥 A cricket club app has 85 players, 235 coaches and 185 fans as users. How many users does it have in all?
- 25.🔢 After an app is released, what comes right after “test it again”? (a) read user reviews (b) fix and improve (c) list what to fix (d) release an update
-
26.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Search → Cart → Shop → Address → Results
Design B: Home → Shop → Item → Menu - 27.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) FAQ (c) URL (d) CPU
- 28.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) a random page (c) the last app used (d) that tab’s main screen
- 29.🔘 Our rule: buttons are at least 48 px tall. The Help button is 24 px tall. How many px taller must it be?
- 30.✏️ Why draw a wireframe before coding? (a) it adds colours (b) changes are quick (c) it saves data (d) it runs the app
- 31.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
-
32.🔁 What number does this code show?
let runs = [30, 17, 19, 77];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); -
33.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap the Search tab
3. tap the Search tab
4. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 34.🧪 Who else should try an app before release? (a) the app icon (b) only the coder (c) nobody (d) real users
- 35.Which of these is an input? (a) working out a tip (b) sorting the scores (c) adding up a bill (d) speaking a command
- 36.📱 Where do people usually download phone apps from? (a) an app store (b) a charger (c) a printer (d) a web server
-
37.🔀 What number does this shop app show?
let total = 850;
if (total > 500) {
total = total - 50;
}
show(total); - 38.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) enter the code sent (c) see the home screen (d) open the app
-
39.🔁 What number does this code show?
let marks = [20, 15, 7, 18];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 40.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
Answer key
- a bus tracker
- an input
- the log-in page
- False
- False
- data
- Test 1
- 24
- 3
- the people who use it
- True
- enter the code sent
- 2
- 10
- a dark mode
- False
- switches main sections
- timer → your photos
- Welcome!
- fix and improve
- greet()
- 15
- Profile
- 505
- release an update
- 3
- MVP
- that tab’s main screen
- 24
- changes are quick
- easy to read
- 1
- 1
- real users
- speaking a command
- an app store
- 800
- open the app
- 60
- good design
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students