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 number does this app show?
let bill = 390; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); - 2.🔢 In a food-order flow, which comes first: “pick a dish” or “track the order”? (a) pick a dish (b) track the order
- 3.Which of these is true of the back button? (a) undoes one move (b) shows 3 to 5 icons (c) sits at the bottom (d) switches main sections
-
4.🔁 What is the LAST line this code shows?
let names = ["Riya", "Arjun", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Riya -
5.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 36; // start at 36
line 2: coins = coins + 2; // double it
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it (a) line 1 (b) line 3 (c) line 2 - 6.👥 A library app has 270 readers, 185 librarians and 80 volunteers as users. Which user group is the biggest? (a) volunteers (b) librarians (c) readers
- 7.True or false: a website has a web address. (a) False (b) True
-
8.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. tap the Profile tab
3. tap the Profile tab
4. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 9.🔁 A loop over a list of 5 items runs its body how many times? (a) 4 (b) 1 (c) 5 (d) 6
-
10.🔀 Which badge does this quiz app show?
let marks = 77;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze -
11.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 5 votes
wasting pocket money: 14 votes
forgetting homework: 20 votes - 12.Which of these is true of a final design? (a) shows where things go (b) is a quick sketch (c) has no real colours (d) looks like the real app
-
13.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap the Search tab
3. open “Match report”
Which screen are you on now? (a) Search (b) Profile (c) Home (d) Match report - 14.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) handler (d) headline
-
15.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “missing the bus”?
forgetting homework: 17 votes
wasting pocket money: 3 votes
missing the bus: 7 votes -
16.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 50; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 2 (c) line 4 (d) line 1 - 17.True or false: a website needs no installing. (a) False (b) True
- 18.📱 Where do people usually download phone apps from? (a) a charger (b) a web server (c) a printer (d) an app store
- 19.Which of these is true of an app? (a) needs no installing (b) opens in a web browser (c) is installed on a phone (d) opens from a link
-
20.🔀 What does this PIN rule show?
let pin = "53911";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 43; // start at 41
line 2: score = score * 2; // double it
line 3: score = score + 3; // add 3
line 4: show(score); // show it - 22.🧰 Why write a function? (a) to slow the app (b) to hide errors (c) to reuse code (d) to make code longer
- 23.True or false: typing your age is processing. (a) True (b) False
-
24.🔁 What number does this code show?
let marks = [60, 51, 91, 95];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); - 25.Which of these helps everyone use the app? (a) tiny tap areas (b) colour as the only clue (c) labels on every icon (d) icons with no labels
- 26.✏️ Why draw a wireframe before coding? (a) it saves data (b) it adds colours (c) changes are quick (d) it runs the app
- 27.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
-
28.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 15 votes
no quiet study place: 20 votes
forgetting homework: 9 votes -
29.🧪 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(12) → expected 50
Test 2: price(17) → expected 100
Test 3: price(19) → expected 100 - 30.🔢 In a photo-post flow, which comes LAST? (a) write a caption (b) open the camera screen (c) add a filter (d) post the photo
- 31.Which of these is a feature? (a) a dark mode switch (b) “What should I cook?” (c) “I forget my homework” (d) “I keep missing the bus”
- 32.🔢 In a quiz-app flow, which comes first: “see if it is right” or “read a question”? (a) see if it is right (b) read a question
- 33.True or false: a step counter is a game. (a) True (b) False
- 34.True or false: buttons almost touching is good button design. (a) True (b) False
- 35.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) see today’s total (c) share your streak (d) water animations
-
36.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 23 votes
wasting pocket money: 14 votes
forgetting homework: 9 votes (a) forgetting birthdays (b) forgetting homework (c) wasting pocket money - 37.🎯 Which app would help this user most: a child saving up for a cycle? (a) a homework planner (b) a water reminder (c) a bus tracker (d) a pocket-money tracker
-
38.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 9 votes
losing water bottles: 25 votes
forgetting birthdays: 12 votes - 39.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a bus tracker (b) a homework planner (c) a water reminder (d) a recipe finder
- 40.🔀 What is a user flow? (a) a colour theme (b) a type of font (c) a charging cable (d) the path through screens
Answer key
- 78
- pick a dish
- undoes one move
- Hi, Zoya
- line 2
- readers
- True
- 1
- 5
- Silver
- 39
- looks like the real app
- Match report
- handler
- 10
- line 3
- True
- an app store
- is installed on a phone
- Use 4 digits
- 89
- to reuse code
- False
- 4
- labels on every icon
- changes are quick
- an app
- 44
- 3
- post the photo
- a dark mode switch
- read a question
- False
- False
- see today’s total
- forgetting birthdays
- a pocket-money tracker
- 46
- a water reminder
- the path through screens
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students