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.🔀 With if / else if / else, how many parts run? (a) only one (b) two (c) none (d) all of them
-
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 33; // start at 33
line 2: score = score - 6; // take away 4
line 3: score = score - 3; // take away 3
line 4: score = score - 3; // take away 3
line 5: show(score); // show it (a) line 1 (b) line 4 (c) line 3 (d) line 2 - 3.Which of these is about UX (the experience)? (a) the font size (b) the icon shapes (c) how users feel after (d) the screen layout
- 4.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) pick one of two actions (d) repeat forever
- 5.🔍 Which is the odd one out? (a) list what users need (b) talk to possible users (c) spot a problem to solve (d) write down the bugs
- 6.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 7.🔢 In a sign-up flow, what comes right after “enter the code sent”? (a) make a password (b) tap “Sign up” (c) see the home screen (d) open the app
- 8.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
- 9.🧩 What do we call one full page of an app? (a) a cable (b) a screen (c) a variable (d) a battery
-
10.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 7 or more right answers.
function result(right) {
if (right > 7) {
return "Pass";
}
return "Try again";
}
Test 1: result(11) → expected Pass
Test 2: result(9) → expected Pass
Test 3: result(4) → expected Try again -
11.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 20 votes
losing water bottles: 19 votes
wasting pocket money: 4 votes (a) wasting pocket money (b) forgetting birthdays (c) losing water bottles - 12.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
13.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 21 votes
forgetting birthdays: 8 votes
losing water bottles: 4 votes (a) losing water bottles (b) forgetting birthdays (c) missing the bus - 14.💡 Which is a problem statement? (a) “Add a logo” (b) “Kids forget homework” (c) “Make it fast” (d) “Use blue buttons”
- 15.True or false: tap to Save is a button. (a) False (b) True
- 16.Which of these is about UX (the experience)? (a) the theme colours (b) the button colours (c) the screen layout (d) how many taps it takes
- 17.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) a random page (c) the same screen (d) a clear next step
- 18.🧪 Who else should try an app before release? (a) only the coder (b) nobody (c) the app icon (d) real users
- 19.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) missing a must-have (c) a nice extra (d) well planned
-
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 15; // typed by the user
line 2: let qty = 6; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 2 (c) line 3 (d) line 1 - 21.True or false: a party-invite app for friends needs your contacts. (a) True (b) False
- 22.Which of these is an input? (a) the log-in page (b) tap to Start (c) a box to type a name (d) tap to Send
- 23.🧭 Which part of navigation switches main sections? (a) the back button (b) a menu button (c) a tab bar
- 24.🔍 Which is the odd one out? (a) the icon shapes (b) the screen layout (c) the button colours (d) how many taps it takes
-
25.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello! (b) Riya (c) Hello, Riya! (d) Hello, nameBox.text! -
26.👆 The user taps the button 4 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
27.🧩 Which of these is a button on this screen?
[title] Add Homework
[button] Cancel
[button] Back
[button] Send
[switch] Remind me
[text box] Email (a) Remind me (b) Back (c) Email -
28.🔀 What does this battery rule show?
let battery = 31;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 29.♿ Accessibility means an app works for ___. (a) everyone (b) only the coder (c) only experts (d) nobody
- 30.🔍 Which is the odd one out? (a) labels on every icon (b) big touch targets (c) text that can grow (d) colour as the only clue
- 31.🗒️ What is a must-have feature? (a) a nice extra (b) a colour theme (c) one the app cannot skip (d) a sound effect
-
32.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(6)); - 33.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
- 34.🔐 Which permission does a weather-near-me app really need? (a) the microphone (b) location (c) contacts (d) the camera
-
35.🧩 Which of these is a button on this screen?
[title] Add Homework
[button] Save
[button] Help
[button] Done
[slider] Brightness
[text box] Subject (a) Brightness (b) Subject (c) Done - 36.True or false: a final design shows the real fonts. (a) False (b) True
- 37.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) see where the bus is (c) show arrival time (d) change the bus icon
-
38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Video”
2. tap Back
3. open “Video”
4. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
39.👆 The user taps the button 2 times. What number does the label show now?
let lives = 7;
button.onTap = function () {
lives = lives + 4;
label.text = lives;
}; -
40.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 3 days
show the score: 4 days
Answer key
- only one
- line 2
- how users feel after
- pick one of two actions
- write down the bugs
- a website
- see the home screen
- an app
- a screen
- 3
- forgetting birthdays
- in the cloud
- missing the bus
- “Kids forget homework”
- True
- how many taps it takes
- a clear next step
- real users
- missing a must-have
- line 3
- True
- a box to type a name
- a tab bar
- how many taps it takes
- Hello, Riya!
- 3
- Back
- Battery OK
- everyone
- colour as the only clue
- one the app cannot skip
- 18
- a wireframe
- location
- Done
- True
- change the bus icon
- 2
- 15
- 0
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students