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.🧩 How many buttons does this app screen have?
[title] Settings
[button] Send
[text box] Notes
[button] Help
[text box] Name - 2.🧩 In an app, what is tap to Start? (a) an input (b) data (c) a button (d) a screen
- 3.🎯 Why learn about users before you build? (a) to make it longer (b) to pick a logo (c) to slow it down (d) to build what they need
- 4.👆 “On tap → do this” links an event to ___. (a) a font (b) an action (c) a web address (d) a charger
- 5.🔀 Why plan the user flow before building? (a) to skip testing (b) to hide the buttons (c) to add more taps (d) so each step is clear
-
6.👆 The user taps the button 4 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF - 7.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) URL (d) MVP
-
8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 20 px
Caption: 10 px
Footer: 11 px - 9.🔍 Which is the odd one out? (a) a beep sound (b) a result on screen (c) sorting the scores (d) a buzz (vibration)
- 10.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
-
11.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(4)); - 12.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
-
13.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Done
[button] Back
[text box] Phone
[button] Send -
14.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(2) → expected Try again
Test 2: result(10) → expected Pass
Test 3: result(7) → expected Pass - 15.True or false: the user types a letter is a text event. (a) False (b) True
- 16.🔘 Our rule: buttons are at least 48 px tall. The Help button is 36 px tall. How many px taller must it be?
-
17.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Menu: 14 px
Hint: 21 px
Body text: 10 px -
18.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Back button: 36 px tall
Cancel button: 48 px tall
Done button: 68 px tall (a) Cancel (b) Back (c) Done -
19.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Match report”
3. tap the Quiz tab
4. open “Map”
5. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 20.📅 An app team plans for 2 days, builds for 6 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 21.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
-
22.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Aman (b) Hi, nameBox.text! (c) Hi! (d) Hi, Aman! -
23.⚙️ What number does this app show?
let km = 9; // typed by the user
let metres = km * 1000;
show(metres); - 24.🔀 What is a user flow? (a) a colour theme (b) a charging cable (c) a type of font (d) the path through screens
- 25.True or false: a selfie sticker app needs the camera. (a) False (b) True
-
26.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(15, 6)); -
27.🗒️ Version 1 of a pocket-money tracker must be ready in 12 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 1 days
show the balance: 5 days -
28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 31; // start at 31
line 2: lives = lives * 2; // double it
line 3: lives = lives * 2; // double it
line 4: lives = lives + 2; // double it
line 5: show(lives); // show it (a) line 4 (b) line 3 (c) line 2 (d) line 1 - 29.Which of these is processing? (a) typing your age (b) checking a password (c) tapping a button (d) a pop-up message
- 30.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
31.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 35; // start at 35
line 2: score = score + 6; // add 3
line 3: score = score - 1; // take away 1
line 4: show(score); // show it - 32.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “I keep missing the bus”
- 33.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
- 34.Which of these app ideas solves a real problem? (a) a library due-date alert (b) a page of random dots (c) an app that just says hi (d) a button with no action
- 35.🔐 A torch app asks for your contacts. What should you do? (a) deny it (b) share them all (c) allow it (d) post them online
-
36.🔁 What number does this code show?
let steps = [6, 16, 2, 5];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 37.🧩 In an app, what is the settings page? (a) an input (b) a button (c) a screen (d) data
- 38.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) make a password (c) type name and email (d) tap “Sign up”
- 39.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) see today’s total (c) share your streak (d) water animations
-
40.🚀 Which of these versions is the NEWEST?
2.2.9, 1.25.1, 2.10.0, 2.4.4 (a) 2.10.0 (b) 2.4.4 (c) 2.2.9 (d) 1.25.1
Answer key
- 2
- a button
- to build what they need
- an action
- so each step is clear
- OFF
- MVP
- 2
- sorting the scores
- No
- 90
- makes it harder
- 1
- 3
- True
- 12
- 2
- Back
- 2
- 8
- fair
- Hi, Aman!
- 9000
- the path through screens
- True
- 90
- 5
- line 4
- checking a password
- hard to read
- 40
- “I keep missing the bus”
- good design
- a library due-date alert
- deny it
- 29
- a screen
- see the home screen
- see today’s total
- 2.10.0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students