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 code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Riya (b) Hi, Riya! (c) greet (d) Hi, name! -
2.💾 What number does this code show?
let score = 3;
score = score - 2;
score = score + 2;
show(score); - 3.Which of these is true of an app? (a) needs no installing (b) opens from a link (c) opens in a web browser (d) updates from the store
-
4.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Meera")); (a) Well done, Meera! (b) greet (c) Well done, name! (d) Meera -
5.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
6.🔀 What number does this shop app show?
let total = 510;
if (total > 500) {
total = total - 50;
}
show(total); - 7.Which of these is true of a final design? (a) shows where things go (b) is a quick sketch (c) has no real colours (d) shows the real fonts
- 8.🔐 Which permission does a voice recorder really need? (a) contacts (b) the camera (c) the microphone (d) location
- 9.🎯 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
-
10.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Shop → Offers → Confirm
Design B: Home → Cart → Pens (a) Design A (b) Design B -
11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Video”
2. open “Match report”
3. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 12.🎨 A beautiful app that confuses everyone has ___. (a) good UX but poor UI (b) good UI but poor UX (c) no UI at all (d) perfect UX
-
13.🧪 What is the ACTUAL result of Test 2?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 800) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(850) → expected 0
Test 3: delivery(650) → expected 40 - 14.🔍 Which is the odd one out? (a) the screen layout (b) the button colours (c) the theme colours (d) how users feel after
-
15.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Arjun (c) Hi, Aman - 16.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) pick one of two actions (d) draw a screen
-
17.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Send
[text box] Age
[slider] Volume
[text box] Name - 18.💾 Which can hold many values in order? (a) a list (b) a switch (c) a single number (d) a button
- 19.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) “I forget my homework” (d) a dark mode switch
-
20.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(10) + fee(6)); - 21.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) handler (c) headline (d) header
- 22.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
- 23.📅 An app team plans for 4 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
- 24.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
- 25.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a clear next step (c) a random page (d) a dead end
- 26.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
- 27.🧰 What does return do in a function? (a) repeats the code (b) deletes the app (c) closes the screen (d) sends back a value
- 28.Which of these happens at the test stage? (a) pick the features (b) add the buttons (c) write down the bugs (d) sketch the screens
- 29.🧪 Who else should try an app before release? (a) real users (b) the app icon (c) only the coder (d) nobody
-
30.👆 The user taps the button 2 times. What number does the label show now?
let lives = 7;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; -
31.🔀 What does this PIN rule show?
let pin = "4458";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
32.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Done button: 72 px tall
Start button: 52 px tall
Cancel button: 36 px tall
Save button: 64 px tall (a) Start (b) Save (c) Done (d) Cancel - 33.🧩 Scores, notes and settings that an app keeps are called ___. (a) data (b) tabs (c) buttons (d) screens
-
34.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Address → Pens
Design B: Home → Pens → Address → Cart → Shop (a) Design B (b) Design A -
35.🧩 How many buttons does this app screen have?
[title] Sign Up
[text box] City
[text box] Due date
[button] Next
[text box] Email
[button] Send
[button] Start - 36.🔢 After an app is released, which comes LAST? (a) read user reviews (b) list what to fix (c) release an update (d) test it again
- 37.🎯 Who are the users of an app? (a) only the testers (b) the app icons (c) only the coders (d) the people who use it
- 38.👥 A clinic app has 195 patients, 110 doctors and 165 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
-
39.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(24)); - 40.🗒️ In MVP, the M stands for ___. (a) maximum (b) music (c) mobile (d) minimum
Answer key
- Hi, Riya!
- 3
- updates from the store
- Well done, Meera!
- Ask a parent
- 460
- shows the real fonts
- the microphone
- to build what they need
- Design B
- 3
- good UI but poor UX
- 0
- how users feel after
- Hi, Aman
- pick one of two actions
- 3
- a list
- a dark mode switch
- 40
- handler
- what the app really does
- 3
- easy to read
- a clear next step
- find where it goes wrong
- sends back a value
- write down the bugs
- real users
- 13
- PIN saved
- Cancel
- data
- Design A
- 3
- release an update
- the people who use it
- patients
- 72
- minimum
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students