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.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) tab bar (c) dead end (d) shortcut
-
2.🔁 What number does this code show?
let steps = [3, 1, 18, 13, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 3.✏️ A box with a cross in a wireframe usually means ___. (a) a picture goes here (b) an error (c) delete this (d) a closed app
-
4.💾 What number does this code show?
let songs = ["Rain", "Stars"];
songs.push("Kites");
show(songs.length); - 5.🔢 In a food-order flow, which comes first: “add it to the cart” or “check the cart”? (a) check the cart (b) add it to the cart
- 6.Which of these app ideas solves a real problem? (a) a page of random dots (b) a free study-room finder (c) a button with no action (d) a blank grey screen
- 7.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
- 8.🔐 Which permission does a party-invite app for friends really need? (a) contacts (b) the microphone (c) location (d) the camera
- 9.🔍 Which is the odd one out? (a) a cricket run chase (b) a puzzle with levels (c) a spelling coach (d) a word battle
-
10.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. open “Friend list”
3. tap Back
4. open “Map”
5. open “Map”
Which screen are you on now? (a) Score card (b) Home (c) Friend list (d) Map -
11.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 15; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 4 (c) line 1 (d) line 3 -
12.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(9) → expected 50
Test 2: price(13) → expected 100
Test 3: price(16) → expected 100 - 13.🧩 In an app, what is tap to Start? (a) a screen (b) a button (c) an input (d) data
- 14.🧭 Why should every screen show where you are? (a) so users do not get lost (b) to look busy (c) to use more battery (d) to hide the menu
- 15.🔁 What does a loop do? (a) saves photos (b) draws icons (c) repeats code (d) deletes code
- 16.🔘 Our rule: buttons are at least 48 px tall. The Start button is 32 px tall. How many px taller must it be?
- 17.True or false: you write the store text at the plan stage. (a) False (b) True
-
18.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(8) + fee(9)); - 19.📅 An app team plans for 2 days, builds for 5 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 20.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
- 21.🔢 In a quiz-app flow, which comes first: “tap “Start quiz”” or “read a question”? (a) read a question (b) tap “Start quiz”
-
22.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 52 px tall
Done button: 64 px tall
Cancel button: 40 px tall
Next button: 68 px tall (a) Save (b) Cancel (c) Next (d) Done - 23.👥 A cricket club app has 200 players, 160 coaches and 265 fans as users. How many users does it have in all?
-
24.🔁 What is the LAST line this code shows?
let names = ["Riya", "Zoya", "Meera", "Kabir", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Riya (c) Hi, Zoya (d) Hi, Aman - 25.🛠️ At which stage do you spot a problem to solve? (a) the plan stage (b) the test stage (c) the release stage (d) the idea stage
- 26.♿ Why add captions to videos? (a) to slow them down (b) to hide the sound (c) to add colour (d) so anyone can follow
-
27.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 3 votes
losing water bottles: 8 votes
missing the bus: 10 votes (a) losing water bottles (b) missing the bus (c) forgetting homework - 28.🔍 Which is the odd one out? (a) working out a tip (b) adding up a bill (c) a result on screen (d) sorting the scores
- 29.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) easy cases (b) old cases (c) edge cases (d) phone cases
-
30.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(3)); - 31.👥 A clinic app has 150 patients, 265 doctors and 130 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
- 32.🔘 Is this good or poor button design: a big, easy tap area? (a) good design (b) poor design
-
33.🔀 Which badge does this quiz app show?
let marks = 63;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 34.🔍 Which is the odd one out? (a) pick the features (b) sketch the screens (c) draw the user flow (d) put it on an app store
-
35.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(11) → expected 100
Test 2: price(8) → expected 50
Test 3: price(9) → expected 100 -
36.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ title text ]
[ menu icon ]
[ tab bar ]
[ search box ]
[ big picture ] (a) title text (b) big picture (c) tab bar (d) search box - 37.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) show arrival time (c) change the bus icon (d) a dark mode
- 38.True or false: a big-text reader is the best fit for a parent waiting at the bus stop. (a) True (b) False
- 39.🎨 Who should you test the UX with? (a) the app icon (b) nobody (c) real users (d) only yourself
- 40.🔢 In a quiz-app flow, which comes FIRST? (a) tap “Start quiz” (b) pick an answer (c) see if it is right (d) see the final score
Answer key
- dead end
- 37
- a picture goes here
- 3
- add it to the cart
- a free study-room finder
- a menu button
- contacts
- a spelling coach
- Map
- line 3
- 100
- a button
- so users do not get lost
- repeats code
- 16
- False
- 80
- 7
- a final design
- tap “Start quiz”
- Cancel
- 625
- Hi, Aman
- the idea stage
- so anyone can follow
- missing the bus
- a result on screen
- edge cases
- 70
- doctors
- good design
- Silver
- put it on an app store
- 100
- big picture
- show arrival time
- False
- real users
- tap “Start quiz”
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students