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.True or false: an alarm clock is a learning app. (a) False (b) True
-
2.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 40 px tall
Save button: 64 px tall
Cancel button: 32 px tall
Help button: 60 px tall - 3.🧰 What is a function? (a) a list of colours (b) a named block of code (c) a type of phone (d) a screen size
-
4.🔁 What number does this code show?
let runs = [15, 10, 16];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 5.True or false: a homework planner is the best fit for a student who often misses the school bus. (a) False (b) True
- 6.🗂️ What kind of app is a cricket run chase? (a) a tool app (b) a learning app (c) a health app (d) a game
-
7.👆 The user taps the button 2 times. What number does the label show now?
let coins = 3;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; - 8.🧩 Which input is best for typing your name? (a) a text box (b) a slider (c) a picture (d) a switch
- 9.🐞 A comment in code (after //) is for ___. (a) the battery (b) the app store (c) the phone screen (d) people reading the code
-
10.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 11.🔍 Which is the odd one out? (a) try every button (b) write the store text (c) write down the bugs (d) let friends try it
- 12.True or false: an app that just says hi solves no real problem. (a) True (b) False
- 13.🧩 In an app, what is your high score? (a) an input (b) a screen (c) data (d) a button
- 14.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 1 (c) 8 (d) 4
- 15.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
- 16.Which of these is a user need? (a) “I forget my homework” (b) a search bar (c) a reminder alarm (d) a share button
- 17.♿ A screen has 9 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
- 18.Which of these fits saving in the cloud? (a) the sound on/off setting (b) a class leaderboard (c) your last game level (d) a draft you are typing
-
19.👆 The user taps the button 3 times. What number does the label show now?
let score = 8;
button.onTap = function () {
score = score + 3;
label.text = score;
}; - 20.🔀 Why plan the user flow before building? (a) to skip testing (b) so each step is clear (c) to add more taps (d) to hide the buttons
- 21.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a big-text reader (b) a homework planner (c) a bus tracker (d) a pocket-money tracker
- 22.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) make a password (b) tap “Sign up”
- 23.True or false: a big, easy tap area is good button design. (a) True (b) False
- 24.🔢 After an app is released, which comes FIRST? (a) fix and improve (b) release an update (c) read user reviews (d) list what to fix
-
25.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 65; // 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 1 (b) line 3 (c) line 2 (d) line 4 -
26.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(150) → expected 40
Test 3: delivery(550) → expected 0 - 27.Which of these helps everyone use the app? (a) sudden loud sounds (b) fast-flashing lights (c) colour as the only clue (d) big touch targets
-
28.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “missing the bus”?
missing the bus: 11 votes
wasting pocket money: 5 votes
losing water bottles: 18 votes -
29.🧪 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(750) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 -
30.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(70, 3)); - 31.🧩 In an app, what is a switch for dark mode? (a) data (b) an input (c) a button (d) a screen
-
32.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap the Chat tab
3. tap the Chat tab
How many times must you tap Back to reach the main screen of this tab? - 33.🔐 Is this permission request fair or too much: voice notes → microphone? (a) too much (b) fair
- 34.Which of these is about UI (the look)? (a) whether users get lost (b) how fast a task is done (c) how easy sign-up is (d) the font size
- 35.👥 A library app has 230 readers, 125 librarians and 285 volunteers as users. Which user group is the biggest? (a) librarians (b) readers (c) volunteers
- 36.Which colour pair is easy to read? (a) dark blue on black (b) light grey on white (c) yellow on white (d) black on pale grey
-
37.💾 pop() takes off the last item. What does this code show?
let notes = ["Sports", "Maths", "Hindi", "Music", "Science"];
notes.pop();
show(notes[notes.length - 1]); (a) Maths (b) Sports (c) Music (d) Hindi - 38.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) at the bottom (d) nowhere
- 39.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
- 40.🎨 UX stands for user ___. (a) extra (b) experience (c) express (d) example
Answer key
- False
- 2
- a named block of code
- 16
- False
- a game
- 5
- a text box
- people reading the code
- Welcome!
- write the store text
- True
- data
- 4
- a final design
- “I forget my homework”
- 8
- a class leaderboard
- 17
- so each step is clear
- a bus tracker
- tap “Sign up”
- True
- read user reviews
- line 3
- 3
- big touch targets
- 7
- Test 1
- 210
- an input
- 0
- fair
- the font size
- volunteers
- black on pale grey
- Music
- at the bottom
- an app
- experience
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students