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 is the odd one out? (a) a times-table quiz (b) a flashcard trainer (c) a spelling coach (d) a calculator
-
2.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 34; // start at 34
line 2: score = score - 4; // add 4
line 3: score = score - 1; // take away 1
line 4: score = score - 4; // take away 4
line 5: show(score); // show it - 3.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) big touch targets (d) captions on videos
-
4.🧪 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(6) → expected 50
Test 2: price(12) → expected 100
Test 3: price(9) → expected 100 -
5.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 52 px tall
Done button: 28 px tall
Help button: 48 px tall
Back button: 56 px tall (a) Back (b) Done (c) Help (d) Cancel -
6.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. open “Score card”
3. open “Video”
Which screen are you on now? (a) Lessons (b) Score card (c) Quiz (d) Video -
7.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 41; // start at 41
line 2: score = score + 2; // double it
line 3: score = score + 2; // add 2
line 4: show(score); // show it (a) line 2 (b) line 3 (c) line 1 - 8.Which of these is true of an app? (a) opens in a web browser (b) needs no installing (c) opens from a link (d) has a home-screen icon
- 9.🚀 Your app is at version 4.8.6. The next release fixes a small bug. What is its version number? (a) 4.9.6 (b) 5.0.0 (c) 4.8.7 (d) 4.9.0
-
10.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 8 votes
forgetting birthdays: 4 votes
wasting pocket money: 20 votes (a) no quiet study place (b) wasting pocket money (c) forgetting birthdays -
11.🔁 What number does this code show?
let scores = [19, 9, 15, 1, 10];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 12.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) see the final score (c) tap “Start quiz” (d) pick an answer
- 13.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) a random page (c) a clear next step (d) the same screen
- 14.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a button with no action (c) a free study-room finder (d) a medicine reminder
-
15.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Friend list”
3. tap the Me tab
How many times must you tap Back to reach the main screen of this tab? - 16.True or false: a finger hits Like is a load event. (a) True (b) False
- 17.👆 Code that runs when an event happens is called a ___. (a) handler (b) headline (c) header (d) hashtag
- 18.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 19.🎯 Which app would help this user most: a cook with no idea for dinner? (a) a big-text reader (b) a recipe finder (c) a pocket-money tracker (d) a bus tracker
-
20.🧪 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(12) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(9) → expected Pass - 21.♿ Accessibility means an app works for ___. (a) nobody (b) only the coder (c) only experts (d) everyone
- 22.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) background music (c) show the score (d) check the answer
- 23.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
- 24.Which of these is true of a wireframe? (a) looks like the real app (b) shows the real fonts (c) uses plain grey boxes (d) uses the final pictures
-
25.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age <= 12) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(12) → expected 100
Test 3: price(10) → expected 50 (a) Test 1 (b) Test 3 (c) Test 2 -
26.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 3; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 1 (c) line 3 -
27.🔀 What number does this shop app show?
let total = 770;
if (total > 500) {
total = total - 50;
}
show(total); - 28.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) get an idea (c) build the app (d) release it
- 29.Which of these is true of a final design? (a) has no real colours (b) uses the final pictures (c) shows where things go (d) uses plain grey boxes
- 30.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
- 31.True or false: a tiny 20 px button is good button design. (a) True (b) False
- 32.True or false: an app opens in a web browser. (a) False (b) True
- 33.True or false: how fast a task is done is about UI (the look). (a) True (b) False
-
34.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Zoya", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Meera (d) Hi, Aman -
35.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap Back
3. open “Badges”
4. tap the Chat tab
5. open “Badges”
Which screen are you on now? (a) Video (b) Chat (c) Badges (d) Feed -
36.🧩 How many buttons does this app screen have?
[title] Settings
[text box] City
[button] Cancel - 37.Which colour pair is easy to read? (a) dark blue on black (b) light grey on white (c) pale pink on white (d) white on black
- 38.🔍 Which is the odd one out? (a) draw the user flow (b) put it on an app store (c) sketch the screens (d) pick the features
- 39.🔢 In a food-order flow, which comes LAST? (a) open the menu (b) pick a dish (c) add it to the cart (d) track the order
- 40.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) rate the driver (c) change the bus icon (d) pick your bus stop
Answer key
- a calculator
- 33
- tiny tap areas
- 3
- Done
- Video
- line 2
- has a home-screen icon
- 4.8.7
- wasting pocket money
- 54
- tap “Start quiz”
- a clear next step
- a button with no action
- 0
- False
- handler
- on the phone
- a recipe finder
- 3
- everyone
- background music
- a user need
- uses plain grey boxes
- Test 2
- line 2
- 720
- build the app
- uses the final pictures
- a wireframe
- False
- False
- False
- Hi, Meera
- Badges
- 1
- white on black
- put it on an app store
- track the order
- pick your bus stop
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students