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 app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a homework planner (c) a bill splitter (d) a lost-and-found board
-
2.🔁 What number does this code show?
let steps = [15, 45, 33];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); -
3.🗒️ Version 1 of a water reminder must be ready in 9 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: 2 days -
4.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 33; // start at 32
line 2: score = score - 3; // take away 3
line 3: score = score * 2; // double it
line 4: score = score + 5; // add 5
line 5: show(score); // show it - 5.👆 An event in an app is ___. (a) a colour theme (b) an app store (c) a kind of list (d) something that happens
- 6.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) pick an answer (b) see the final score (c) read a question (d) tap “Start quiz”
- 7.🎯 An app for “everyone” with no clear user usually ___. (a) helps nobody well (b) is easy to build (c) wins every prize (d) needs no testing
- 8.🗒️ What is a must-have feature? (a) a nice extra (b) a sound effect (c) a colour theme (d) one the app cannot skip
- 9.Which of these is about UX (the experience)? (a) the theme colours (b) how easy sign-up is (c) the button colours (d) the font size
- 10.🐞 What is a bug? (a) a mistake in the code (b) a nice icon (c) a fast phone (d) a new feature
- 11.Which of these is about UI (the look)? (a) whether users get lost (b) how easy sign-up is (c) how users feel after (d) the theme colours
- 12.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
-
13.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(19) → expected 100
Test 2: price(13) → expected 50
Test 3: price(20) → expected 100 -
14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. open “Video”
3. open “Match report”
4. tap Back
5. tap the Quiz tab
How many times must you tap Back to reach the main screen of this tab? - 15.🗂️ What kind of app is a word battle? (a) a health app (b) a game (c) a tool app (d) a learning app
- 16.🎯 What is a user need? (a) a phone setting (b) a problem a user has (c) a colour theme (d) a type of button
- 17.🎨 Is this about UI or UX: the button colours? (a) UI (b) UX
- 18.🔘 Our rule: buttons are at least 48 px tall. The Next button is 24 px tall. How many px taller must it be?
- 19.True or false: the font size is about UI (the look). (a) False (b) True
- 20.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 21.📅 An app team plans for 2 days, builds for 8 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
-
22.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Welcome, nameBox.text! (b) Welcome, Arjun! (c) Welcome! (d) Arjun - 23.Which of these is about UX (the experience)? (a) the icon shapes (b) how many taps it takes (c) the theme colours (d) the screen layout
-
24.🔀 What does this PIN rule show?
let pin = "64543";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 25.🐞 A comment in code (after //) is for ___. (a) people reading the code (b) the app store (c) the phone screen (d) the battery
- 26.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) build the app (c) release it (d) get an idea
- 27.Which of these is true of an app? (a) needs no installing (b) is installed on a phone (c) opens in a web browser (d) opens from a link
- 28.True or false: the search box changes is a text event. (a) True (b) False
- 29.🔍 Which is the odd one out? (a) the theme colours (b) whether users get lost (c) how many taps it takes (d) how users feel after
-
30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 41; // start at 39
line 2: stars = stars + 6; // add 6
line 3: stars = stars + 2; // add 2
line 4: stars = stars - 2; // take away 2
line 5: show(stars); // show it (a) line 3 (b) line 1 (c) line 2 (d) line 4 - 31.🧩 What do we call one full page of an app? (a) a variable (b) a battery (c) a screen (d) a cable
-
32.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap the Lessons tab
3. open “Badges”
4. tap the Quiz tab
Which screen are you on now? (a) Map (b) Badges (c) Quiz (d) Lessons -
33.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 52 px tall
Save button: 40 px tall
Done button: 32 px tall
Help button: 32 px tall -
34.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(19)); -
35.🔁 What number does this code show?
let scores = [83, 37, 42];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 36.💡 Which is a problem statement? (a) “Add a logo” (b) “Kids forget homework” (c) “Use blue buttons” (d) “Make it fast”
-
37.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting birthdays: 19 votes
no quiet study place: 7 votes
wasting pocket money: 6 votes - 38.💾 In most code, the first item of a list is at position ___. (a) 10 (b) 0 (c) 2 (d) 1
- 39.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 40.🎨 UX stands for user ___. (a) example (b) extra (c) express (d) experience
Answer key
- a bill splitter
- 0
- 3
- 65
- something that happens
- see the final score
- helps nobody well
- one the app cannot skip
- how easy sign-up is
- a mistake in the code
- the theme colours
- easy to read
- 3
- 0
- a game
- a problem a user has
- UI
- 24
- True
- on the phone
- 6
- Welcome, Arjun!
- how many taps it takes
- Use 4 digits
- people reading the code
- build the app
- is installed on a phone
- True
- the theme colours
- line 1
- a screen
- Quiz
- 1
- 57
- 1
- “Kids forget homework”
- 32
- 0
- helps everyone
- experience
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students