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.👆 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) OFF (b) ON - 2.True or false: “strong colour contrast” makes the app harder to use. (a) True (b) False
- 3.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 4.Which of these is true of a website? (a) opens in a web browser (b) comes from an app store (c) is installed on a phone (d) has a home-screen icon
- 5.True or false: the user types a letter is a text event. (a) True (b) False
-
6.💾 pop() takes off the last item. What does this code show?
let friends = ["Kabir", "Meera", "Aman"];
friends.pop();
show(friends[friends.length - 1]); (a) Aman (b) Kabir (c) Meera - 7.Which of these is a feature? (a) “What should I cook?” (b) a search bar (c) “I keep missing the bus” (d) “Small text is hard”
- 8.🔍 Which is the odd one out? (a) the icon shapes (b) the screen layout (c) how easy sign-up is (d) the button colours
-
9.⚙️ What number does this app show?
let km = 11; // typed by the user
let metres = km * 1000;
show(metres); - 10.True or false: you share the download link at the release stage. (a) True (b) False
- 11.Which of these requests is fair? (a) quiz app → microphone (b) torch → contacts (c) timer → your photos (d) voice notes → microphone
- 12.True or false: buttons almost touching is poor button design. (a) False (b) True
-
13.🧰 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(10)); - 14.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a type of font (d) a colour theme
-
15.💾 What number does this code show?
let notes = ["Music", "Art", "Science", "Maths"];
notes.push("Hindi");
show(notes.length); - 16.🔢 In a food-order flow, which comes LAST? (a) pick a dish (b) check the cart (c) add it to the cart (d) track the order
-
17.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Meera")); (a) Meera (b) Welcome, name! (c) greet (d) Welcome, Meera! - 18.Which of these is an input? (a) tap to Send (b) the home page of an app (c) a date picker (d) today’s step count
- 19.🎯 Why learn about users before you build? (a) to build what they need (b) to make it longer (c) to pick a logo (d) to slow it down
-
20.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(12) → expected 100
Test 3: price(10) → expected 50 - 21.Which of these is about UX (the experience)? (a) the screen layout (b) how many taps it takes (c) the icon shapes (d) the theme colours
-
22.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Address → Offers → Item
Design B: Home → Search → Pay (a) Design A (b) Design B -
23.👆 The user taps the button 2 times. What number does the label show now?
let lives = 7;
button.onTap = function () {
lives = lives + 1;
label.text = lives;
}; -
24.🔀 What does this battery rule show?
let battery = 29;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 25.True or false: a final design shows the real fonts. (a) False (b) True
- 26.👥 A library app has 95 readers, 230 librarians and 170 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
-
27.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “forgetting birthdays”?
forgetting birthdays: 12 votes
no quiet study place: 18 votes
missing the bus: 14 votes -
28.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. tap the Me tab
3. tap the Me tab
4. open “Help page”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 29.💾 Which can hold many values in order? (a) a button (b) a single number (c) a list (d) a switch
- 30.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) export to a file (c) show the balance (d) add money spent
- 31.🔢 When you make an app, which comes first: “plan the screens” or “get an idea”? (a) plan the screens (b) get an idea
- 32.🌗 Is dark blue on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
33.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Aman", "Kabir", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Aman - 34.Which of these is about UI (the look)? (a) how many taps it takes (b) how users feel after (c) how easy sign-up is (d) the theme colours
-
35.🧩 Which of these is a button on this screen?
[title] New Note
[button] Start
[button] Save
[text box] Due date (a) Start (b) Due date -
36.🧩 How many buttons does this app screen have?
[title] Settings
[button] Help
[text box] Subject
[button] Save
[button] Start
[switch] Dark mode
[text box] Email -
37.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 2)); - 38.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) list what users need
-
39.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 40.True or false: a free study-room finder solves a real problem. (a) True (b) False
Answer key
- OFF
- False
- a website
- opens in a web browser
- True
- Meera
- a search bar
- how easy sign-up is
- 11000
- True
- voice notes → microphone
- True
- 40
- the path through screens
- 5
- track the order
- Welcome, Meera!
- a date picker
- to build what they need
- 50
- how many taps it takes
- Design B
- 9
- Battery OK
- True
- librarians
- 2
- 0
- a list
- export to a file
- get an idea
- hard to read
- Hi, Meera
- the theme colours
- Start
- 3
- 100
- list what users need
- Ask a parent
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students