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 part of navigation opens a list of pages? (a) the back button (b) a menu button (c) a tab bar
- 2.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) True (b) False
- 3.True or false: grey text on grey is poor button design. (a) False (b) True
-
4.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(16) → expected 100
Test 3: price(8) → expected 50 -
5.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Quiz tab
2. open “Help page”
3. tap the Quiz tab
4. open “Edit photo”
Which screen are you on now? (a) Help page (b) Edit photo (c) Lessons (d) Quiz - 6.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) home screen (c) shortcut (d) dead end
-
7.🧪 How many of these test cases pass?
🎟️ 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(14) → expected 100
Test 2: price(13) → expected 50
Test 3: price(17) → expected 100 -
8.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Size → Menu → Pay → Item → Pens → Cart
Design B: Home → Results → Size → Cart (a) Design A (b) Design B - 9.🧰 How do you run (call) a function called greet? (a) run greet (b) #greet (c) greet[] (d) greet()
- 10.Which of these is true of a final design? (a) uses the final pictures (b) is a quick sketch (c) has no real colours (d) uses plain grey boxes
- 11.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
-
12.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(9) → expected 50
Test 3: price(10) → expected 100 - 13.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
- 14.True or false: a final design has the real colours. (a) False (b) True
- 15.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a homework planner (b) a big-text reader (c) a water reminder (d) a bus tracker
- 16.True or false: a final design has no real colours. (a) False (b) True
-
17.🧩 How many buttons does this app screen have?
[title] New Note
[text box] City
[button] Start
[text box] Subject
[switch] Sound - 18.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
-
19.👆 The user taps the button 2 times. What number does the label show now?
let stars = 7;
button.onTap = function () {
stars = stars + 1;
label.text = stars;
}; -
20.👆 The user taps the button 2 times. What number does the label show now?
let score = 5;
button.onTap = function () {
score = score + 2;
label.text = score;
}; -
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 39; // start at 39
line 2: stars = stars * 2; // double it
line 3: stars = stars * 3; // double it
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it - 22.📅 An app team plans for 3 days, builds for 11 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
23.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Meera", "Arjun", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Meera (c) Hi, Aman (d) Hi, Riya -
24.🔀 Which badge does this quiz app show?
let marks = 28;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze - 25.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
-
26.💾 What number does this code show?
let score = 6;
score = score - 4;
score = score + 2;
show(score); - 27.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a bill splitter (b) a medicine reminder (c) a lost-and-found board (d) a homework planner
-
28.🧪 How many of these test cases pass?
🎟️ 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(15) → expected 100
Test 2: price(12) → expected 50
Test 3: price(14) → expected 100 - 29.True or false: the app starts up is a load event. (a) True (b) False
- 30.True or false: “labels on every icon” makes the app harder to use. (a) False (b) True
-
31.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. open “Friend list”
3. open “Map”
4. tap Back
5. open “Score card”
How many times must you tap Back to reach the main screen of this tab? - 32.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
- 33.True or false: working out a tip is an output. (a) True (b) False
- 34.True or false: the log-in page is a screen. (a) False (b) True
- 35.🔍 Which is the odd one out? (a) the icon shapes (b) the screen layout (c) how easy sign-up is (d) the button colours
- 36.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
-
37.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 35; // start at 35
line 2: stars = stars * 2; // double it
line 3: stars = stars * 2; // double it
line 4: stars = stars + 8; // add 5
line 5: show(stars); // show it - 38.🎨 UI stands for user ___. (a) internet (b) input (c) interface (d) idea
- 39.🎨 Is this about UI or UX: the button colours? (a) UI (b) UX
- 40.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
Answer key
- a menu button
- True
- True
- 3
- Edit photo
- dead end
- 2
- Design B
- greet()
- uses the final pictures
- good design
- 3
- an app
- True
- a water reminder
- False
- 1
- too much
- 9
- 9
- 468
- 14
- Hi, Riya
- Bronze
- an app
- 4
- a lost-and-found board
- 3
- True
- False
- 3
- easy to read
- False
- True
- how easy sign-up is
- True
- 148
- interface
- UI
- hard to read
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students