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.♿ Why add captions to videos? (a) so anyone can follow (b) to hide the sound (c) to slow them down (d) to add colour
-
2.⚙️ What number does this app show?
let price = 60; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 3.True or false: “text that can grow” makes the app harder to use. (a) True (b) False
-
4.💾 pop() takes off the last item. What does this code show?
let friends = ["Meera", "Zoya", "Riya"];
friends.pop();
show(friends[friends.length - 1]); (a) Zoya (b) Riya (c) Meera - 5.🔍 Which is the odd one out? (a) how fast a task is done (b) how many taps it takes (c) the button colours (d) how easy sign-up is
-
6.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 7; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 3 (c) line 1 -
7.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Hi, Aman! (b) Aman (c) Hi, nameBox.text! (d) Hi! - 8.Which of these is an output? (a) a pop-up message (b) adding up a bill (c) speaking a command (d) checking a password
- 9.🔁 list.length tells you ___. (a) the first item (b) how many items it has (c) the biggest item (d) the last item
- 10.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
- 11.👥 A school app has 120 students, 35 teachers and 130 parents as users. How many more students than teachers are there?
-
12.👆 The user taps the button 4 times. What number does the label show now?
let score = 1;
button.onTap = function () {
score = score + 1;
label.text = score;
}; -
13.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 39; // start at 39
line 2: score = score + 9; // add 6
line 3: score = score * 2; // double it
line 4: score = score - 5; // take away 5
line 5: show(score); // show it (a) line 4 (b) line 1 (c) line 2 (d) line 3 - 14.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 24 px tall. How many px taller must it be?
- 15.🧩 In an app, what is the game-over page? (a) a button (b) an input (c) data (d) a screen
-
16.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 16 px
Body text: 13 px
Menu: 22 px
Caption: 16 px
Hint: 23 px (a) Title (b) Menu (c) Caption (d) Body text - 17.Which of these makes the app harder to use? (a) text that can grow (b) big touch targets (c) labels on every icon (d) fast-flashing lights
-
18.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 5 votes
no quiet study place: 8 votes
forgetting birthdays: 4 votes (a) missing the bus (b) forgetting birthdays (c) no quiet study place - 19.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) plan the screens (c) build the app (d) release it
-
20.🧪 What is the ACTUAL result of Test 1?
🚚 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(300) → expected 0
Test 2: delivery(550) → expected 0
Test 3: delivery(200) → expected 40 -
21.🧪 What is the ACTUAL result of Test 2?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age < 14) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(12) → expected 50
Test 3: price(14) → expected 100 - 22.🔍 Which is the odd one out? (a) a pop-up message (b) a beep sound (c) a buzz (vibration) (d) adding up a bill
- 23.💡 A good app idea starts with ___. (a) a problem to solve (b) a cool logo (c) a long name (d) many colours
-
24.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Kabir")); (a) Welcome, name! (b) greet (c) Welcome, Kabir! (d) Kabir -
25.💾 pop() takes off the last item. What does this code show?
let notes = ["Sports", "Science", "Maths"];
notes.pop();
show(notes[notes.length - 1]); (a) Science (b) Sports (c) Maths - 26.🔘 Our rule: buttons are at least 48 px tall. The Next button is 24 px tall. How many px taller must it be?
- 27.Which of these happens at the release stage? (a) draw the user flow (b) share the download link (c) add the buttons (d) connect the data
- 28.🔢 In a quiz-app flow, what comes right after “read a question”? (a) pick an answer (b) see the final score (c) see if it is right (d) tap “Start quiz”
- 29.Which of these is a button? (a) a box to type a name (b) tap to Save (c) the home page of an app (d) a switch for dark mode
-
30.💾 What does this code show? (Positions start at 0.)
let songs = ["Monsoon", "Sunrise", "Rain", "Kites"];
show(songs[0]); (a) Monsoon (b) Kites (c) Rain (d) Sunrise - 31.♿ What does a screen reader do? (a) plays music (b) takes photos (c) reads the screen aloud (d) makes text tiny
-
32.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Search tab
2. tap the Home tab
3. open “Help page”
4. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 33.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) calculator → location (d) map app → location
-
34.⚙️ What number does this app show?
let bill = 385; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); - 35.True or false: a medicine reminder solves a real problem. (a) False (b) True
-
36.🔁 What number does this code show?
let marks = [15, 3, 10];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
37.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 19 votes
losing water bottles: 16 votes
forgetting birthdays: 22 votes (a) forgetting birthdays (b) losing water bottles (c) missing the bus - 38.🧩 Which input is best for choosing a volume level? (a) a switch (b) a text box (c) a slider (d) a title
- 39.True or false: a big-text reader is the best fit for a grandparent with weak eyesight. (a) False (b) True
- 40.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) tap “Sign up” (c) see the home screen (d) open the app
Answer key
- so anyone can follow
- 300
- False
- Zoya
- the button colours
- line 2
- Hi, Aman!
- a pop-up message
- how many items it has
- a wireframe
- 85
- 5
- line 2
- 24
- a screen
- Body text
- fast-flashing lights
- no quiet study place
- release it
- 0
- 50
- adding up a bill
- a problem to solve
- Welcome, Kabir!
- Science
- 24
- share the download link
- pick an answer
- tap to Save
- Monsoon
- reads the screen aloud
- 2
- map app → location
- 77
- True
- 15
- forgetting birthdays
- a slider
- True
- see the home screen
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students