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.🔁 What number does this code show?
let steps = [96, 30, 89, 30, 13];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); - 2.True or false: typing your age is an input. (a) True (b) False
- 3.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) show the score (d) background music
- 4.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “Small text is hard”
- 5.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 6.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) the camera (c) location (d) contacts
- 7.🔀 Why plan the user flow before building? (a) so each step is clear (b) to hide the buttons (c) to skip testing (d) to add more taps
- 8.Which of these is true of a menu button? (a) shows 3 to 5 icons (b) switches main sections (c) goes to the last screen (d) opens a list of pages
-
9.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 22 votes
forgetting homework: 6 votes
losing water bottles: 15 votes (a) losing water bottles (b) missing the bus (c) forgetting homework -
10.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(5)); - 11.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money received (c) export to a file (d) add money spent
- 12.👥 A cricket club app has 20 players, 155 coaches and 225 fans as users. How many more fans than players are there?
-
13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 36; // start at 33
line 2: coins = coins * 2; // double it
line 3: coins = coins + 3; // add 3
line 4: show(coins); // show it (a) line 1 (b) line 3 (c) line 2 -
14.🧩 Which of these is a button on this screen?
[title] Add Homework
[button] Back
[text box] Phone
[text box] Due date
[text box] City
[slider] Volume (a) Back (b) Phone (c) Due date (d) City -
15.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Hi, Riya! (b) Hi, name! (c) Riya (d) greet -
16.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 180; // typed by the user
line 2: let off = 10; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 4 (b) line 1 (c) line 2 (d) line 3 -
17.📊 Survey: which problem bugs you most? Which problem should your app solve first?
losing water bottles: 13 votes
forgetting homework: 7 votes
no quiet study place: 21 votes (a) forgetting homework (b) losing water bottles (c) no quiet study place -
18.🧪 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(8) → expected 100
Test 2: price(13) → expected 100
Test 3: price(5) → expected 50 (a) Test 2 (b) Test 1 (c) Test 3 - 19.🛠️ At which stage do you talk to possible users? (a) the release stage (b) the test stage (c) the idea stage (d) the build stage
- 20.True or false: a big, easy tap area is good button design. (a) False (b) True
- 21.Which of these fits saving on the phone? (a) a class leaderboard (b) notes to read offline (c) chat messages to friends (d) a shared to-do list
- 22.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) ready to release (c) missing a must-have (d) well planned
- 23.🔢 In a food-order flow, which comes FIRST? (a) open the menu (b) pick a dish (c) track the order (d) pay for the order
-
24.💾 What does this code show? (Positions start at 0.)
let friends = ["Arjun", "Zoya", "Meera", "Riya"];
show(friends[1]); (a) Riya (b) Arjun (c) Zoya (d) Meera - 25.True or false: a step counter is a learning app. (a) True (b) False
- 26.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
-
27.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(9) → expected 50
Test 3: price(10) → expected 100 -
28.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Size → Item → Menu
Design B: Home → Menu → Search → Pay → Size → Cart → Offers - 29.🔢 In a quiz-app flow, which comes first: “read a question” or “pick an answer”? (a) read a question (b) pick an answer
-
30.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Results → Pens → Pay → Item → Confirm → Address
Design B: Home → Pens → Results → Shop - 31.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) pie-chart colours (d) add money spent
- 32.🔍 Which is the odd one out? (a) pick the features (b) draw the user flow (c) sketch the screens (d) write the code
- 33.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a bus tracker (b) a recipe finder (c) a big-text reader (d) a homework planner
-
34.🔁 What number does this code show?
let steps = [4, 12, 13, 15, 12];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 35.💡 Which app idea solves this problem: bottles go missing at school? (a) a lost-and-found board (b) a study-room finder (c) a medicine reminder (d) a bill splitter
-
36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 48 px tall
Back button: 36 px tall
Start button: 48 px tall (a) Start (b) Cancel (c) Back -
37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap the Profile tab
3. tap the Search tab
4. tap the Profile tab
How many times must you tap Back to reach the main screen of this tab? - 38.True or false: icons with no meaning is good button design. (a) False (b) True
-
39.🧪 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(10) → expected 50
Test 2: price(16) → expected 100
Test 3: price(13) → expected 100 (a) Test 2 (b) Test 1 (c) Test 3 - 40.📅 An app team plans for 3 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
Answer key
- 2
- True
- show the score
- “Small text is hard”
- in the cloud
- the camera
- so each step is clear
- opens a list of pages
- missing the bus
- 80
- export to a file
- 205
- line 1
- Back
- Hi, Riya!
- line 3
- no quiet study place
- Test 1
- the idea stage
- True
- notes to read offline
- missing a must-have
- open the menu
- Zoya
- False
- an app
- 100
- 6
- read a question
- 3
- add money spent
- write the code
- a homework planner
- 56
- a lost-and-found board
- Back
- 0
- False
- Test 3
- 9
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students