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 is the LAST line this code shows?
let names = ["Riya", "Aman", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Zoya (c) Hi, Aman - 2.🛠️ At which stage do you put it on an app store? (a) the idea stage (b) the release stage (c) the plan stage (d) the test stage
- 3.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) add a homework task (c) share tasks to friends (d) see tasks by day
- 4.🔀 What does if / else let an app do? (a) draw a screen (b) pick one of two actions (c) save a photo (d) repeat forever
-
5.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 24 px tall
Save button: 52 px tall
Start button: 68 px tall (a) Help (b) Save (c) Start -
6.💾 What number does this code show?
let points = 8;
points = points - 3;
points = points + 2;
show(points); - 7.🧩 In an app, what is the game-over page? (a) a screen (b) an input (c) data (d) a button
-
8.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Riya", "Arjun", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Riya (c) Hi, Arjun (d) Hi, Aman - 9.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) helps everyone (b) makes it harder
- 10.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) CPU (c) FAQ (d) MVP
- 11.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 20 (c) 3 to 5 (d) 1
- 12.Which of these helps everyone use the app? (a) captions on videos (b) colour as the only clue (c) fast-flashing lights (d) tiny tap areas
-
13.📊 Survey: which problem bugs you most? How many more votes did “missing the bus” get than “losing water bottles”?
missing the bus: 25 votes
losing water bottles: 20 votes
forgetting homework: 23 votes -
14.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(17) → expected 100
Test 2: price(12) → expected 50
Test 3: price(14) → expected 100 -
15.⚙️ What number does this app show?
let price = 520; // typed by the user
let off = 40; // typed by the user
let pay = price - off;
show(pay); -
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 37; // start at 37
line 2: score = score - 2; // take away 2
line 3: score = score + 2; // double it
line 4: score = score + 3; // add 3
line 5: show(score); // show it - 17.♿ What should every icon-only button have for screen readers? (a) a sound (b) a long animation (c) a bright colour (d) a text label
- 18.Which of these is true of an app? (a) opens from a link (b) has a web address (c) is installed on a phone (d) opens in a web browser
- 19.True or false: a recipe finder is the best fit for a student who often misses the school bus. (a) False (b) True
- 20.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
- 21.Which of these fits saving in the cloud? (a) a class leaderboard (b) a draft you are typing (c) the sound on/off setting (d) your last game level
- 22.Which of these is true of a wireframe? (a) shows the real fonts (b) shows where things go (c) uses the final pictures (d) looks like the real app
-
23.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Aman", "Zoya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Aman (c) Hi, Kabir (d) Hi, Arjun -
24.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Zoya", "Kabir", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Meera (d) Hi, Kabir - 25.🎨 Fewer taps to finish a task usually means ___. (a) worse UX (b) a bigger app (c) better UX (d) more colours
- 26.🔀 In a good flow, each screen should lead to ___. (a) a dead end (b) the same screen (c) a random page (d) a clear next step
- 27.👥 A cricket club app has 220 players, 100 coaches and 195 fans as users. How many users does it have in all?
- 28.True or false: a flashcard trainer is a learning app. (a) False (b) True
- 29.🔍 Which is the odd one out? (a) the font size (b) how easy sign-up is (c) the icon shapes (d) the theme colours
- 30.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 31.True or false: “labels on every icon” makes the app harder to use. (a) False (b) True
- 32.🔍 Which is the odd one out? (a) a flashcard trainer (b) a times-table quiz (c) a puzzle with levels (d) a spelling coach
- 33.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it uses more lines (c) it hides them (d) less code to write
- 34.True or false: you sketch the screens at the release stage. (a) True (b) False
- 35.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) typing your age (d) taking a photo
-
36.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(11) + fee(4)); - 37.🗂️ What kind of app is a sleep tracker? (a) a game (b) a learning app (c) a tool app (d) a health app
-
38.👆 The user taps the button 4 times. What number does the label show now?
let stars = 6;
button.onTap = function () {
stars = stars + 2;
label.text = stars;
}; -
39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 30; // start at 30
line 2: lives = lives * 2; // double it
line 3: lives = lives - 5; // add 5
line 4: show(lives); // show it (a) line 1 (b) line 3 (c) line 2 - 40.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
Answer key
- Hi, Zoya
- the release stage
- share tasks to friends
- pick one of two actions
- Help
- 7
- a screen
- Hi, Aman
- helps everyone
- MVP
- 3 to 5
- captions on videos
- 5
- 100
- 480
- 40
- a text label
- is installed on a phone
- False
- a user need
- a class leaderboard
- shows where things go
- Hi, Arjun
- Hi, Meera
- better UX
- a clear next step
- 515
- True
- how easy sign-up is
- on the phone
- False
- a puzzle with levels
- less code to write
- False
- working out a tip
- 60
- a health app
- 14
- line 3
- UX
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students