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.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) custom alert sounds (c) set a reminder time (d) see today’s total
-
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 50; // start at 49
line 2: stars = stars * 2; // double it
line 3: stars = stars + 5; // add 5
line 4: stars = stars - 4; // take away 4
line 5: show(stars); // show it (a) line 4 (b) line 2 (c) line 3 (d) line 1 -
3.🗒️ Version 1 of a homework planner must be ready in 8 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 4 days
see tasks by day: 2 days -
4.🔀 What does this PIN rule show?
let pin = "958";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 5.💾 Which works with no internet at all? (a) a shared chat (b) a cloud backup (c) data saved on the phone (d) a cloud leaderboard
-
6.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 40 px tall
Save button: 60 px tall
Start button: 52 px tall - 7.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) add a filter (b) post the photo
- 8.📅 An app team plans for 5 days, builds for 6 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
- 9.Which of these requests asks for too much? (a) voice notes → microphone (b) calling app → contacts (c) camera app → camera (d) quiz app → microphone
-
10.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 80; // 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 4 (b) line 3 (c) line 1 (d) line 2 -
11.🖼️ In this wireframe (top to bottom), what is right below the search box?
[ Save button ]
[ search box ]
[ big picture ]
[ menu icon ]
[ tab bar ] (a) big picture (b) menu icon (c) tab bar (d) Save button - 12.🧰 What is a function? (a) a screen size (b) a list of colours (c) a named block of code (d) a type of phone
-
13.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ Add button ]
[ big picture ]
[ menu icon ]
[ tab bar ]
[ list of items ]
[ title text ] (a) list of items (b) Add button (c) tab bar (d) big picture -
14.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Kabir", "Meera", "Riya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Meera - 15.🔍 Which is the odd one out? (a) put it on an app store (b) write the store text (c) pick the features (d) share the download link
- 16.🧰 How do you run (call) a function called greet? (a) #greet (b) run greet (c) greet() (d) greet[]
-
17.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Edit photo”
2. tap the Feed tab
3. open “Edit photo”
4. tap Back
5. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 18.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) typing your age (d) taking a photo
- 19.♿ What should every icon-only button have for screen readers? (a) a sound (b) a bright colour (c) a long animation (d) a text label
-
20.⚙️ What number does this app show?
let km = 2; // typed by the user
let metres = km * 1000;
show(metres); - 21.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) URL (d) MVP
- 22.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
- 23.Which of these is processing? (a) speaking a command (b) taking a photo (c) typing your age (d) working out a tip
- 24.True or false: how many taps it takes is about UX (the experience). (a) True (b) False
-
25.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Arjun")); (a) Hi, name! (b) Hi, Arjun! (c) greet (d) Arjun -
26.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Map”
2. open “Video”
3. tap Back
Which screen are you on now? (a) Map (b) Feed (c) Video (d) Chat - 27.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
-
28.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 53; // start at 50
line 2: stars = stars * 2; // double it
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it - 29.Which colour pair is hard to read? (a) white on dark green (b) dark blue on white (c) white on black (d) yellow on white
- 30.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
-
31.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
forgetting homework: 25 votes
missing the bus: 18 votes
losing water bottles: 5 votes -
32.🧪 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(13) → expected 100
Test 2: price(19) → expected 100
Test 3: price(9) → expected 50 (a) Test 3 (b) Test 1 (c) Test 2 - 33.Which of these is a screen? (a) tap to Save (b) your high score (c) a switch for dark mode (d) the home page of an app
-
34.🖼️ In this wireframe (top to bottom), what is right above the Save button?
[ tab bar ]
[ Save button ]
[ search box ]
[ filter buttons ]
[ top bar ]
[ big picture ] (a) tab bar (b) search box (c) filter buttons (d) big picture - 35.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) processing (c) input
-
36.🖼️ In this wireframe (top to bottom), what is right below the Add button?
[ Add button ]
[ filter buttons ]
[ title text ]
[ Save button ]
[ tab bar ] (a) title text (b) filter buttons (c) Save button (d) tab bar -
37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Map”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? - 38.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) the same screen (c) a random page (d) a dead end
- 39.Which of these is an input? (a) adding up a bill (b) taking a photo (c) working out a tip (d) a buzz (vibration)
- 40.Which of these is true of the back button? (a) goes to the last screen (b) switches main sections (c) opens a list of pages (d) sits at the bottom
Answer key
- custom alert sounds
- line 1
- 1
- Use 4 digits
- data saved on the phone
- 2
- add a filter
- 15
- quiz app → microphone
- line 3
- big picture
- a named block of code
- tab bar
- Hi, Arjun
- pick the features
- greet()
- 1
- working out a tip
- a text label
- 2000
- MVP
- a final design
- working out a tip
- True
- Hi, Arjun!
- Map
- poor design
- 200
- yellow on white
- too much
- 20
- Test 1
- the home page of an app
- tab bar
- output
- filter buttons
- 0
- a clear next step
- taking a photo
- goes to the last screen
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students