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.🧪 How many of these test cases pass?
🎟️ 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(10) → expected 50
Test 2: price(13) → expected 100
Test 3: price(14) → expected 100 -
2.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Cart → Pens → Confirm → Offers → Item
Design B: Home → Shop → Confirm → Offers -
3.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right >= 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(10) → expected Pass
Test 3: result(4) → expected Try again - 4.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) see today’s total (b) water animations (c) custom alert sounds (d) share your streak
-
5.🧪 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(9) → expected Pass
Test 3: result(6) → expected Try again (a) Test 3 (b) Test 2 (c) Test 1 - 6.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a recipe finder (b) a pocket-money tracker (c) a water reminder (d) a bus tracker
- 7.📅 An app team plans for 2 days, builds for 7 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
-
8.🔁 What is the LAST line this code shows?
let names = ["Riya", "Kabir", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Kabir (c) Hi, Zoya - 9.🔘 Our rule: buttons are at least 48 px tall. The Done button is 36 px tall. How many px taller must it be?
-
10.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Search tab
3. open “Video”
4. tap the Search tab
5. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? -
11.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 8 votes
forgetting birthdays: 21 votes
forgetting homework: 25 votes - 12.Which of these is a user need? (a) a share button (b) a search bar (c) “I keep missing the bus” (d) a reminder alarm
-
13.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting homework: 21 votes
forgetting birthdays: 22 votes
losing water bottles: 6 votes -
14.🧩 How many buttons does this app screen have?
[title] Sign Up
[text box] Due date
[button] Next
[button] Back
[text box] Email - 15.True or false: a bill splitter solves no real problem. (a) True (b) False
- 16.🧩 Which part lets the user give the app information? (a) an input (b) a title (c) a logo (d) an icon
- 17.🔐 Which permission does a selfie sticker app really need? (a) contacts (b) the microphone (c) location (d) the camera
- 18.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the screen turns off (c) the phone is lost (d) the app is closed
- 19.🔢 In a food-order flow, which comes first: “add it to the cart” or “track the order”? (a) track the order (b) add it to the cart
- 20.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
21.⚙️ What number does this app show?
let bill = 196; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); - 22.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 23.🔍 Which is the odd one out? (a) tapping a button (b) typing your age (c) a beep sound (d) speaking a command
-
24.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(3)); - 25.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
- 26.Which of these is data? (a) the log-in page (b) a date picker (c) the settings page (d) your high score
-
27.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “forgetting homework”?
forgetting homework: 6 votes
no quiet study place: 24 votes
missing the bus: 25 votes - 28.⚙️ In an app, is taking a photo an input, processing or an output? (a) processing (b) output (c) input
-
29.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 33; // start at 33
line 2: lives = lives - 2; // add 2
line 3: lives = lives - 1; // take away 1
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it (a) line 4 (b) line 1 (c) line 2 (d) line 3 -
30.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting homework: 8 votes
missing the bus: 9 votes
wasting pocket money: 25 votes - 31.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
-
32.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 48 px tall
Save button: 52 px tall
Done button: 56 px tall
Cancel button: 48 px tall - 33.🔢 In a photo-post flow, what comes right after “take the photo”? (a) write a caption (b) post the photo (c) add a filter (d) open the camera screen
- 34.🔢 In a food-order flow, what comes right after “add it to the cart”? (a) pay for the order (b) pick a dish (c) check the cart (d) track the order
-
35.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ search box ]
[ top bar ]
[ tab bar ] (a) tab bar (b) search box (c) top bar (d) list of items -
36.⚙️ What number does this app show?
let price = 280; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay); - 37.🗂️ What kind of app is a racing challenge? (a) a tool app (b) a health app (c) a game (d) a learning app
-
38.⚙️ What number does this app show?
let km = 13; // typed by the user
let metres = km * 1000;
show(metres); - 39.🔢 In a photo-post flow, which comes LAST? (a) write a caption (b) open the camera screen (c) take the photo (d) post the photo
-
40.🚀 Which of these versions is the NEWEST?
4.13.3, 3.29.8, 4.10.0, 4.6.0 (a) 4.6.0 (b) 4.10.0 (c) 3.29.8 (d) 4.13.3
Answer key
- 3
- 3
- 3
- see today’s total
- Test 1
- a pocket-money tracker
- 13
- Hi, Zoya
- 12
- 1
- 54
- “I keep missing the bus”
- 49
- 2
- False
- an input
- the camera
- the phone is lost
- add it to the cart
- in the cloud
- 49
- on the phone
- a beep sound
- 50
- a named block of code
- your high score
- 18
- input
- line 2
- 42
- a bill splitter
- 4
- add a filter
- check the cart
- tab bar
- 270
- a game
- 13000
- post the photo
- 4.13.3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students