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 battery rule show?
let battery = 93;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
2.🚀 Which of these versions is the NEWEST?
3.29.2, 4.16.2, 4.3.9, 4.12.2 (a) 4.16.2 (b) 4.12.2 (c) 4.3.9 (d) 3.29.2 - 3.True or false: a weather-near-me app needs the microphone. (a) True (b) False
-
4.🔁 What is the LAST line this code shows?
let names = ["Meera", "Kabir", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Zoya - 5.True or false: a website has a home-screen icon. (a) False (b) True
-
6.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 240; // typed by the user
line 2: let off = 30; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 2 (b) line 3 (c) line 4 (d) line 1 -
7.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Menu → Cart
Design B: Home → Pay → Shop → Menu → Item → Results - 8.📅 An app team plans for 5 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many more days does building take than testing?
-
9.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 10.True or false: a pop-up message is an input. (a) True (b) False
- 11.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a wireframe (b) a final design
-
12.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “losing water bottles”?
forgetting homework: 24 votes
no quiet study place: 12 votes
losing water bottles: 13 votes - 13.Which of these is a user need? (a) a search bar (b) a reminder alarm (c) a share button (d) “Small text is hard”
- 14.🧰 What does return do in a function? (a) sends back a value (b) deletes the app (c) repeats the code (d) closes the screen
- 15.🔘 Is this good or poor button design: icons with no meaning? (a) good design (b) poor design
- 16.🧩 In an app, what is tap to Save? (a) data (b) an input (c) a screen (d) a button
- 17.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
- 18.🔀 What does >= mean? (a) not equal (b) smaller or equal (c) greater than or equal (d) less than
- 19.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to hide errors (d) to reuse code
- 20.📱 The word “app” is short for ___. (a) application (b) appointment (c) appetite (d) apparatus
-
21.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. tap the Lessons tab
3. open “Friend list”
4. open “Edit photo”
Which screen are you on now? (a) Friend list (b) Quiz (c) Lessons (d) Edit photo -
22.💾 What number does this code show?
let notes = ["Music", "Hindi", "Maths"];
notes.push("Art");
notes.push("Science");
show(notes.length); -
23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 11 px
Menu: 23 px
Label: 24 px
Footer: 15 px
Caption: 10 px - 24.🧭 Tapping a tab usually takes you to ___. (a) that tab’s main screen (b) the phone settings (c) a random page (d) the last app used
- 25.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) False (b) True
-
26.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 45; // start at 45
line 2: lives = lives * 2; // double it
line 3: lives = lives + 2; // double it
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it (a) line 4 (b) line 1 (c) line 3 (d) line 2 -
27.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(0)); - 28.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
- 29.👥 A cricket club app has 295 players, 155 coaches and 195 fans as users. Which user group is the biggest? (a) players (b) coaches (c) fans
- 30.Which colour pair is hard to read? (a) black on yellow (b) yellow on white (c) dark blue on white (d) black on pale grey
- 31.🧭 Which part of navigation sits at the bottom? (a) the back button (b) a tab bar (c) a menu button
- 32.True or false: the user presses Save is a tap event. (a) True (b) False
- 33.👥 A school app has 170 students, 185 teachers and 235 parents as users. How many more parents than students are there?
-
34.🔁 What number does this code show?
let runs = [49, 27, 56];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 50) {
count = count + 1;
}
}
show(count); -
35.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Next button: 48 px tall
Help button: 64 px tall
Cancel button: 36 px tall - 36.👥 A library app has 35 readers, 140 librarians and 155 volunteers as users. How many more volunteers than librarians are there?
- 37.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) show arrival time (d) a dark mode
- 38.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
- 39.🔢 In a food-order flow, which comes first: “pay for the order” or “pick a dish”? (a) pick a dish (b) pay for the order
- 40.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) add money spent (b) pie-chart colours (c) savings stickers (d) export to a file
Answer key
- Battery OK
- 4.16.2
- False
- Hi, Zoya
- False
- line 3
- 3
- 8
- Ask a parent
- False
- a wireframe
- 11
- “Small text is hard”
- sends back a value
- poor design
- a button
- an app
- greater than or equal
- to reuse code
- application
- Edit photo
- 5
- 3
- that tab’s main screen
- True
- line 3
- 40
- No
- players
- yellow on white
- a tab bar
- True
- 65
- 1
- 2
- 15
- show arrival time
- the path through screens
- pick a dish
- add money spent
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students