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: grey text on grey is good button design. (a) True (b) False
- 2.💾 In most code, the first item of a list is at position ___. (a) 2 (b) 0 (c) 1 (d) 10
- 3.🔍 Which is the odd one out? (a) the icon shapes (b) how users feel after (c) how many taps it takes (d) whether users get lost
-
4.💾 pop() takes off the last item. What does this code show?
let friends = ["Arjun", "Aman", "Meera", "Kabir"];
friends.pop();
show(friends[friends.length - 1]); (a) Arjun (b) Kabir (c) Aman (d) Meera -
5.🚀 Which of these versions is the NEWEST?
3.18.4, 3.5.1, 2.27.3, 3.12.3 (a) 2.27.3 (b) 3.18.4 (c) 3.12.3 (d) 3.5.1 - 6.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) background music (c) check the answer (d) show the score
- 7.Which of these requests is fair? (a) torch → contacts (b) timer → your photos (c) map app → location (d) quiz app → microphone
- 8.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) missing a must-have (c) well planned (d) a nice extra
-
9.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Aman", "Kabir", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Meera (c) Hi, Arjun (d) Hi, Riya - 10.🔢 When you make an app, what comes right after “build the app”? (a) plan the screens (b) test the app (c) release it (d) get an idea
-
11.🔁 What number does this code show?
let steps = [1, 3, 5, 11];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 12.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) makes it harder (b) helps everyone
-
13.🔁 What is the LAST line this code shows?
let names = ["Aman", "Meera", "Zoya", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Riya (d) Hi, Aman - 14.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) check the answer (d) an avatar shop
-
15.💾 What does this code show? (Positions start at 0.)
let notes = ["Art", "Science", "Sports"];
show(notes[2]); (a) Art (b) Sports (c) Science -
16.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Hi, name! (b) Riya (c) greet (d) Hi, Riya! -
17.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(16) → expected 100
Test 2: price(12) → expected 100
Test 3: price(8) → expected 50 - 18.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) show the balance (c) add money spent (d) savings stickers
- 19.🧩 Which part lets the user give the app information? (a) a title (b) an input (c) an icon (d) a logo
- 20.🔍 Which is the odd one out? (a) a flashcard trainer (b) a times-table quiz (c) a sleep tracker (d) a spelling coach
-
21.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Menu → Search
Design B: Home → Offers → Menu → Search → Shop (a) Design A (b) Design B - 22.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) the same screen (c) a clear next step (d) a dead end
- 23.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) share your streak (c) custom alert sounds (d) set a reminder time
- 24.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
- 25.🔢 When you make an app, what comes right after “get an idea”? (a) release it (b) test the app (c) build the app (d) plan the screens
- 26.Which of these is true of a wireframe? (a) looks like the real app (b) shows where things go (c) has the real colours (d) shows the real fonts
- 27.✏️ Why draw a wireframe before coding? (a) it runs the app (b) changes are quick (c) it adds colours (d) it saves data
- 28.🔐 Is this permission request fair or too much: torch → contacts? (a) fair (b) too much
-
29.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 19 votes
forgetting birthdays: 14 votes
forgetting homework: 13 votes -
30.🧪 How many of these test cases pass?
🎟️ 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(18) → expected 100
Test 2: price(20) → expected 100
Test 3: price(12) → expected 50 - 31.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) needs no testing (c) is easy to build (d) wins every prize
-
32.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 33.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) read a question (b) tap “Start quiz”
-
34.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Edit photo”
3. tap Back
4. tap the Settings tab
5. open “Help page”
Which screen are you on now? (a) Edit photo (b) Chat (c) Help page (d) Feed - 35.📴 Which of these can often still work with no internet? (a) a video call (b) an installed app (c) a new website (d) an online search
- 36.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a user need (b) a feature
-
37.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 36; // start at 36
line 2: score = score + 2; // double it
line 3: score = score + 5; // add 5
line 4: score = score * 2; // double it
line 5: show(score); // show it (a) line 1 (b) line 3 (c) line 4 (d) line 2 - 38.True or false: notes to read offline fits saving on the phone. (a) True (b) False
- 39.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money spent
-
40.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(650) → expected 0
Test 3: delivery(250) → expected 40
Answer key
- False
- 0
- the icon shapes
- Meera
- 3.18.4
- background music
- map app → location
- missing a must-have
- Hi, Meera
- test the app
- 20
- makes it harder
- Hi, Riya
- check the answer
- Sports
- Hi, Riya!
- 3
- savings stickers
- an input
- a sleep tracker
- Design A
- a clear next step
- set a reminder time
- True
- plan the screens
- shows where things go
- changes are quick
- too much
- 46
- 3
- helps nobody well
- Welcome!
- tap “Start quiz”
- Help page
- an installed app
- a user need
- line 2
- True
- add money spent
- 0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students