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 of these is a user need? (a) a reminder alarm (b) a dark mode switch (c) a share button (d) “Small text is hard”
-
2.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(9) → expected 50
Test 3: price(15) → expected 100 -
3.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. open “Video”
3. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 4.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 0, 1, 2 (c) 3 (d) 1, 2, 3
-
5.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 8 votes
missing the bus: 5 votes
forgetting homework: 6 votes (a) forgetting homework (b) forgetting birthdays (c) missing the bus - 6.🧪 A test case is an input together with its ___. (a) expected result (b) font size (c) app icon (d) screen colour
-
7.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 45; // start at 45
line 2: points = points + 3; // take away 3
line 3: points = points - 1; // take away 1
line 4: points = points + 4; // add 4
line 5: show(points); // show it -
8.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 9.🔐 Which permission does a voice recorder really need? (a) the microphone (b) contacts (c) location (d) the camera
- 10.👥 A cricket club app has 150 players, 85 coaches and 30 fans as users. How many more players than fans are there?
- 11.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) buy a new phone (d) find where it goes wrong
-
12.🔀 Which badge does this quiz app show?
let marks = 27;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver -
13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 46; // start at 46
line 2: coins = coins - 5; // take away 5
line 3: coins = coins + 6; // add 6
line 4: coins = coins - 2; // add 2
line 5: show(coins); // show it - 14.🔍 Which is the odd one out? (a) text that can grow (b) strong colour contrast (c) labels on every icon (d) icons with no labels
- 15.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
- 16.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) see where the bus is (b) change the bus icon (c) a dark mode (d) rate the driver
-
17.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Pay → Address
Design B: Home → Search → Confirm → Address → Shop -
18.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(15, 2)); - 19.🔢 In a food-order flow, what comes right after “pick a dish”? (a) add it to the cart (b) pay for the order (c) check the cart (d) open the menu
- 20.🎯 Which app would help this user most: a child saving up for a cycle? (a) a pocket-money tracker (b) a water reminder (c) a big-text reader (d) a recipe finder
-
21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Cancel
[text box] Phone
[text box] Notes
[text box] Email - 22.🗂️ What kind of app is a water reminder? (a) a game (b) a health app (c) a tool app (d) a learning app
- 23.True or false: a medicine reminder solves a real problem. (a) False (b) True
- 24.Which of these app ideas solves a real problem? (a) a button with no action (b) an app that just says hi (c) a blank grey screen (d) a lost-and-found board
-
25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 52 px tall
Back button: 56 px tall
Cancel button: 32 px tall
Save button: 52 px tall (a) Save (b) Back (c) Cancel (d) Next - 26.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) open the app (c) see the home screen (d) enter the code sent
- 27.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) repeat forever (d) pick one of two actions
-
28.🧪 One test case fails. Which one?
📝 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(7) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(9) → expected Pass (a) Test 3 (b) Test 2 (c) Test 1 - 29.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) edge cases (c) old cases (d) easy cases
- 30.Which of these app ideas solves no real problem? (a) a bill splitter (b) a free study-room finder (c) a library due-date alert (d) a page of random dots
- 31.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
32.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 33.🧩 In an app, what is your saved notes? (a) an input (b) a button (c) a screen (d) data
- 34.🔢 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
- 35.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a big-text reader (b) a recipe finder (c) a homework planner (d) a bus tracker
- 36.🔀 Why plan the user flow before building? (a) so each step is clear (b) to add more taps (c) to skip testing (d) to hide the buttons
-
37.⚙️ What number does this app show?
let bill = 272; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); - 38.👥 A cricket club app has 140 players, 80 coaches and 150 fans as users. How many more players than coaches are there?
- 39.True or false: how users feel after is about UI (the look). (a) False (b) True
-
40.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ tab bar ]
[ search box ]
[ Add button ]
[ list of items ]
[ top bar ] (a) search box (b) Add button (c) top bar (d) tab bar
Answer key
- “Small text is hard”
- 100
- 2
- 0, 1, 2
- forgetting birthdays
- expected result
- 45
- Welcome!
- the microphone
- 120
- find where it goes wrong
- Bronze
- 49
- icons with no labels
- True
- see where the bus is
- 2
- 30
- add it to the cart
- a pocket-money tracker
- 3
- a health app
- True
- a lost-and-found board
- Cancel
- open the app
- pick one of two actions
- Test 1
- edge cases
- a page of random dots
- in the cloud
- 2
- data
- type name and email
- a big-text reader
- so each step is clear
- 68
- 60
- False
- top bar
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students