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 does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 2.🧩 In an app, what is the home page of an app? (a) an input (b) data (c) a button (d) a screen
-
3.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(3)); -
4.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Match report”
2. tap Back
3. open “Match report”
4. open “Score card”
Which screen are you on now? (a) Feed (b) Score card (c) Match report (d) Chat - 5.🔢 After an app is released, what comes right after “list what to fix”? (a) fix and improve (b) read user reviews (c) release an update (d) test it again
- 6.Which of these is about UX (the experience)? (a) the icon shapes (b) the button colours (c) whether users get lost (d) the theme colours
- 7.🔍 Which is the odd one out? (a) connect the data (b) add the buttons (c) list what users need (d) write the code
-
8.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 4 votes
forgetting homework: 21 votes
missing the bus: 20 votes - 9.🛠️ At which stage do you connect the data? (a) the release stage (b) the build stage (c) the plan stage (d) the idea stage
- 10.Which of these is a user need? (a) a reminder alarm (b) a search bar (c) a dark mode switch (d) “What should I cook?”
- 11.🔢 In a food-order flow, which comes FIRST? (a) track the order (b) open the menu (c) pick a dish (d) check the cart
- 12.🧰 What is a function? (a) a type of phone (b) a list of colours (c) a named block of code (d) a screen size
-
13.🔁 What number does this code show?
let runs = [8, 17, 16, 3];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
14.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Pay → Menu
Design B: Home → Pens → Cart → Size → Confirm → Pay → Menu -
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 33; // start at 32
line 2: lives = lives - 5; // take away 5
line 3: lives = lives - 3; // take away 3
line 4: lives = lives - 5; // take away 5
line 5: show(lives); // show it - 16.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) savings stickers (c) export to a file (d) add money spent
-
17.⚙️ What number does this app show?
let bill = 256; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share); - 18.🎯 Which app would help this user most: a student who often misses the school bus? (a) a big-text reader (b) a recipe finder (c) a bus tracker (d) a water reminder
-
19.💾 What number does this code show?
let score = 9;
score = score - 8;
score = score + 1;
show(score); - 20.🔁 list.length tells you ___. (a) the first item (b) how many items it has (c) the last item (d) the biggest item
-
21.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(550) → expected 0
Test 2: delivery(200) → expected 40
Test 3: delivery(600) → expected 0 - 22.True or false: a calculator is a tool app. (a) False (b) True
-
23.👆 The user taps the button 6 times. What number does the label show now?
let coins = 3;
button.onTap = function () {
coins = coins + 3;
label.text = coins;
}; -
24.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 4 votes
no quiet study place: 18 votes
forgetting homework: 13 votes -
25.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; - 26.True or false: a recipe finder is the best fit for a child saving up for a cycle. (a) False (b) True
- 27.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) see tasks by day (c) earn stickers (d) set a due date
- 28.Which of these is true of a website? (a) is installed on a phone (b) updates from the store (c) opens from a link (d) has a home-screen icon
- 29.True or false: “captions on videos” helps everyone use the app. (a) False (b) True
- 30.🗒️ The first small, working version of an app is often called an ___. (a) MVP (b) URL (c) CPU (d) FAQ
-
31.🚀 Which of these versions is the NEWEST?
1.6.9, 1.18.3, 0.28.9, 1.5.1 (a) 1.5.1 (b) 0.28.9 (c) 1.18.3 (d) 1.6.9 -
32.🔀 Which badge does this quiz app show?
let marks = 20;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze -
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 36; // start at 36
line 2: points = points - 2; // add 2
line 3: points = points * 2; // double it
line 4: show(points); // show it - 34.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to hide errors (d) to reuse code
- 35.True or false: you share the download link at the plan stage. (a) True (b) False
- 36.🔢 In a photo-post flow, which comes first: “open the camera screen” or “add a filter”? (a) add a filter (b) open the camera screen
-
37.🧩 How many buttons does this app screen have?
[title] Edit Profile
[slider] Brightness
[text box] Age
[button] Save
[switch] Dark mode - 38.🔢 After an app is released, which comes FIRST? (a) fix and improve (b) test it again (c) list what to fix (d) read user reviews
- 39.👆 What kind of event is this: a finger hits Like? (a) a timer event (b) a tap event (c) a text event (d) a load event
-
40.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(20) → expected 100
Test 2: price(22) → expected 100
Test 3: price(10) → expected 50
Answer key
- Welcome!
- a screen
- 90
- Score card
- fix and improve
- whether users get lost
- list what users need
- 45
- the build stage
- “What should I cook?”
- open the menu
- a named block of code
- 44
- 2
- 19
- add money spent
- 64
- a bus tracker
- 2
- how many items it has
- 0
- True
- 21
- 35
- 3
- False
- earn stickers
- opens from a link
- True
- MVP
- 1.18.3
- Bronze
- 76
- to reuse code
- False
- open the camera screen
- 1
- read user reviews
- a tap event
- 100
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students