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 app ideas solves no real problem? (a) a library due-date alert (b) a blank grey screen (c) a bill splitter (d) a free study-room finder
-
2.🔁 What number does this code show?
let runs = [1, 6, 16, 16, 19];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 3.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a final design (b) a wireframe
- 4.👆 Code that runs when an event happens is called a ___. (a) header (b) headline (c) hashtag (d) handler
-
5.🖼️ In this wireframe (top to bottom), what is right below the top bar?
[ big picture ]
[ top bar ]
[ title text ]
[ Save button ]
[ search box ]
[ list of items ] (a) Save button (b) list of items (c) big picture (d) title text -
6.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 56 px tall
Next button: 64 px tall
Done button: 40 px tall - 7.🔍 Which is the odd one out? (a) a step counter (b) a water reminder (c) a unit converter (d) a sleep tracker
-
8.🧪 How many of these test cases pass?
🎟️ 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(9) → expected 50
Test 2: price(14) → expected 100
Test 3: price(15) → expected 100 - 9.📴 Which of these can often still work with no internet? (a) an installed app (b) an online search (c) a video call (d) a new website
- 10.🔢 After an app is released, what comes right after “list what to fix”? (a) read user reviews (b) fix and improve (c) test it again (d) release an update
- 11.♿ A screen has 5 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
- 12.True or false: an alarm clock is a tool app. (a) True (b) False
- 13.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) pick a theme colour (d) earn stickers
-
14.🧰 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(8) + fee(6)); -
15.🧩 How many buttons does this app screen have?
[title] Order Snacks
[text box] Name
[button] Done
[button] Next
[text box] Due date - 16.🔐 Which permission does a voice recorder really need? (a) contacts (b) the microphone (c) location (d) the camera
-
17.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 35; // start at 34
line 2: score = score + 4; // add 4
line 3: score = score - 5; // take away 5
line 4: show(score); // show it (a) line 3 (b) line 1 (c) line 2 -
18.🔀 Which badge does this quiz app show?
let marks = 41;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze -
19.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Help page”
2. open “Video”
3. tap the Chat tab
4. tap the Settings tab
Which screen are you on now? (a) Feed (b) Settings (c) Help page (d) Video - 20.🛠️ At which stage do you talk to possible users? (a) the plan stage (b) the test stage (c) the release stage (d) the idea stage
- 21.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
-
22.🔀 What does this PIN rule show?
let pin = "65787";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
23.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 21 votes
wasting pocket money: 10 votes
no quiet study place: 3 votes (a) wasting pocket money (b) no quiet study place (c) missing the bus - 24.🐞 Finding and fixing bugs is called ___. (a) debugging (b) downloading (c) designing (d) decorating
- 25.🎯 An app for “everyone” with no clear user usually ___. (a) is easy to build (b) wins every prize (c) helps nobody well (d) needs no testing
- 26.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) CPU (c) MVP (d) URL
- 27.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
-
28.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 48 px tall
Cancel button: 64 px tall
Send button: 32 px tall - 29.🌗 Is white on black easy or hard to read on a button? (a) easy to read (b) hard to read
-
30.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “missing the bus”?
losing water bottles: 6 votes
missing the bus: 5 votes
wasting pocket money: 12 votes - 31.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
-
32.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(24)); - 33.🚀 Which version is newer: 4.2.7 or 4.2.14? (a) 4.2.14 (b) 4.2.7
-
34.🧪 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(14) → expected 100
Test 2: price(17) → expected 100
Test 3: price(11) → expected 50 - 35.🔢 In a sign-up flow, what comes right after “type name and email”? (a) tap “Sign up” (b) enter the code sent (c) open the app (d) make a password
-
36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 48; // start at 48
line 2: stars = stars + 5; // add 5
line 3: stars = stars + 4; // add 2
line 4: stars = stars + 2; // add 2
line 5: show(stars); // show it - 37.💾 Which can hold many values in order? (a) a switch (b) a list (c) a single number (d) a button
- 38.💡 After a survey, which need should version 1 solve? (a) the most common need (b) a random need (c) the rarest need (d) the newest trend
- 39.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) helps everyone (b) makes it harder
- 40.True or false: a blank grey screen solves a real problem. (a) False (b) True
Answer key
- a blank grey screen
- 19
- a wireframe
- handler
- title text
- 2
- a unit converter
- 3
- an installed app
- fix and improve
- 4
- True
- see tasks by day
- 40
- 2
- the microphone
- line 1
- Bronze
- Settings
- the idea stage
- an app
- Use 4 digits
- missing the bus
- debugging
- helps nobody well
- MVP
- too much
- 2
- easy to read
- 7
- a final design
- 48
- 4.2.14
- 100
- make a password
- 57
- a list
- the most common need
- makes it harder
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students