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.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Body text: 23 px
Hint: 23 px
Menu: 11 px
Label: 12 px
Title: 16 px - 2.Which of these happens at the idea stage? (a) share the download link (b) talk to possible users (c) draw the user flow (d) pick the features
- 3.🎨 Is this about UI or UX: how many taps it takes? (a) UI (b) UX
- 4.🚀 Which version is newer: 2.6.2 or 2.6.17? (a) 2.6.17 (b) 2.6.2
- 5.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) buttons (c) screens (d) tabs
- 6.True or false: a date picker is a button. (a) True (b) False
- 7.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
-
8.🔀 What number does this shop app show?
let total = 280;
if (total > 500) {
total = total - 50;
}
show(total); -
9.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(75, 2)); -
10.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 45; // start at 45
line 2: points = points + 2; // double it
line 3: points = points * 2; // double it
line 4: points = points - 4; // take away 4
line 5: show(points); // show it (a) line 1 (b) line 2 (c) line 4 (d) line 3 - 11.True or false: a website is installed on a phone. (a) True (b) False
- 12.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
- 13.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
- 14.📱 The word “app” is short for ___. (a) application (b) apparatus (c) appetite (d) appointment
- 15.🚀 Which version is newer: 4.19.0 or 4.2.3? (a) 4.2.3 (b) 4.19.0
- 16.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) a nice extra (c) missing a must-have (d) well planned
-
17.🔁 What is the LAST line this code shows?
let names = ["Riya", "Zoya", "Arjun", "Meera", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Riya (c) Hi, Zoya (d) Hi, Aman - 18.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) less code to write (d) it is slower
- 19.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
- 20.True or false: a beep sound is an input. (a) False (b) True
-
21.🧪 One test case fails. Which one?
🎟️ 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(15) → expected 100
Test 3: price(13) → expected 50 (a) Test 3 (b) Test 1 (c) Test 2 - 22.🧭 About how many tabs suit a tab bar best? (a) 3 to 5 (b) 1 (c) 20 (d) 10 to 12
- 23.🐞 After fixing a bug you should ___. (a) never test (b) release at once (c) test it again (d) delete the test
- 24.True or false: how easy sign-up is is about UI (the look). (a) True (b) False
- 25.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) the people who use it (d) only the coders
- 26.🐞 What is a bug? (a) a mistake in the code (b) a new feature (c) a nice icon (d) a fast phone
-
27.🔁 What number does this code show?
let marks = [2, 2, 1];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 28.True or false: a water reminder is the best fit for a gamer who forgets to drink. (a) False (b) True
-
29.🧩 Which of these is a button on this screen?
[title] New Note
[slider] Brightness
[switch] Dark mode
[button] Save
[text box] Age
[text box] Phone (a) Dark mode (b) Phone (c) Age (d) Save - 30.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
- 31.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a lost-and-found board (b) a bill splitter (c) a medicine reminder (d) a homework planner
- 32.💡 Does an app idea like a free study-room finder solve a real problem? (a) Yes (b) No
-
33.🖼️ In this wireframe (top to bottom), what is right below the list of items?
[ list of items ]
[ filter buttons ]
[ Save button ]
[ search box ]
[ Add button ]
[ title text ] (a) Add button (b) filter buttons (c) title text (d) Save button - 34.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the screen size (c) the app’s price (d) what data is collected
- 35.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) a random page (c) that tab’s main screen (d) the phone settings
- 36.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
-
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 50; // start at 49
line 2: lives = lives + 6; // add 6
line 3: lives = lives + 3; // add 3
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it -
38.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(1100) → expected 0
Test 3: delivery(600) → expected 40 (a) Test 3 (b) Test 1 (c) Test 2 -
39.🔁 What number does this code show?
let steps = [16, 96, 31];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 40) {
count = count + 1;
}
}
show(count); - 40.🔢 In a sign-up flow, which comes FIRST? (a) see the home screen (b) open the app (c) type name and email (d) tap “Sign up”
Answer key
- 2
- talk to possible users
- UX
- 2.6.17
- data
- False
- a tab bar
- 280
- 150
- line 2
- False
- a feature
- makes it harder
- application
- 4.19.0
- missing a must-have
- Hi, Aman
- less code to write
- False
- False
- Test 1
- 3 to 5
- test it again
- False
- the people who use it
- a mistake in the code
- 5
- True
- Save
- too much
- a lost-and-found board
- Yes
- filter buttons
- what data is collected
- that tab’s main screen
- True
- 116
- Test 1
- 1
- open the app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students