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.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 49; // start at 47
line 2: points = points + 4; // add 4
line 3: points = points + 5; // add 5
line 4: points = points + 5; // add 5
line 5: show(points); // show it - 2.🔍 Which is the odd one out? (a) speaking a command (b) a result on screen (c) taking a photo (d) typing your age
- 3.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
- 4.🧰 Why write a function? (a) to hide errors (b) to reuse code (c) to slow the app (d) to make code longer
- 5.Which of these happens at the release stage? (a) list what users need (b) draw the user flow (c) sketch the screens (d) put it on an app store
-
6.🧪 One test case fails. Which one?
🎟️ 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(19) → expected 100
Test 3: price(13) → expected 100 (a) Test 2 (b) Test 1 (c) Test 3 - 7.True or false: a website opens in a web browser. (a) True (b) False
-
8.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(3)); -
9.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Item → Address
Design B: Home → Size → Shop → Pay → Pens → Results → Item - 10.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) set a due date (c) share tasks to friends (d) see tasks by day
- 11.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show the score (b) check the answer (c) background music (d) show a question
- 12.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 13.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a homework planner (b) a lost-and-found board (c) a study-room finder (d) a medicine reminder
-
14.💾 pop() takes off the last item. What does this code show?
let notes = ["Sports", "Maths", "Art", "Music", "Science"];
notes.pop();
show(notes[notes.length - 1]); (a) Art (b) Sports (c) Music (d) Maths - 15.True or false: the user taps Play is a tap event. (a) True (b) False
- 16.True or false: notes to read offline fits saving in the cloud. (a) False (b) True
- 17.🔍 Which is the odd one out? (a) tapping a button (b) checking a password (c) adding up a bill (d) working out a tip
- 18.🔁 list.length tells you ___. (a) the biggest item (b) the last item (c) the first item (d) how many items it has
- 19.🔀 When does the else part run? (a) when the test is false (b) when the test is true (c) never (d) always
-
20.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 17 votes
missing the bus: 20 votes
no quiet study place: 19 votes (a) missing the bus (b) wasting pocket money (c) no quiet study place - 21.Which of these is an input? (a) taking a photo (b) checking a password (c) a result on screen (d) adding up a bill
-
22.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Kabir", "Zoya", "Riya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Zoya (c) Hi, Kabir (d) Hi, Aman - 23.🔢 In a quiz-app flow, which comes first: “read a question” or “tap “Start quiz””? (a) tap “Start quiz” (b) read a question
-
24.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 21 votes
forgetting birthdays: 4 votes
wasting pocket money: 5 votes -
25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Friend list”
2. open “Help page”
3. tap Back
4. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 26.🔢 When you make an app, which comes first: “build the app” or “get an idea”? (a) build the app (b) get an idea
- 27.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) earn stickers (c) see tasks by day (d) share tasks to friends
- 28.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a clear next step (c) a random page (d) a dead end
- 29.🧰 In function tip(bill), what is bill? (a) a screen (b) a loop (c) a parameter (d) an event
- 30.Which of these is data? (a) the settings page (b) a date picker (c) the game-over page (d) your high score
-
31.👆 The user taps the button 4 times. What number does the label show now?
let points = 8;
button.onTap = function () {
points = points + 2;
label.text = points;
}; -
32.🖼️ In this wireframe (top to bottom), what is right below the top bar?
[ top bar ]
[ search box ]
[ Add button ]
[ list of items ]
[ title text ] (a) Add button (b) search box (c) list of items (d) title text - 33.True or false: the screen first opens is a timer event. (a) False (b) True
-
34.🔀 What does this battery rule show?
let battery = 97;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 35.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
- 36.⚙️ In an app, is working out a tip an input, processing or an output? (a) processing (b) input (c) output
-
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 39; // start at 39
line 2: coins = coins * 2; // double it
line 3: coins = coins + 2; // double it
line 4: show(coins); // show it - 38.🔢 After an app is released, which comes LAST? (a) release an update (b) read user reviews (c) test it again (d) list what to fix
- 39.🧩 Which input is best for choosing a volume level? (a) a title (b) a switch (c) a text box (d) a slider
- 40.👥 A library app has 30 readers, 145 librarians and 75 volunteers as users. How many users does it have in all?
Answer key
- 63
- a result on screen
- a feature
- to reuse code
- put it on an app store
- Test 3
- True
- 90
- 4
- share tasks to friends
- background music
- easy to read
- a lost-and-found board
- Music
- True
- False
- tapping a button
- how many items it has
- when the test is false
- missing the bus
- taking a photo
- Hi, Aman
- tap “Start quiz”
- 30
- 2
- get an idea
- see tasks by day
- a clear next step
- a parameter
- your high score
- 16
- search box
- False
- Battery OK
- too much
- processing
- 156
- release an update
- a slider
- 250
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students