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.🐞 A comment in code (after //) is for ___. (a) the phone screen (b) people reading the code (c) the battery (d) the app store
- 2.🔀 A screen with no way forward or back is called a ___. (a) home screen (b) tab bar (c) shortcut (d) dead end
- 3.✏️ Is this true of a wireframe or of a final design: has the real colours? (a) a wireframe (b) a final design
- 4.🔍 Which is the odd one out? (a) tiny tap areas (b) strong colour contrast (c) big touch targets (d) captions on videos
- 5.👥 A cricket club app has 105 players, 180 coaches and 270 fans as users. How many users does it have in all?
- 6.Which of these is true of an app? (a) opens from a link (b) needs no installing (c) opens in a web browser (d) has a home-screen icon
- 7.Which of these requests is fair? (a) quiz app → microphone (b) timer → your photos (c) voice notes → microphone (d) torch → contacts
-
8.🔁 What number does this code show?
let runs = [1, 1, 20];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 9.Which of these happens at the idea stage? (a) add the buttons (b) talk to possible users (c) write down the bugs (d) sketch the screens
- 10.Which of these app ideas solves a real problem? (a) a lost-and-found board (b) a page of random dots (c) a blank grey screen (d) an app that just says hi
-
11.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 51; // start at 49
line 2: score = score + 6; // add 6
line 3: score = score * 2; // double it
line 4: show(score); // show it - 12.Which of these is a user need? (a) a dark mode switch (b) a reminder alarm (c) a search bar (d) “I keep missing the bus”
-
13.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Item → Search → Pens → Size
Design B: Home → Shop → Cart → Results - 14.Which of these is a screen? (a) the log-in page (b) a box to type a name (c) your high score (d) tap to Start
- 15.True or false: a selfie sticker app needs your location. (a) True (b) False
- 16.💡 Which is a problem statement? (a) “Use blue buttons” (b) “Kids forget homework” (c) “Make it fast” (d) “Add a logo”
-
17.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 500) {
return 0;
}
return 40;
}
Test 1: delivery(300) → expected 40
Test 2: delivery(750) → expected 0
Test 3: delivery(700) → expected 0 - 18.🚀 Your app is at version 4.1.8. The next release adds a new feature. What is its version number? (a) 5.0.0 (b) 4.2.0 (c) 4.1.9 (d) 4.2.8
- 19.Which of these is true of the back button? (a) opens a list of pages (b) sits at the bottom (c) goes to the last screen (d) shows 3 to 5 icons
- 20.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
-
21.🔁 What number does this code show?
let marks = [18, 13, 7];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
22.🧩 Which of these is a button on this screen?
[title] Settings
[text box] Name
[button] Back
[switch] Sound (a) Name (b) Sound (c) Back - 23.🧩 In an app, what is the home page of an app? (a) a screen (b) a button (c) an input (d) data
- 24.🛠️ At which stage do you sketch the screens? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
-
25.🔀 Which badge does this quiz app show?
let marks = 25;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 26.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) is a quick sketch (d) looks like the real app
- 27.Which of these is true of a menu button? (a) sits at the bottom (b) shows 3 to 5 icons (c) hides extra links (d) goes to the last screen
-
28.🔀 What does this PIN rule show?
let pin = "166";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 29.Which colour pair is hard to read? (a) white on black (b) dark blue on white (c) dark blue on black (d) black on yellow
-
30.🔀 Which badge does this quiz app show?
let marks = 58;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver -
31.⚙️ What number does this app show?
let bill = 155; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); -
32.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(1000) → expected 0
Test 2: delivery(950) → expected 0
Test 3: delivery(600) → expected 40 -
33.👆 The user taps the button 4 times. What number does the label show now?
let coins = 1;
button.onTap = function () {
coins = coins + 5;
label.text = coins;
}; - 34.🔢 In a photo-post flow, which comes first: “take the photo” or “post the photo”? (a) post the photo (b) take the photo
-
35.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 500) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(850) → expected 0
Test 3: delivery(350) → expected 40 - 36.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 37.🔢 When you make an app, what comes right after “build the app”? (a) release it (b) plan the screens (c) test the app (d) get an idea
- 38.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a new feature (c) a big redesign (d) a bug fix
- 39.💾 Where should the app save your last game level: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 40.True or false: how users feel after is about UX (the experience). (a) False (b) True
Answer key
- people reading the code
- dead end
- a final design
- tiny tap areas
- 555
- has a home-screen icon
- voice notes → microphone
- 20
- talk to possible users
- a lost-and-found board
- 110
- “I keep missing the bus”
- 1
- the log-in page
- False
- “Kids forget homework”
- 3
- 4.2.0
- goes to the last screen
- easy to read
- 18
- Back
- a screen
- the plan stage
- Bronze
- is a quick sketch
- hides extra links
- Use 4 digits
- dark blue on black
- Silver
- 31
- 0
- 21
- take the photo
- 40
- in the cloud
- test the app
- a bug fix
- on the phone
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students