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.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a title (c) a text box (d) a slider
- 2.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
-
3.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Size → Address → Pens → Confirm
Design B: Home → Cart → Confirm → Offers → Shop - 4.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) it uses more lines (d) less code to write
-
5.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 6.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) show the balance (d) savings stickers
- 7.🔔 What is a message an app shows on your lock screen called? (a) a web address (b) a variable (c) a wireframe (d) a notification
- 8.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
9.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] Subject
[text box] Age
[button] Help -
10.🧪 How many of these test cases pass?
🎟️ 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(12) → expected 100
Test 3: price(9) → expected 50 - 11.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) a nice extra (c) missing a must-have (d) ready to release
-
12.💾 What number does this code show?
let score = 9;
score = score - 8;
score = score + 5;
show(score); - 13.🔢 When you make an app, what comes right after “build the app”? (a) test the app (b) get an idea (c) release it (d) plan the screens
- 14.🧩 What does a button do when you tap it? (a) shows the time (b) starts an action (c) changes the phone (d) saves the battery
-
15.👆 The user taps the button 6 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF - 16.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) input (c) processing
- 17.🔀 What does if / else let an app do? (a) repeat forever (b) pick one of two actions (c) save a photo (d) draw a screen
-
18.💾 What does this code show? (Positions start at 0.)
let friends = ["Meera", "Zoya", "Arjun"];
show(friends[1]); (a) Arjun (b) Meera (c) Zoya - 19.Which of these is a feature? (a) “What should I cook?” (b) “I forget my homework” (c) “Small text is hard” (d) a search bar
- 20.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) easy cases (c) edge cases (d) old cases
- 21.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) add money received (c) export to a file (d) savings stickers
-
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. tap the Me tab
3. open “Match report”
4. tap the Me tab
Which screen are you on now? (a) Friend list (b) Lessons (c) Match report (d) Me -
23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Badges”
2. tap Back
3. open “Match report”
4. tap Back
5. tap the Lessons tab
Which screen are you on now? (a) Lessons (b) Match report (c) Badges (d) Quiz - 24.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) downloading (d) decorating
-
25.🔁 What number does this code show?
let marks = [18, 14, 3, 7, 8];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 26.True or false: a homework photo scanner needs the camera. (a) True (b) False
-
27.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “no quiet study place”?
wasting pocket money: 22 votes
forgetting homework: 23 votes
no quiet study place: 21 votes -
28.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Score card”
3. tap the Feed tab
Which screen are you on now? (a) Settings (b) Chat (c) Feed (d) Score card -
29.🔁 What number does this code show?
let marks = [35, 49, 15, 97, 30];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); -
30.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(40, 5)); - 31.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) looks like the real app
-
32.🧩 Which of these is a button on this screen?
[title] Order Snacks
[button] Next
[button] Save
[text box] Notes
[switch] Show hints
[text box] Phone (a) Phone (b) Save (c) Notes (d) Show hints -
33.👆 The user taps the button 2 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF - 34.True or false: taking a photo is an output. (a) True (b) False
- 35.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) share your streak (c) water animations (d) custom alert sounds
-
36.🧩 Which of these is a button on this screen?
[title] Settings
[switch] Sound
[text box] Phone
[button] Send
[text box] Email
[button] Back (a) Email (b) Send (c) Phone (d) Sound -
37.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(1)); - 38.🔀 Why plan the user flow before building? (a) to add more taps (b) so each step is clear (c) to hide the buttons (d) to skip testing
- 39.🔁 A loop over a list of 5 items runs its body how many times? (a) 1 (b) 4 (c) 5 (d) 6
- 40.👆 What kind of event is this: the user types a letter? (a) a timer event (b) a load event (c) a tap event (d) a text event
Answer key
- a switch
- Yes
- 5
- less code to write
- Ask a parent
- show the balance
- a notification
- hard to read
- 1
- 3
- missing a must-have
- 6
- test the app
- starts an action
- OFF
- output
- pick one of two actions
- Zoya
- a search bar
- edge cases
- add money received
- Me
- Lessons
- debugging
- 18
- True
- 2
- Feed
- 1
- 200
- shows where things go
- Save
- OFF
- False
- set a reminder time
- Send
- 40
- so each step is clear
- 5
- a text event
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students