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.🧑 Who is an app really made for? (a) its charger (b) its icon (c) its users (d) its coder only
-
2.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(40)); - 3.🔍 Which is the odd one out? (a) list what users need (b) talk to possible users (c) spot a problem to solve (d) put it on an app store
-
4.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(100, 2)); - 5.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) add a filter (b) post the photo
-
6.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. tap Back
3. open “Score card”
Which screen are you on now? (a) Feed (b) Score card (c) Chat (d) Friend list - 7.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
-
8.👆 The user taps the button 1 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON - 9.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a library due-date alert (c) a bill splitter (d) a lost-and-found board
- 10.👆 Code that runs when an event happens is called a ___. (a) handler (b) header (c) headline (d) hashtag
- 11.🐞 Finding and fixing bugs is called ___. (a) downloading (b) debugging (c) designing (d) decorating
-
12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 34; // start at 34
line 2: lives = lives + 4; // add 3
line 3: lives = lives * 2; // double it
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it (a) line 4 (b) line 3 (c) line 2 (d) line 1 - 13.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
- 14.🧩 Scores, notes and settings that an app keeps are called ___. (a) screens (b) data (c) buttons (d) tabs
- 15.🔍 Which is the odd one out? (a) colour as the only clue (b) big touch targets (c) captions on videos (d) text that can grow
-
16.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Meera")); (a) greet (b) Meera (c) Hi, name! (d) Hi, Meera! - 17.🔢 In a photo-post flow, which comes FIRST? (a) add a filter (b) post the photo (c) open the camera screen (d) take the photo
- 18.🔢 In a photo-post flow, what comes right after “add a filter”? (a) write a caption (b) open the camera screen (c) take the photo (d) post the photo
- 19.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
- 20.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
- 21.🎨 Who should you test the UX with? (a) only yourself (b) the app icon (c) real users (d) nobody
-
22.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(350) → expected 40
Test 2: delivery(500) → expected 0
Test 3: delivery(750) → expected 0 (a) Test 1 (b) Test 3 (c) Test 2 - 23.♿ Why add captions to videos? (a) to hide the sound (b) to add colour (c) so anyone can follow (d) to slow them down
- 24.🗒️ 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
-
25.⚙️ What number does this app show?
let bill = 80; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); - 26.🔀 What does if / else let an app do? (a) pick one of two actions (b) save a photo (c) draw a screen (d) repeat forever
- 27.Which of these is true of a wireframe? (a) looks like the real app (b) has no real colours (c) shows the real fonts (d) uses the final pictures
-
28.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(10) + fee(4)); -
29.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “wasting pocket money”?
no quiet study place: 16 votes
wasting pocket money: 5 votes
forgetting birthdays: 18 votes -
30.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 14 votes
wasting pocket money: 4 votes
forgetting homework: 20 votes (a) no quiet study place (b) wasting pocket money (c) forgetting homework -
31.🔁 What number does this code show?
let steps = [12, 1, 2, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 32.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
-
33.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(300) → expected 40
Test 3: delivery(850) → expected 0 - 34.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) use it on any device (c) shrink the app (d) never need a password
-
35.🖼️ How many parts (boxes) does this wireframe have?
[ title text ]
[ search box ]
[ tab bar ]
[ big picture ] - 36.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
- 37.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) set a reminder time (c) share your streak (d) water animations
- 38.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a learning app (c) a health app (d) a game
- 39.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
-
40.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 600) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(450) → expected 40
Test 3: delivery(700) → expected 0
Answer key
- its users
- 120
- put it on an app store
- 200
- add a filter
- Score card
- a user need
- ON
- an app that just says hi
- handler
- debugging
- line 2
- a wireframe
- data
- colour as the only clue
- Hi, Meera!
- open the camera screen
- write a caption
- UI
- a wireframe
- real users
- Test 2
- so anyone can follow
- missing a must-have
- 20
- pick one of two actions
- has no real colours
- 50
- 11
- forgetting homework
- 17
- a website
- 3
- use it on any device
- 4
- UI
- set a reminder time
- a game
- fair
- 0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students