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.🎨 UI stands for user ___. (a) idea (b) input (c) interface (d) internet
-
2.💾 pop() takes off the last item. What does this code show?
let notes = ["Music", "Maths", "Science", "Art"];
notes.pop();
show(notes[notes.length - 1]); (a) Science (b) Maths (c) Music (d) Art - 3.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) allow it (c) share them all (d) deny it
-
4.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. open “Help page”
3. open “Match report”
Which screen are you on now? (a) Lessons (b) Quiz (c) Help page (d) Match report -
5.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(7) → expected 50
Test 3: price(11) → expected 100 (a) Test 1 (b) Test 3 (c) Test 2 - 6.True or false: a website opens from a link. (a) True (b) False
- 7.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a learning app (c) a game (d) a health app
-
8.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
9.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 7 votes
forgetting homework: 9 votes
losing water bottles: 3 votes - 10.Which of these happens at the idea stage? (a) write the code (b) pick the features (c) spot a problem to solve (d) write the store text
- 11.🚀 In version 2.5.1, which number is the major version? (a) 251 (b) 1 (c) 5 (d) 2
-
12.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right >= 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Try again
Test 2: result(8) → expected Pass
Test 3: result(6) → expected Pass -
13.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Help
[slider] Text size
[button] Next
[text box] Email
[button] Start
[text box] Name - 14.Which of these makes the app harder to use? (a) big touch targets (b) text that can grow (c) labels on every icon (d) sudden loud sounds
- 15.📅 An app team plans for 4 days, builds for 5 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
16.🔁 What number does this code show?
let marks = [16, 15, 9];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 17.🎯 Who are the users of an app? (a) the app icons (b) the people who use it (c) only the coders (d) only the testers
- 18.🔍 Which is the odd one out? (a) big touch targets (b) labels on every icon (c) captions on videos (d) sudden loud sounds
- 19.🔢 In a photo-post flow, which comes first: “write a caption” or “open the camera screen”? (a) open the camera screen (b) write a caption
-
20.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Results
Design B: Home → Menu → Shop → Search → Pay → Confirm - 21.🧪 What is the actual result of a test? (a) what we hope for (b) the test’s number (c) what the app really does (d) the app’s name
- 22.Which of these is about UI (the look)? (a) how users feel after (b) the font size (c) whether users get lost (d) how fast a task is done
- 23.🔍 Which is the odd one out? (a) sketch the screens (b) pick the features (c) write the code (d) draw the user flow
-
24.🧪 One test case fails. Which one?
🚚 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(600) → expected 0
Test 2: delivery(550) → expected 40
Test 3: delivery(800) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 -
25.🧪 What is the ACTUAL result of Test 2?
🚚 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(700) → expected 0
Test 3: delivery(600) → expected 0 - 26.🔢 After an app is released, what comes right after “test it again”? (a) fix and improve (b) release an update (c) list what to fix (d) read user reviews
-
27.💾 pop() takes off the last item. What does this code show?
let songs = ["Rain", "Sunrise", "Kites"];
songs.pop();
show(songs[songs.length - 1]); (a) Kites (b) Sunrise (c) Rain - 28.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) headline (c) header (d) handler
- 29.👆 Which of these is an event? (a) a list of names (b) the font size (c) the user taps a button (d) the icon colour
- 30.🚀 Your app is at version 4.11.3. The next release fixes a small bug. What is its version number? (a) 4.12.3 (b) 5.0.0 (c) 4.11.4 (d) 4.12.0
- 31.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
- 32.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
-
33.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Save button: 32 px tall
Next button: 32 px tall
Cancel button: 40 px tall
Send button: 52 px tall -
34.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 15; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 1 (b) line 2 (c) line 3 - 35.True or false: the screen layout is about UI (the look). (a) False (b) True
-
36.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 20 votes
no quiet study place: 13 votes
missing the bus: 9 votes - 37.True or false: a bus tracker needs your location. (a) True (b) False
- 38.👥 A clinic app has 275 patients, 195 doctors and 135 nurses as users. How many users does it have in all?
-
39.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 1 days
show the score: 3 days -
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 31; // start at 31
line 2: score = score + 3; // add 2
line 3: score = score + 5; // add 5
line 4: show(score); // show it (a) line 3 (b) line 1 (c) line 2
Answer key
- interface
- Science
- deny it
- Match report
- Test 3
- True
- a game
- Ask a parent
- 19
- spot a problem to solve
- 2
- 3
- 3
- sudden loud sounds
- 9
- 16
- the people who use it
- sudden loud sounds
- open the camera screen
- 2
- what the app really does
- the font size
- write the code
- Test 1
- 0
- release an update
- Sunrise
- handler
- the user taps a button
- 4.11.4
- Yes
- Yes
- 1
- line 2
- True
- 42
- True
- 605
- 6
- line 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students