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.Which of these is true of a website? (a) comes from an app store (b) is installed on a phone (c) updates from the store (d) opens in a web browser
-
2.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
3.👆 The user taps the button 7 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) ON (b) OFF - 4.🔢 After an app is released, what comes right after “read user reviews”? (a) list what to fix (b) release an update (c) fix and improve (d) test it again
- 5.True or false: an app opens from a link. (a) True (b) False
- 6.🧩 Which input is best for choosing a volume level? (a) a title (b) a switch (c) a slider (d) a text box
-
7.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] Notes
[button] Send - 8.Which of these happens at the idea stage? (a) write down the bugs (b) connect the data (c) spot a problem to solve (d) put it on an app store
-
9.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ Save button ]
[ title text ]
[ search box ]
[ list of items ] - 10.♿ Showing right or wrong only in red and green is a problem for ___. (a) the server (b) colour-blind users (c) the battery (d) fast typists
- 11.🔐 Is this permission request fair or too much: map app → location? (a) too much (b) fair
-
12.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “forgetting homework”?
forgetting homework: 4 votes
missing the bus: 5 votes
forgetting birthdays: 16 votes -
13.🔀 What does this PIN rule show?
let pin = "4926";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
14.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 3 days
see today’s total: 3 days - 15.🔢 After an app is released, which comes first: “read user reviews” or “list what to fix”? (a) list what to fix (b) read user reviews
- 16.🧭 Which part of navigation switches main sections? (a) a tab bar (b) the back button (c) a menu button
- 17.True or false: the app starts up is a load event. (a) False (b) True
- 18.🔍 Which is the odd one out? (a) typing your age (b) taking a photo (c) sorting the scores (d) speaking a command
- 19.Which of these happens at the plan stage? (a) pick the features (b) connect the data (c) write down the bugs (d) put it on an app store
-
20.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 56 px tall
Start button: 48 px tall
Cancel button: 40 px tall (a) Next (b) Cancel (c) Start - 21.🧭 Where is a tab bar usually placed in a phone app? (a) at the bottom (b) nowhere (c) in the middle (d) inside a button
- 22.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) fix and improve (c) release an update (d) test it again
-
23.🔁 What number does this code show?
let marks = [5, 3, 11, 10];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
24.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
25.⚙️ What number does this app show?
let price = 55; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total); -
26.👆 The user taps the button 3 times. What number does the label show now?
let lives = 9;
button.onTap = function () {
lives = lives + 4;
label.text = lives;
}; - 27.Which of these is true of a tab bar? (a) opens a list of pages (b) undoes one move (c) goes to the last screen (d) switches main sections
- 28.🧭 Why should every screen show where you are? (a) to use more battery (b) to hide the menu (c) to look busy (d) so users do not get lost
- 29.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
-
30.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “forgetting birthdays”?
wasting pocket money: 24 votes
losing water bottles: 25 votes
forgetting birthdays: 5 votes - 31.💾 Which can hold many values in order? (a) a switch (b) a button (c) a list (d) a single number
-
32.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Menu: 12 px
Title: 13 px
Label: 24 px
Caption: 14 px - 33.🔍 Which is the odd one out? (a) a buzz (vibration) (b) checking a password (c) a pop-up message (d) a result on screen
- 34.Which of these is a feature? (a) “I forget my homework” (b) “Small text is hard” (c) a search bar (d) “What should I cook?”
-
35.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Edit photo”
2. open “Map”
3. tap the Settings tab
4. tap the Settings tab
Which screen are you on now? (a) Settings (b) Feed (c) Map (d) Edit photo - 36.True or false: the log-in page is a screen. (a) False (b) True
-
37.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Riya", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Zoya (d) Hi, Aman -
38.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age <= 13) {
return 50;
}
return 100;
}
Test 1: price(14) → expected 100
Test 2: price(13) → expected 100
Test 3: price(11) → expected 50 (a) Test 1 (b) Test 2 (c) Test 3 - 39.📲 What happens when you tap an app’s icon? (a) the phone charges (b) the sound turns off (c) the app is deleted (d) the app opens
-
40.🔁 What is the LAST line this code shows?
let names = ["Aman", "Arjun", "Zoya", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Zoya (c) Hi, Arjun (d) Hi, Riya
Answer key
- opens in a web browser
- Welcome!
- ON
- list what to fix
- False
- a slider
- 1
- spot a problem to solve
- 5
- colour-blind users
- fair
- 12
- PIN saved
- 0
- read user reviews
- a tab bar
- True
- sorting the scores
- pick the features
- Cancel
- at the bottom
- read user reviews
- 29
- Ask a parent
- 220
- 21
- switches main sections
- so users do not get lost
- greater than or equal
- 19
- a list
- 3
- checking a password
- a search bar
- Settings
- True
- Hi, Meera
- Test 2
- the app opens
- Hi, Riya
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students