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.🔢 When you make an app, which comes LAST? (a) build the app (b) test the app (c) release it (d) get an idea
- 2.♿ A screen has 7 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 3.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a big-text reader (b) a bus tracker (c) a recipe finder (d) a homework planner
-
4.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 30; // start at 30
line 2: score = score + 4; // add 4
line 3: score = score - 4; // take away 3
line 4: score = score + 4; // add 4
line 5: show(score); // show it -
5.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done! (b) Aman (c) Well done, nameBox.text! (d) Well done, Aman! - 6.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) background music (c) an avatar shop (d) show the score
- 7.True or false: tap to Send is a button. (a) True (b) False
- 8.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a lost-and-found board (c) a blank grey screen (d) a bill splitter
-
9.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 22 px
Menu: 11 px
Footer: 22 px
Title: 17 px - 10.🧰 In function tip(bill), what is bill? (a) an event (b) a parameter (c) a screen (d) a loop
- 11.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
12.🔁 What is the LAST line this code shows?
let names = ["Meera", "Kabir", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Meera (c) Hi, Kabir -
13.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap Back
3. open “Match report”
Which screen are you on now? (a) Search (b) Match report (c) Home (d) Friend list - 14.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
- 15.True or false: a blank grey screen solves a real problem. (a) True (b) False
- 16.🔢 In a sign-up flow, which comes LAST? (a) open the app (b) enter the code sent (c) see the home screen (d) tap “Sign up”
- 17.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 18.True or false: an app is installed on a phone. (a) True (b) False
-
19.🔁 What number does this code show?
let runs = [1, 12, 14];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
20.🗒️ Version 1 of a bus tracker must be ready in 9 days. How many days are left for extras after the must-haves?
see where the bus is: 1 days
show arrival time: 4 days
pick your bus stop: 2 days - 21.🧭 What does the back button usually do? (a) closes all apps (b) goes to the last screen (c) opens settings (d) deletes the page
- 22.📱 Which one has a home-screen icon: an app or a website? (a) an app (b) a website
-
23.🔀 What does this PIN rule show?
let pin = "2130";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
24.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Kabir", "Meera", "Aman", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Meera (c) Hi, Arjun (d) Hi, Riya - 25.True or false: a slider for volume is a screen. (a) False (b) True
-
26.💾 pop() takes off the last item. What does this code show?
let notes = ["Sports", "Music", "Maths"];
notes.pop();
show(notes[notes.length - 1]); (a) Music (b) Maths (c) Sports - 27.🧩 Which input is best for choosing a volume level? (a) a switch (b) a slider (c) a title (d) a text box
- 28.Which of these is a user need? (a) a share button (b) a reminder alarm (c) “I forget my homework” (d) a dark mode switch
-
29.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “forgetting homework”?
forgetting homework: 9 votes
forgetting birthdays: 12 votes
no quiet study place: 25 votes - 30.📱 Where do people usually download phone apps from? (a) an app store (b) a web server (c) a charger (d) a printer
-
31.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 85; // typed by the user
line 2: let qty = 4; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 4 (c) line 1 (d) line 3 -
32.🗒️ Version 1 of a pocket-money tracker must be ready in 15 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 3 days
show the balance: 5 days - 33.💾 In most code, the first item of a list is at position ___. (a) 1 (b) 10 (c) 2 (d) 0
-
34.🧩 Which of these is a button on this screen?
[title] Order Snacks
[button] Help
[button] Next
[button] Send
[slider] Volume
[switch] Sound
[text box] Subject (a) Sound (b) Volume (c) Subject (d) Help -
35.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(4) → expected 50
Test 3: price(8) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 - 36.True or false: the log-in page is an input. (a) False (b) True
-
37.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Edit photo”
2. tap the Chat tab
3. tap the Chat tab
4. tap the Feed tab
Which screen are you on now? (a) Feed (b) Settings (c) Chat (d) Edit photo - 38.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) a clear next step (c) the same screen (d) a random page
- 39.True or false: the home page of an app is a screen. (a) False (b) True
-
40.🔁 What number does this code show?
let runs = [18, 12, 17];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best);
Answer key
- release it
- 5
- a bus tracker
- 35
- Well done, Aman!
- show the score
- True
- a blank grey screen
- 1
- a parameter
- hard to read
- Hi, Aman
- Match report
- a lost-and-found board
- False
- see the home screen
- helps everyone
- True
- 27
- 2
- goes to the last screen
- an app
- PIN saved
- Hi, Riya
- False
- Music
- a slider
- “I forget my homework”
- 3
- an app store
- line 3
- 6
- 0
- Help
- Test 3
- False
- Feed
- a clear next step
- True
- 18
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students