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.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 2.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
- 3.Which of these makes the app harder to use? (a) labels on every icon (b) text that can grow (c) colour as the only clue (d) strong colour contrast
- 4.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) before anything (d) after the must-haves
-
5.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 34; // start at 34
line 2: stars = stars * 2; // double it
line 3: stars = stars + 5; // add 5
line 4: stars = stars + 7; // add 5
line 5: show(stars); // show it - 6.True or false: a website opens in a web browser. (a) False (b) True
- 7.🔐 Is this permission request fair or too much: quiz app → microphone? (a) too much (b) fair
-
8.👆 The user types Zoya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Zoya (b) Hello! (c) Hello, Zoya! (d) Hello, nameBox.text! -
9.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(24)); - 10.Which of these happens at the build stage? (a) list what users need (b) try every button (c) connect the data (d) spot a problem to solve
- 11.True or false: notes to read offline fits saving in the cloud. (a) True (b) False
- 12.👆 “On tap → do this” links an event to ___. (a) a font (b) an action (c) a charger (d) a web address
-
13.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 36 px tall
Start button: 64 px tall
Next button: 60 px tall
Done button: 52 px tall - 14.♿ What should every icon-only button have for screen readers? (a) a text label (b) a sound (c) a long animation (d) a bright colour
-
15.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 16.True or false: you talk to possible users at the release stage. (a) False (b) True
-
17.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Arjun", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Kabir (c) Hi, Arjun -
18.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 6)); - 19.True or false: icons with no meaning is good button design. (a) True (b) False
-
20.💾 What number does this code show?
let notes = ["Science", "Sports", "Maths", "Art"];
notes.push("Music");
notes.push("Hindi");
show(notes.length); - 21.✏️ Why draw a wireframe before coding? (a) it adds colours (b) changes are quick (c) it saves data (d) it runs the app
-
22.🧪 How many of these test cases pass?
🚚 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(500) → expected 40
Test 2: delivery(900) → expected 0
Test 3: delivery(850) → expected 0 -
23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 21 px
Footer: 14 px
Menu: 18 px - 24.True or false: tap to Start is a button. (a) True (b) False
- 25.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Make it fast” (c) “Add a logo” (d) “Kids forget homework”
- 26.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a medicine reminder (b) a bill splitter (c) a study-room finder (d) a lost-and-found board
-
27.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 42; // start at 40
line 2: stars = stars - 4; // take away 4
line 3: stars = stars + 4; // add 4
line 4: show(stars); // show it - 28.Which of these is data? (a) tap to Send (b) a box to type a name (c) today’s step count (d) the home page of an app
- 29.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show a question (c) background music (d) an avatar shop
- 30.🎯 Why learn about users before you build? (a) to make it longer (b) to build what they need (c) to slow it down (d) to pick a logo
- 31.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) a tab bar (c) the back button
- 32.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) buy a new phone (c) find where it goes wrong (d) delete the app
- 33.👥 A cricket club app has 150 players, 285 coaches and 145 fans as users. How many more players than fans are there?
- 34.👥 A school app has 245 students, 40 teachers and 20 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
-
35.🔀 What does this PIN rule show?
let pin = "44190";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 36.🧰 What is a function? (a) a type of phone (b) a screen size (c) a list of colours (d) a named block of code
- 37.💾 Where should the app save the sound on/off setting: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 38.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 1, 2, 3 (c) 3 (d) 0, 1, 2
- 39.True or false: the user taps Play is a tap event. (a) False (b) True
- 40.🚀 Which version is newer: 1.4.16 or 1.4.3? (a) 1.4.16 (b) 1.4.3
Answer key
- on the phone
- No
- colour as the only clue
- after the must-haves
- 80
- True
- too much
- Hello, Zoya!
- 72
- connect the data
- False
- an action
- 3
- a text label
- 2
- False
- Hi, Aman
- 360
- False
- 6
- changes are quick
- 3
- 1
- True
- “Kids forget homework”
- a lost-and-found board
- 42
- today’s step count
- show a question
- to build what they need
- a tab bar
- find where it goes wrong
- 5
- students
- Use 4 digits
- a named block of code
- on the phone
- 0, 1, 2
- True
- 1.4.16
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students