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 notes = ["Hindi", "Sports", "Science", "Art"];
notes.push("Maths");
notes.push("Music");
show(notes.length); -
2.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 24 px tall
Done button: 56 px tall
Next button: 60 px tall (a) Done (b) Next (c) Cancel -
3.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ tab bar ]
[ menu icon ]
[ Save button ]
[ top bar ]
[ filter buttons ]
[ big picture ] (a) tab bar (b) top bar (c) filter buttons (d) big picture -
4.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. tap the Home tab
3. open “Friend list”
4. tap Back
5. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 5.Which of these happens at the release stage? (a) pick the features (b) sketch the screens (c) write the store text (d) talk to possible users
- 6.True or false: a result on screen is an output. (a) False (b) True
- 7.🧩 In an app, what is your friends list? (a) data (b) a button (c) a screen (d) an input
- 8.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) delete the app (c) add more colours (d) buy a new phone
- 9.🔍 Which is the odd one out? (a) the font size (b) the icon shapes (c) the screen layout (d) how many taps it takes
- 10.🐞 What is a bug? (a) a fast phone (b) a nice icon (c) a mistake in the code (d) a new feature
-
11.🔁 What number does this code show?
let marks = [5, 12, 15, 16];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 12.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a recipe finder (b) a homework planner (c) a pocket-money tracker (d) a water reminder
- 13.🔢 In a photo-post flow, which comes LAST? (a) open the camera screen (b) write a caption (c) post the photo (d) take the photo
- 14.🔢 When you make an app, which comes first: “release it” or “test the app”? (a) test the app (b) release it
- 15.🔁 What does a loop do? (a) repeats code (b) deletes code (c) saves photos (d) draws icons
- 16.Which of these is about UX (the experience)? (a) the button colours (b) the theme colours (c) how many taps it takes (d) the font size
-
17.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 18.🔘 Our rule: buttons are at least 48 px tall. The Help button is 24 px tall. How many px taller must it be?
- 19.♿ Accessibility means an app works for ___. (a) everyone (b) nobody (c) only the coder (d) only experts
-
20.🔁 What number does this code show?
let marks = [20, 3, 20];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
21.🔁 What number does this code show?
let scores = [72, 17, 63, 90, 41];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); - 22.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) the test’s number (d) what the app really does
-
23.🔁 What number does this code show?
let runs = [15, 22, 16, 20];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 60) {
count = count + 1;
}
}
show(count); -
24.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
25.🔁 What number does this code show?
let steps = [2, 17, 1, 2, 16];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 26.Which of these is an input? (a) the log-in page (b) a box to type a name (c) tap to Send (d) your saved notes
-
27.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 44 px tall
Cancel button: 72 px tall
Next button: 72 px tall (a) Send (b) Next (c) Cancel -
28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 30; // start at 30
line 2: lives = lives - 7; // take away 4
line 3: lives = lives - 2; // take away 2
line 4: show(lives); // show it (a) line 2 (b) line 3 (c) line 1 - 29.🎨 A beautiful app that confuses everyone has ___. (a) perfect UX (b) no UI at all (c) good UX but poor UI (d) good UI but poor UX
- 30.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 24 px tall. How many px taller must it be?
- 31.True or false: a website opens in a web browser. (a) True (b) False
- 32.Which of these requests asks for too much? (a) quiz app → microphone (b) calling app → contacts (c) camera app → camera (d) map app → location
- 33.🚀 Your app is at version 1.7.4. The next release fixes a small bug. What is its version number? (a) 1.7.5 (b) 1.8.4 (c) 1.8.0 (d) 2.0.0
-
34.🗒️ Version 1 of a homework planner must be ready in 13 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 - 35.True or false: whether users get lost is about UI (the look). (a) True (b) False
- 36.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2 (c) 1, 2, 3 (d) 0, 1, 2, 3
- 37.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a lost-and-found board (c) a button with no action (d) a free study-room finder
- 38.👆 “On tap → do this” links an event to ___. (a) a font (b) an action (c) a web address (d) a charger
- 39.True or false: a blank grey screen solves a real problem. (a) False (b) True
-
40.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 41; // start at 39
line 2: stars = stars - 1; // take away 1
line 3: stars = stars - 2; // take away 2
line 4: show(stars); // show it
Answer key
- 6
- Cancel
- big picture
- 1
- write the store text
- True
- data
- find where it goes wrong
- how many taps it takes
- a mistake in the code
- 16
- a homework planner
- post the photo
- test the app
- repeats code
- how many taps it takes
- Ask a parent
- 24
- everyone
- 43
- 4
- what the app really does
- 0
- 3
- 17
- a box to type a name
- Send
- line 2
- good UI but poor UX
- 24
- True
- quiz app → microphone
- 1.7.5
- 6
- False
- 0, 1, 2
- a button with no action
- an action
- False
- 38
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students