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 one is installed on a phone: an app or a website? (a) an app (b) a website
- 2.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
-
3.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 40
Test 2: delivery(850) → expected 0
Test 3: delivery(950) → expected 0 -
4.🧪 One test case fails. Which one?
🚚 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(300) → expected 40
Test 2: delivery(550) → expected 0
Test 3: delivery(400) → expected 0 (a) Test 1 (b) Test 2 (c) Test 3 - 5.True or false: a pocket-money tracker is the best fit for a gamer who forgets to drink. (a) False (b) True
- 6.💡 Which app idea solves this problem: friends argue over who pays? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
- 7.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) change the bus icon (c) rate the driver (d) pick your bus stop
-
8.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. tap Back
3. tap the Search tab
4. tap the Search tab
5. open “Edit photo”
Which screen are you on now? (a) Home (b) Score card (c) Search (d) Edit photo - 9.📅 An app team plans for 5 days, builds for 8 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
- 10.Which of these fits saving in the cloud? (a) a draft you are typing (b) your last game level (c) notes to read offline (d) a class leaderboard
-
11.💾 What does this code show? (Positions start at 0.)
let friends = ["Riya", "Arjun", "Kabir", "Zoya", "Meera"];
show(friends[1]); (a) Riya (b) Zoya (c) Arjun (d) Kabir - 12.🔢 When you make an app, what comes right after “get an idea”? (a) test the app (b) release it (c) build the app (d) plan the screens
- 13.🌗 Is light grey on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 14.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a home-screen icon (d) opens in a web browser
-
15.🔁 What is the LAST line this code shows?
let names = ["Meera", "Aman", "Zoya", "Riya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Zoya (c) Hi, Kabir (d) Hi, Aman - 16.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
-
17.🔁 What is the LAST line this code shows?
let names = ["Aman", "Riya", "Zoya", "Kabir", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Meera (c) Hi, Riya (d) Hi, Zoya -
18.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 7 votes
forgetting birthdays: 21 votes
missing the bus: 24 votes (a) forgetting birthdays (b) missing the bus (c) forgetting homework - 19.True or false: a blank grey screen solves no real problem. (a) True (b) False
-
20.🖼️ How many parts (boxes) does this wireframe have?
[ list of items ]
[ tab bar ]
[ Add button ]
[ menu icon ]
[ search box ] - 21.🎨 UX stands for user ___. (a) example (b) express (c) experience (d) extra
- 22.True or false: a pop-up message is processing. (a) False (b) True
- 23.🧪 A test fails when ___. (a) the font is big (b) actual is not expected (c) the app is new (d) both are the same
- 24.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) test the app (b) release it
- 25.💡 Which app idea solves this problem: pupils forget due dates? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
-
26.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(0)); - 27.👥 A library app has 80 readers, 300 librarians and 140 volunteers as users. How many more volunteers than readers are there?
-
28.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(25, 3)); -
29.🧪 One test case fails. Which one?
🎟️ 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(12) → expected 50
Test 2: price(13) → expected 100
Test 3: price(17) → expected 100 (a) Test 3 (b) Test 1 (c) Test 2 - 30.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) confetti effects (c) show a question (d) an avatar shop
-
31.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 32.⚙️ In an app, is a beep sound an input, processing or an output? (a) output (b) processing (c) input
-
33.🗒️ Version 1 of a bus tracker must be ready in 10 days. How many days are left for extras after the must-haves?
see where the bus is: 1 days
show arrival time: 1 days
pick your bus stop: 2 days - 34.🔔 What is a message an app shows on your lock screen called? (a) a variable (b) a notification (c) a web address (d) a wireframe
- 35.📱 Which one has a web address: an app or a website? (a) a website (b) an app
- 36.Which of these is an input? (a) the settings page (b) your saved notes (c) the home page of an app (d) a box to type a name
-
37.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Search tab
2. open “Edit photo”
3. tap Back
4. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? - 39.True or false: how easy sign-up is is about UI (the look). (a) True (b) False
-
40.🔁 What is the LAST line this code shows?
let names = ["Meera", "Riya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Riya (c) Hi, Meera
Answer key
- an app
- helps everyone
- 3
- Test 3
- False
- a bill splitter
- pick your bus stop
- Edit photo
- 17
- a class leaderboard
- Arjun
- plan the screens
- hard to read
- opens in a web browser
- Hi, Kabir
- Yes
- Hi, Meera
- missing the bus
- True
- 5
- experience
- False
- actual is not expected
- test the app
- a homework planner
- 40
- 60
- 75
- Test 2
- show a question
- Welcome!
- output
- 6
- a notification
- a website
- a box to type a name
- 4
- 0
- False
- Hi, Aman
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students