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 does this battery rule show?
let battery = 90;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
2.🔀 What does this PIN rule show?
let pin = "32104";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
3.🔁 What number does this code show?
let runs = [19, 16, 10];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 4.🧭 Which part of navigation hides extra links? (a) the back button (b) a tab bar (c) a menu button
-
5.🔁 What number does this code show?
let steps = [12, 15, 16, 7, 5];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); - 6.👥 A school app has 155 students, 180 teachers and 175 parents as users. How many users does it have in all?
- 7.👆 Code that runs when an event happens is called a ___. (a) header (b) headline (c) handler (d) hashtag
- 8.💡 Which app idea solves this problem: a team shares one snack bill? (a) a homework planner (b) a study-room finder (c) a bill splitter (d) a medicine reminder
- 9.Which of these is an output? (a) checking a password (b) a beep sound (c) sorting the scores (d) tapping a button
- 10.Which of these is a user need? (a) a reminder alarm (b) a share button (c) “I keep missing the bus” (d) a search bar
- 11.🗂️ What kind of app is an alarm clock? (a) a learning app (b) a game (c) a health app (d) a tool app
- 12.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
- 13.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) background music (d) check the answer
- 14.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
- 15.🚀 Your app is at version 1.9.6. The next release fixes a small bug. What is its version number? (a) 2.0.0 (b) 1.9.7 (c) 1.10.6 (d) 1.10.0
-
16.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 80; // typed by the user
line 2: let qty = 4; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 1 (b) line 4 (c) line 2 (d) line 3 - 17.🧩 What do we call one full page of an app? (a) a cable (b) a battery (c) a variable (d) a screen
-
18.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Map”
2. open “Match report”
3. tap the Settings tab
4. tap the Feed tab
Which screen are you on now? (a) Map (b) Chat (c) Match report (d) Feed - 19.True or false: the icon shapes is about UI (the look). (a) True (b) False
-
20.💾 What number does this code show?
let coins = 6;
coins = coins - 3;
coins = coins + 2;
show(coins); - 21.🔁 A loop over a list of 5 items runs its body how many times? (a) 4 (b) 1 (c) 5 (d) 6
- 22.🧭 What does the back button usually do? (a) opens settings (b) deletes the page (c) goes to the last screen (d) closes all apps
- 23.True or false: the settings page is a button. (a) True (b) False
- 24.True or false: a puzzle with levels is a game. (a) False (b) True
- 25.🧩 In an app, what is the settings page? (a) an input (b) a button (c) a screen (d) data
- 26.📅 An app team plans for 3 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
- 27.👆 What kind of event is this: the app starts up? (a) a text event (b) a timer event (c) a load event (d) a tap event
-
28.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Kabir", "Riya", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Kabir (d) Hi, Zoya - 29.👥 A cricket club app has 195 players, 145 coaches and 95 fans as users. How many users does it have in all?
- 30.👆 A tap handler runs how many times if the user taps 4 times? (a) 1 (b) 0 (c) 8 (d) 4
- 31.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 3 (c) 1, 2, 3 (d) 0, 1, 2
- 32.🔢 In a quiz-app flow, which comes first: “pick an answer” or “read a question”? (a) read a question (b) pick an answer
-
33.🔀 What number does this shop app show?
let total = 880;
if (total > 500) {
total = total - 50;
}
show(total); - 34.True or false: how many taps it takes is about UI (the look). (a) True (b) False
- 35.🧩 In an app, what is the log-in page? (a) a button (b) data (c) a screen (d) an input
-
36.👆 The user taps the button 6 times. What number does the label show now?
let score = 9;
button.onTap = function () {
score = score + 3;
label.text = score;
}; - 37.🔢 When you make an app, what comes right after “test the app”? (a) build the app (b) release it (c) get an idea (d) plan the screens
- 38.🔐 Which permission does a weather-near-me app really need? (a) the camera (b) contacts (c) location (d) the microphone
- 39.True or false: a pocket-money tracker is the best fit for a teen learning to make snacks. (a) True (b) False
- 40.Which of these happens at the idea stage? (a) draw the user flow (b) try every button (c) sketch the screens (d) list what users need
Answer key
- Battery OK
- Use 4 digits
- 19
- a menu button
- 16
- 510
- handler
- a bill splitter
- a beep sound
- “I keep missing the bus”
- a tool app
- an app
- check the answer
- No
- 1.9.7
- line 3
- a screen
- Feed
- True
- 5
- 5
- goes to the last screen
- False
- True
- a screen
- 10
- a load event
- Hi, Meera
- 435
- 4
- 0, 1, 2
- read a question
- 830
- False
- a screen
- 27
- release it
- location
- False
- list what users need
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students