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.🧪 One test case fails. Which one?
🎟️ 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(14) → expected 100
Test 2: price(13) → expected 50
Test 3: price(18) → expected 100 (a) Test 3 (b) Test 2 (c) Test 1 - 2.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Make it fast” (c) “Use blue buttons” (d) “Add a logo”
-
3.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 49; // start at 49
line 2: coins = coins - 2; // add 2
line 3: coins = coins + 3; // add 3
line 4: show(coins); // show it (a) line 3 (b) line 2 (c) line 1 - 4.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) share your streak (d) set a reminder time
-
5.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(4)); -
6.⚙️ What number does this app show?
let price = 40; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total); -
7.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Match report”
3. open “Score card”
How many times must you tap Back to reach the main screen of this tab? - 8.🧩 Which input is best for choosing a volume level? (a) a text box (b) a slider (c) a switch (d) a title
-
9.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 24 px
Menu: 23 px
Label: 21 px
Caption: 18 px
Footer: 14 px -
10.🖼️ How many parts (boxes) does this wireframe have?
[ search box ]
[ Add button ]
[ title text ]
[ list of items ]
[ top bar ]
[ filter buttons ] -
11.🔁 What number does this code show?
let scores = [36, 16, 41, 23];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); - 12.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
- 13.True or false: you put it on an app store at the release stage. (a) False (b) True
- 14.🧪 A test case is an input together with its ___. (a) app icon (b) screen colour (c) expected result (d) font size
-
15.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 30; // start at 30
line 2: coins = coins * 2; // double it
line 3: coins = coins - 3; // add 3
line 4: show(coins); // show it -
16.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Shop → Results → Address → Offers → Item
Design B: Home → Pens → Results → Address - 17.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) change the bus icon (b) see where the bus is (c) pick your bus stop (d) show arrival time
- 18.🌐 Which program do you need to open a website? (a) a camera app (b) a web browser (c) a calculator (d) an app store
- 19.💡 A good app idea starts with ___. (a) a cool logo (b) a long name (c) many colours (d) a problem to solve
- 20.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
- 21.Which of these happens at the plan stage? (a) list what users need (b) add the buttons (c) draw the user flow (d) write the store text
- 22.👥 A cricket club app has 205 players, 255 coaches and 180 fans as users. How many users does it have in all?
- 23.🔍 Which is the odd one out? (a) the button colours (b) the theme colours (c) the icon shapes (d) how easy sign-up is
-
24.🔀 What number does this shop app show?
let total = 750;
if (total > 500) {
total = total - 50;
}
show(total); - 25.🗂️ What kind of app is a puzzle with levels? (a) a learning app (b) a tool app (c) a game (d) a health app
- 26.🔢 In a quiz-app flow, which comes first: “see if it is right” or “tap “Start quiz””? (a) tap “Start quiz” (b) see if it is right
-
27.🔁 What is the LAST line this code shows?
let names = ["Meera", "Arjun", "Aman", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Aman (c) Hi, Meera (d) Hi, Zoya - 28.True or false: “colour as the only clue” helps everyone use the app. (a) True (b) False
-
29.📊 Survey: which problem bugs you most? How many more votes did “losing water bottles” get than “wasting pocket money”?
no quiet study place: 10 votes
losing water bottles: 16 votes
wasting pocket money: 11 votes -
30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 34; // start at 34
line 2: stars = stars + 2; // double it
line 3: stars = stars - 1; // take away 1
line 4: stars = stars + 6; // add 6
line 5: show(stars); // show it (a) line 3 (b) line 4 (c) line 1 (d) line 2 -
31.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. open “Help page”
3. open “Friend list”
4. tap Back
Which screen are you on now? (a) Lessons (b) Help page (c) Quiz (d) Friend list - 32.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) False (b) True
- 33.Which of these is processing? (a) a buzz (vibration) (b) sorting the scores (c) a result on screen (d) a beep sound
- 34.True or false: a website opens from a link. (a) False (b) True
-
35.⚙️ What number does this app show?
let km = 7; // typed by the user
let metres = km * 1000;
show(metres); - 36.Which of these helps everyone use the app? (a) icons with no labels (b) colour as the only clue (c) tiny tap areas (d) labels on every icon
-
37.🔀 What does this sign-up rule show?
let age = 15;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 38.📅 An app team plans for 5 days, builds for 6 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
- 39.Which of these happens at the idea stage? (a) let friends try it (b) write the store text (c) try every button (d) list what users need
- 40.🔢 In a food-order flow, what comes right after “open the menu”? (a) pick a dish (b) pay for the order (c) track the order (d) add it to the cart
Answer key
- Test 1
- “Kids forget homework”
- line 2
- share your streak
- 100
- 160
- 2
- a slider
- 1
- 6
- 0
- UX
- True
- expected result
- 57
- 5
- change the bus icon
- a web browser
- a problem to solve
- False
- draw the user flow
- 640
- how easy sign-up is
- 700
- a game
- tap “Start quiz”
- Hi, Zoya
- False
- 5
- line 2
- Help page
- True
- sorting the scores
- True
- 7000
- labels on every icon
- Welcome!
- 5
- list what users need
- pick a dish
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students