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.🗒️ Version 1 of a pocket-money tracker must be ready in 7 days. How many days are left for extras after the must-haves?
add money received: 2 days
add money spent: 2 days
show the balance: 3 days - 2.🔢 In a food-order flow, which comes first: “check the cart” or “pay for the order”? (a) check the cart (b) pay for the order
-
3.💾 pop() takes off the last item. What does this code show?
let friends = ["Zoya", "Riya", "Arjun", "Aman"];
friends.pop();
show(friends[friends.length - 1]); (a) Arjun (b) Riya (c) Zoya (d) Aman - 4.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
- 5.Which of these is true of the back button? (a) switches main sections (b) shows 3 to 5 icons (c) undoes one move (d) hides extra links
- 6.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) set a reminder time (b) see today’s total (c) water animations (d) log a glass of water
-
7.🚀 Which of these versions is the OLDEST?
0.24.2, 1.4.4, 1.17.3, 1.3.0 (a) 1.4.4 (b) 1.3.0 (c) 1.17.3 (d) 0.24.2 - 8.True or false: a website comes from an app store. (a) False (b) True
-
9.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 7; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 3 (c) line 1 - 10.💡 Does an app idea like a free study-room finder solve a real problem? (a) No (b) Yes
- 11.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
- 12.🔢 When you make an app, which comes first: “build the app” or “plan the screens”? (a) plan the screens (b) build the app
- 13.True or false: a lost-and-found board solves a real problem. (a) False (b) True
- 14.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
- 15.Which of these helps everyone use the app? (a) sudden loud sounds (b) colour as the only clue (c) big touch targets (d) tiny tap areas
- 16.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) people reading the code (c) the app store (d) the battery
- 17.Which of these is true of an app? (a) has a web address (b) has a home-screen icon (c) needs no installing (d) opens in a web browser
-
18.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 26; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 2 (b) line 3 (c) line 4 (d) line 1 - 19.🌗 Is pale pink on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 20.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a free study-room finder (c) a button with no action (d) a library due-date alert
- 21.🧩 In an app, what is tap to Save? (a) an input (b) a screen (c) a button (d) data
- 22.🧰 In function tip(bill), what is bill? (a) an event (b) a parameter (c) a screen (d) a loop
- 23.🧩 Which input is best for turning something ON or OFF? (a) a text box (b) a slider (c) a switch (d) a title
- 24.True or false: speaking a command is an input. (a) False (b) True
- 25.🗂️ What kind of app is a step counter? (a) a tool app (b) a health app (c) a game (d) a learning app
-
26.💾 What does this code show? (Positions start at 0.)
let songs = ["Ocean", "Sunrise", "Kites", "Monsoon"];
show(songs[3]); (a) Ocean (b) Sunrise (c) Kites (d) Monsoon - 27.🔍 Which is the odd one out? (a) how easy sign-up is (b) the button colours (c) the font size (d) the theme colours
- 28.🧭 Which part of navigation opens a list of pages? (a) the back button (b) a tab bar (c) a menu button
-
29.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total > 600) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 40
Test 2: delivery(600) → expected 0
Test 3: delivery(650) → expected 0 (a) Test 3 (b) Test 2 (c) Test 1 - 30.🔐 A torch app asks for your contacts. What should you do? (a) post them online (b) deny it (c) allow it (d) share them all
- 31.📅 An app team plans for 4 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 32.🔍 Which is the odd one out? (a) colour as the only clue (b) sudden loud sounds (c) fast-flashing lights (d) labels on every icon
- 33.Which colour pair is hard to read? (a) yellow on white (b) white on dark green (c) dark blue on white (d) black on yellow
- 34.👥 A clinic app has 170 patients, 195 doctors and 265 nurses as users. How many users does it have in all?
- 35.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) edge cases (c) easy cases (d) phone cases
-
36.🔀 What does this battery rule show?
let battery = 23;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 37.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
- 38.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
- 39.True or false: sorting the scores is processing. (a) True (b) False
-
40.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(2));
Answer key
- 0
- check the cart
- Arjun
- UX
- undoes one move
- water animations
- 0.24.2
- False
- line 2
- Yes
- a named block of code
- plan the screens
- True
- Yes
- big touch targets
- people reading the code
- has a home-screen icon
- line 3
- hard to read
- a button with no action
- a button
- a parameter
- a switch
- True
- a health app
- Monsoon
- how easy sign-up is
- a menu button
- Test 2
- deny it
- 15
- labels on every icon
- yellow on white
- 630
- edge cases
- Battery OK
- when the test is false
- a final design
- True
- 80
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students