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.🔍 Which is the odd one out? (a) fast-flashing lights (b) icons with no labels (c) text that can grow (d) sudden loud sounds
- 2.♿ A screen has 5 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
- 3.🚀 Which version is newer: 3.2.4 or 3.2.17? (a) 3.2.4 (b) 3.2.17
-
4.🧪 How many of these test cases pass?
🚚 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(700) → expected 40
Test 3: delivery(800) → expected 0 -
5.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 6.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) see if it is right (c) see the final score (d) tap “Start quiz”
-
7.🔀 What does this battery rule show?
let battery = 88;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 8.Which of these is an output? (a) working out a tip (b) checking a password (c) a result on screen (d) speaking a command
- 9.🚀 Which version is newer: 1.4.1 or 1.11.2? (a) 1.4.1 (b) 1.11.2
-
10.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 1 days
see today’s total: 2 days - 11.🚀 Your app is at version 1.7.7. The next release adds a new feature. What is its version number? (a) 1.7.8 (b) 2.0.0 (c) 1.8.7 (d) 1.8.0
-
12.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Arjun (b) Hi, Arjun! (c) Hi, nameBox.text! (d) Hi! - 13.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
- 14.🔍 Which is the odd one out? (a) list what users need (b) sketch the screens (c) spot a problem to solve (d) talk to possible users
- 15.True or false: you sketch the screens at the plan stage. (a) False (b) True
- 16.Which of these is a screen? (a) today’s step count (b) a slider for volume (c) the log-in page (d) a date picker
-
17.💾 What number does this code show?
let coins = 5;
coins = coins - 1;
coins = coins + 5;
show(coins); - 18.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) expected result (d) app icon
- 19.Which of these is an output? (a) a buzz (vibration) (b) adding up a bill (c) tapping a button (d) typing your age
- 20.🗂️ What kind of app is a calculator? (a) a tool app (b) a game (c) a health app (d) a learning app
- 21.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
- 22.Which of these is a feature? (a) a dark mode switch (b) “What should I cook?” (c) “Small text is hard” (d) “I forget my homework”
-
23.🗒️ Version 1 of a water reminder must be ready in 11 days. How many days are left for extras after the must-haves?
set a reminder time: 2 days
log a glass of water: 1 days
see today’s total: 2 days - 24.💡 A good app idea starts with ___. (a) a long name (b) many colours (c) a problem to solve (d) a cool logo
-
25.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(12)); - 26.Which of these is a feature? (a) a reminder alarm (b) “I forget my homework” (c) “I keep missing the bus” (d) “What should I cook?”
-
27.🔀 Which badge does this quiz app show?
let marks = 28;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 28.💾 What is a variable? (a) a picture (b) a type of screen (c) a phone setting (d) a named box for a value
- 29.📲 What happens when you tap an app’s icon? (a) the app is deleted (b) the phone charges (c) the sound turns off (d) the app opens
- 30.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) see the home screen (b) enter the code sent (c) type name and email (d) make a password
-
31.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 248; // typed by the user
line 2: let friends = 4; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 2 (c) line 1 (d) line 3 - 32.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
- 33.🔢 After an app is released, which comes FIRST? (a) read user reviews (b) list what to fix (c) release an update (d) fix and improve
- 34.🔘 Our rule: buttons are at least 48 px tall. The Back button is 20 px tall. How many px taller must it be?
-
35.🔁 What number does this code show?
let marks = [8, 4, 1];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
36.🔀 What does this battery rule show?
let battery = 27;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
37.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 2 days
show arrival time: 4 days
pick your bus stop: 4 days - 38.True or false: “sudden loud sounds” makes the app harder to use. (a) False (b) True
- 39.💡 Which app idea solves this problem: the library is always full? (a) a bill splitter (b) a study-room finder (c) a lost-and-found board (d) a medicine reminder
- 40.True or false: grey text on grey is good button design. (a) False (b) True
Answer key
- text that can grow
- 2
- 3.2.17
- 2
- 4
- see the final score
- Battery OK
- a result on screen
- 1.11.2
- 5
- 1.8.0
- Hi, Arjun!
- one the app cannot skip
- sketch the screens
- True
- the log-in page
- 9
- expected result
- a buzz (vibration)
- a tool app
- to reuse code
- a dark mode switch
- 6
- a problem to solve
- 24
- a reminder alarm
- Bronze
- a named box for a value
- the app opens
- type name and email
- line 3
- too much
- read user reviews
- 28
- 13
- Battery OK
- 2
- True
- a study-room finder
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students