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 lives = 42; // start at 41
line 2: lives = lives + 5; // add 5
line 3: lives = lives + 6; // add 6
line 4: show(lives); // show it - 2.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) after the must-haves (d) before anything
- 3.🔀 Why plan the user flow before building? (a) to skip testing (b) to add more taps (c) so each step is clear (d) to hide the buttons
- 4.👥 A cricket club app has 25 players, 260 coaches and 165 fans as users. How many more coaches than players are there?
- 5.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
-
6.🔀 What does this PIN rule show?
let pin = "91114";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
7.🔀 Which badge does this quiz app show?
let marks = 56;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold - 8.♿ A screen has 9 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
-
9.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 17 px
Body text: 18 px
Footer: 9 px (a) Body text (b) Menu (c) Footer - 10.🔐 Which permission does a barcode scanner really need? (a) location (b) contacts (c) the microphone (d) the camera
-
11.🔀 What number does this shop app show?
let total = 450;
if (total > 500) {
total = total - 50;
}
show(total); - 12.📱 The word “app” is short for ___. (a) appointment (b) application (c) appetite (d) apparatus
- 13.True or false: a website has a home-screen icon. (a) False (b) True
-
14.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 46; // start at 45
line 2: lives = lives + 5; // add 5
line 3: lives = lives + 2; // add 2
line 4: show(lives); // show it - 15.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
- 16.🔀 What does >= mean? (a) not equal (b) smaller or equal (c) less than (d) greater than or equal
-
17.🔁 What number does this code show?
let marks = [18, 14, 7, 5];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
18.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Arjun")); (a) Hi, name! (b) greet (c) Hi, Arjun! (d) Arjun - 19.🧑 Who is an app really made for? (a) its coder only (b) its icon (c) its users (d) its charger
-
20.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Next
[text box] Phone
[button] Cancel
[slider] Volume -
21.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. open “Friend list”
3. tap Back
Which screen are you on now? (a) Feed (b) Friend list (c) Video (d) Chat -
22.🔀 Which badge does this quiz app show?
let marks = 26;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Silver (c) Bronze -
23.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Score card”
3. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 24.Which of these makes the app harder to use? (a) labels on every icon (b) icons with no labels (c) text that can grow (d) strong colour contrast
- 25.True or false: a final design shows the real fonts. (a) True (b) False
-
26.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Arjun")); (a) Well done, name! (b) Well done, Arjun! (c) Arjun (d) greet -
27.🔁 What number does this code show?
let marks = [14, 9, 14];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
28.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 29.👆 Code that runs when an event happens is called a ___. (a) headline (b) handler (c) header (d) hashtag
- 30.True or false: the settings page is an input. (a) True (b) False
-
31.🧩 How many buttons does this app screen have?
[title] Settings
[button] Save
[text box] Phone
[switch] Show hints
[text box] Age
[text box] City - 32.🔢 In a sign-up flow, what comes right after “open the app”? (a) tap “Sign up” (b) enter the code sent (c) type name and email (d) make a password
- 33.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a free study-room finder (c) a medicine reminder (d) an app that just says hi
-
34.👆 The user taps the button 3 times. What number does the label show now?
let coins = 1;
button.onTap = function () {
coins = coins + 5;
label.text = coins;
}; - 35.Which of these requests asks for too much? (a) map app → location (b) torch → contacts (c) calling app → contacts (d) voice notes → microphone
- 36.True or false: tap to Send is a button. (a) False (b) True
- 37.🧭 Which part of navigation opens a list of pages? (a) a tab bar (b) the back button (c) a menu button
-
38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 68 px tall
Start button: 72 px tall
Done button: 68 px tall
Save button: 32 px tall (a) Done (b) Start (c) Cancel (d) Save -
39.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Kabir (b) Hello, Kabir! (c) Hello! (d) Hello, nameBox.text! - 40.♿ Does this help everyone, or make the app harder to use: icons with no labels? (a) helps everyone (b) makes it harder
Answer key
- 53
- after the must-haves
- so each step is clear
- 235
- a website
- Use 4 digits
- Silver
- 4
- Footer
- the camera
- 450
- application
- False
- 53
- a final design
- greater than or equal
- 18
- Hi, Arjun!
- its users
- 2
- Video
- Bronze
- 2
- icons with no labels
- True
- Well done, Arjun!
- 14
- 2
- handler
- False
- 1
- tap “Sign up”
- an app that just says hi
- 16
- torch → contacts
- True
- a menu button
- Save
- Hello, Kabir!
- makes it harder
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students