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.True or false: a big, easy tap area is good button design. (a) False (b) True
-
2.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Arjun", "Aman", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Aman (d) Hi, Kabir -
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 46; // start at 45
line 2: coins = coins + 5; // add 5
line 3: coins = coins + 6; // add 6
line 4: coins = coins + 4; // add 4
line 5: show(coins); // show it (a) line 4 (b) line 2 (c) line 1 (d) line 3 -
4.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 4)); - 5.Which of these app ideas solves a real problem? (a) a lost-and-found board (b) a blank grey screen (c) a button with no action (d) an app that just says hi
- 6.🧭 Which part of navigation shows 3 to 5 icons? (a) a menu button (b) a tab bar (c) the back button
- 7.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) type name and email (c) see the home screen (d) open the app
- 8.Which of these is true of an app? (a) opens in a web browser (b) has a web address (c) comes from an app store (d) opens from a link
- 9.💡 Does an app idea like a medicine reminder solve a real problem? (a) Yes (b) No
- 10.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a menu button (c) a tab bar
- 11.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a colour theme (d) a type of font
- 12.🎯 Who are the users of an app? (a) the people who use it (b) the app icons (c) only the coders (d) only the testers
- 13.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 14.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) === (c) => (d) !==
- 15.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 16.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much
- 17.True or false: a final design is a quick sketch. (a) True (b) False
- 18.📅 An app team plans for 4 days, builds for 5 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
-
19.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 35; // start at 35
line 2: lives = lives * 2; // double it
line 3: lives = lives * 3; // double it
line 4: lives = lives + 2; // add 2
line 5: show(lives); // show it (a) line 1 (b) line 2 (c) line 4 (d) line 3 -
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 210; // typed by the user
line 2: let off = 20; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 21.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) find where it goes wrong (c) delete the app (d) add more colours
-
22.🔀 What number does this shop app show?
let total = 700;
if (total > 500) {
total = total - 50;
}
show(total); - 23.🔁 What does a loop do? (a) repeats code (b) saves photos (c) deletes code (d) draws icons
- 24.Which of these is a feature? (a) “I keep missing the bus” (b) “Small text is hard” (c) a reminder alarm (d) “I forget my homework”
-
25.🧩 Which of these is a button on this screen?
[title] Settings
[text box] Phone
[text box] Email
[switch] Sound
[button] Next (a) Sound (b) Email (c) Phone (d) Next - 26.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
- 27.🌐 Which program do you need to open a website? (a) an app store (b) a calculator (c) a camera app (d) a web browser
- 28.💡 A good app idea starts with ___. (a) many colours (b) a problem to solve (c) a cool logo (d) a long name
- 29.💡 How can you check that people really have the problem? (a) pick a colour (b) just guess (c) ask possible users (d) copy another app
-
30.🔁 What number does this code show?
let marks = [11, 11, 5, 7, 15];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
31.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(12) → expected 100
Test 2: price(10) → expected 100
Test 3: price(6) → expected 50 - 32.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) read a question (c) pick an answer (d) see if it is right
- 33.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a final design (b) a wireframe
-
34.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Meera", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Meera -
35.🧩 Which of these is a button on this screen?
[title] Sign Up
[button] Send
[text box] Phone
[text box] Email
[text box] Age (a) Send (b) Phone (c) Email (d) Age -
36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Start
[button] Save
[text box] City
[button] Send - 37.True or false: a sleep tracker is a learning app. (a) True (b) False
- 38.🔢 After an app is released, which comes FIRST? (a) release an update (b) read user reviews (c) fix and improve (d) list what to fix
-
39.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pay → Confirm → Address
Design B: Home → Item → Shop → Address → Cart (a) Design B (b) Design A -
40.🗒️ Version 1 of a pocket-money tracker must be ready in 10 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 2 days
show the balance: 4 days
Answer key
- True
- Hi, Zoya
- line 1
- 340
- a lost-and-found board
- a tab bar
- see the home screen
- comes from an app store
- Yes
- a tab bar
- the path through screens
- the people who use it
- 4
- ===
- a website
- too much
- False
- 13
- line 3
- line 3
- find where it goes wrong
- 650
- repeats code
- a reminder alarm
- Next
- a feature
- a web browser
- a problem to solve
- ask possible users
- 49
- 50
- see the final score
- a final design
- Hi, Kabir
- Send
- 1
- False
- read user reviews
- Design A
- 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students