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.📱 Where do people usually download phone apps from? (a) a web server (b) a printer (c) an app store (d) a charger
-
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 46; // start at 46
line 2: lives = lives + 2; // take away 2
line 3: lives = lives + 2; // add 2
line 4: lives = lives - 5; // take away 5
line 5: show(lives); // show it (a) line 3 (b) line 4 (c) line 2 (d) line 1 -
3.👆 The user taps the button 3 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) OFF (b) ON -
4.🗒️ Version 1 of a quiz app must be ready in 13 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: 2 days - 5.♿ What should every icon-only button have for screen readers? (a) a bright colour (b) a text label (c) a long animation (d) a sound
-
6.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 44; // start at 44
line 2: points = points * 3; // double it
line 3: points = points + 2; // add 2
line 4: show(points); // show it (a) line 1 (b) line 3 (c) line 2 - 7.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
- 8.🔍 Which is the odd one out? (a) a buzz (vibration) (b) tapping a button (c) a result on screen (d) a pop-up message
-
9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Badges”
2. tap the Lessons tab
3. open “Edit photo”
Which screen are you on now? (a) Badges (b) Edit photo (c) Lessons (d) Quiz - 10.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) pick a theme colour (b) see tasks by day (c) add a homework task (d) set a due date
- 11.🧭 Where is a tab bar usually placed in a phone app? (a) inside a button (b) in the middle (c) at the bottom (d) nowhere
- 12.True or false: you list what users need at the idea stage. (a) True (b) False
- 13.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a homework planner (b) a bill splitter (c) a study-room finder (d) a medicine reminder
- 14.🔢 In a sign-up flow, what comes right after “type name and email”? (a) enter the code sent (b) see the home screen (c) make a password (d) tap “Sign up”
-
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 35; // start at 33
line 2: points = points - 3; // take away 3
line 3: points = points + 2; // add 2
line 4: points = points - 1; // take away 1
line 5: show(points); // show it -
16.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Size → Pay → Results → Confirm
Design B: Home → Confirm → Pens → Search → Shop -
17.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right > 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(10) → expected Pass
Test 2: result(8) → expected Pass
Test 3: result(7) → expected Try again - 18.Which of these happens at the plan stage? (a) add the buttons (b) talk to possible users (c) list what users need (d) sketch the screens
-
19.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 64 px tall
Next button: 36 px tall
Help button: 32 px tall - 20.🚀 Your app is at version 3.4.4. The next release fixes a small bug. What is its version number? (a) 4.0.0 (b) 3.5.4 (c) 3.4.5 (d) 3.5.0
- 21.Which of these is an input? (a) today’s step count (b) tap to Save (c) a box to type a name (d) tap to Send
- 22.👥 A clinic app has 165 patients, 220 doctors and 110 nurses as users. How many users does it have in all?
- 23.🐞 What is a bug? (a) a mistake in the code (b) a fast phone (c) a nice icon (d) a new feature
- 24.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) helps everyone (b) makes it harder
-
25.🔁 What is the LAST line this code shows?
let names = ["Riya", "Aman", "Kabir", "Meera", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Riya (c) Hi, Aman (d) Hi, Arjun - 26.👥 A library app has 190 readers, 130 librarians and 275 volunteers as users. How many more readers than librarians are there?
-
27.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Name
[switch] Remind me
[button] Save
[slider] Text size
[text box] Subject -
28.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 50; // start at 50
line 2: score = score + 5; // add 4
line 3: score = score * 2; // double it
line 4: score = score - 3; // take away 3
line 5: show(score); // show it - 29.👥 A cricket club app has 150 players, 235 coaches and 245 fans as users. How many users does it have in all?
- 30.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
- 31.🚀 Which version is newer: 4.12.0 or 4.3.2? (a) 4.3.2 (b) 4.12.0
-
32.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Zoya", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Zoya (c) Hi, Arjun - 33.🔍 Which is the odd one out? (a) a puzzle with levels (b) a word battle (c) a water reminder (d) a cricket run chase
- 34.👆 What kind of event is this: the user taps Play? (a) a timer event (b) a text event (c) a load event (d) a tap event
- 35.True or false: the log-in page is a screen. (a) True (b) False
-
36.🗒️ Version 1 of a quiz app must be ready in 14 days. How many days are left for extras after the must-haves?
show a question: 4 days
check the answer: 2 days
show the score: 4 days - 37.🔐 Which permission does a weather-near-me app really need? (a) the microphone (b) contacts (c) location (d) the camera
- 38.Which of these is a screen? (a) your saved notes (b) a box to type a name (c) the log-in page (d) tap to go Next
-
39.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Pay → Item → Menu → Search → Pens
Design B: Home → Search → Menu → Pay → Results → Item - 40.🗂️ What kind of app is a water reminder? (a) a game (b) a tool app (c) a learning app (d) a health app
Answer key
- an app store
- line 2
- ON
- 6
- a text label
- line 2
- how many items it has
- tapping a button
- Edit photo
- pick a theme colour
- at the bottom
- True
- a medicine reminder
- make a password
- 31
- 1
- 2
- sketch the screens
- 1
- 3.4.5
- a box to type a name
- 495
- a mistake in the code
- helps everyone
- Hi, Arjun
- 60
- 4
- 107
- 630
- poor design
- 4.12.0
- Hi, Riya
- a water reminder
- a tap event
- True
- 4
- location
- the log-in page
- 1
- a health app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students