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.⚙️ What number does this app show?
let bill = 78; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 2.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) open the app (c) type name and email (d) make a password
- 3.🔍 Which is the odd one out? (a) a step counter (b) a water reminder (c) a sleep tracker (d) a torch
- 4.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2 (b) 3 (c) 0, 1, 2, 3 (d) 1, 2, 3
-
5.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 48; // typed by the user
line 2: let friends = 4; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 6.True or false: a website needs no installing. (a) False (b) True
-
7.🧩 Which of these is a button on this screen?
[title] Edit Profile
[button] Done
[text box] Notes
[switch] Dark mode
[text box] Email
[text box] Phone
[slider] Volume (a) Phone (b) Done (c) Email (d) Notes -
8.🔀 What does this battery rule show?
let battery = 73;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
9.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. tap the Search tab
3. open “Video”
Which screen are you on now? (a) Home (b) Video (c) Search (d) Map -
10.💾 What number does this code show?
let songs = ["Monsoon", "Kites", "Rain", "Stars"];
songs.push("Sunrise");
show(songs.length); - 11.💾 What is a variable? (a) a type of screen (b) a named box for a value (c) a phone setting (d) a picture
-
12.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Aman")); (a) Welcome, name! (b) greet (c) Aman (d) Welcome, Aman! - 13.🧭 What does the back button usually do? (a) deletes the page (b) goes to the last screen (c) closes all apps (d) opens settings
- 14.🔐 Which permission does a party-invite app for friends really need? (a) the microphone (b) location (c) the camera (d) contacts
- 15.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) before anything (c) on day one (d) never
-
16.🗒️ Version 1 of a quiz app must be ready in 12 days. How many days are left for extras after the must-haves?
show a question: 4 days
check the answer: 1 days
show the score: 4 days - 17.🛠️ At which stage do you put it on an app store? (a) the build stage (b) the idea stage (c) the release stage (d) the plan stage
- 18.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 5 (c) 4 (d) 1
-
19.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “forgetting birthdays”?
forgetting birthdays: 7 votes
no quiet study place: 10 votes
losing water bottles: 22 votes - 20.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a list of colours (d) a screen size
- 21.Which of these is processing? (a) a beep sound (b) tapping a button (c) a result on screen (d) checking a password
-
22.👆 The user types Kabir 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, Kabir! (b) Well done, nameBox.text! (c) Kabir (d) Well done! -
23.🧪 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(11) → expected 50
Test 2: price(18) → expected 100
Test 3: price(17) → expected 100 -
24.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 13; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 1 (c) line 3 - 25.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) helps everyone (b) makes it harder
-
26.🗒️ Version 1 of a quiz app must be ready in 11 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 4 days
show the score: 5 days -
27.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Help page”
2. tap Back
3. open “Map”
4. tap the Lessons tab
5. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 28.🔐 Which permission does a speak-to-type notes app really need? (a) location (b) the camera (c) contacts (d) the microphone
-
29.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(9) → expected 100
Test 3: price(6) → expected 50 -
30.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “losing water bottles”?
no quiet study place: 19 votes
losing water bottles: 3 votes
forgetting homework: 9 votes - 31.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
- 32.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) !== (c) = (d) ===
- 33.👥 A school app has 40 students, 210 teachers and 125 parents as users. How many users does it have in all?
- 34.💡 Which app idea solves this problem: the library is always full? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a study-room finder
-
35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 44 px tall
Done button: 64 px tall
Help button: 48 px tall
Back button: 48 px tall (a) Help (b) Next (c) Done (d) Back -
36.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 40 px tall
Back button: 32 px tall
Send button: 64 px tall - 37.Which of these is processing? (a) tapping a button (b) a beep sound (c) a buzz (vibration) (d) adding up a bill
- 38.🧭 Which part of navigation goes to the last screen? (a) a tab bar (b) a menu button (c) the back button
- 39.🚀 A privacy policy tells users ___. (a) the screen size (b) what data is collected (c) the app’s price (d) the app’s colours
-
40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Quiz tab
2. tap the Quiz tab
3. open “Friend list”
4. tap the Me tab
Which screen are you on now? (a) Friend list (b) Lessons (c) Quiz (d) Me
Answer key
- 26
- open the app
- a torch
- 0, 1, 2
- line 3
- True
- Done
- Battery OK
- Video
- 5
- a named box for a value
- Welcome, Aman!
- goes to the last screen
- contacts
- after the must-haves
- 3
- the release stage
- 5
- 15
- a named block of code
- checking a password
- Well done, Kabir!
- 3
- line 2
- helps everyone
- 1
- 1
- the microphone
- 50
- 16
- UI
- ===
- 375
- a study-room finder
- Next
- 1
- adding up a bill
- the back button
- what data is collected
- Me
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students