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.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Hint: 23 px
Body text: 16 px
Caption: 10 px -
2.🔀 Which badge does this quiz app show?
let marks = 99;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 3.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a bug fix (c) a new app (d) a big redesign
- 4.🚀 Your app is at version 2.1.1. The next release fixes a small bug. What is its version number? (a) 2.2.1 (b) 3.0.0 (c) 2.2.0 (d) 2.1.2
- 5.🧪 What is the actual result of a test? (a) the app’s name (b) what we hope for (c) what the app really does (d) the test’s number
- 6.🗂️ What kind of app is a cricket run chase? (a) a game (b) a learning app (c) a health app (d) a tool app
- 7.🔘 Our rule: buttons are at least 48 px tall. The Done button is 28 px tall. How many px taller must it be?
-
8.🔁 What number does this code show?
let runs = [60, 54, 84, 30];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); -
9.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 36; // start at 33
line 2: coins = coins - 4; // take away 4
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it - 10.🧰 In function tip(bill), what is bill? (a) a parameter (b) a loop (c) a screen (d) an event
- 11.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
- 12.👥 A school app has 150 students, 95 teachers and 175 parents as users. How many more students than teachers are there?
- 13.🧭 Which part of navigation shows 3 to 5 icons? (a) a tab bar (b) a menu button (c) the back button
- 14.True or false: the log-in page is a screen. (a) False (b) True
- 15.Which of these fits saving in the cloud? (a) a draft you are typing (b) a class leaderboard (c) your last game level (d) notes to read offline
-
16.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Kabir")); (a) Hi, name! (b) Kabir (c) greet (d) Hi, Kabir! - 17.🛠️ At which stage do you write the store text? (a) the build stage (b) the release stage (c) the test stage (d) the idea stage
- 18.💾 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
- 19.🔢 In a food-order flow, what comes right after “open the menu”? (a) check the cart (b) pick a dish (c) add it to the cart (d) pay for the order
-
20.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 700 or more; otherwise it costs 40.
function delivery(total) {
if (total > 700) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(650) → expected 40
Test 3: delivery(750) → expected 0 (a) Test 3 (b) Test 1 (c) Test 2 - 21.👥 A clinic app has 60 patients, 90 doctors and 200 nurses as users. How many more doctors than patients are there?
-
22.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
add a homework task: 2 days
set a due date: 3 days
see tasks by day: 5 days - 23.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a wireframe (b) a final design
- 24.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
- 25.♿ A screen has 7 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
- 26.True or false: the sound on/off setting fits saving in the cloud. (a) True (b) False
- 27.🛠️ At which stage do you let friends try it? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
- 28.Which of these is true of a website? (a) has a web address (b) is installed on a phone (c) updates from the store (d) comes from an app store
- 29.📅 An app team plans for 2 days, builds for 11 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
-
30.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Hi! (b) Meera (c) Hi, Meera! (d) Hi, nameBox.text! - 31.Which of these app ideas solves no real problem? (a) an app that just says hi (b) a medicine reminder (c) a bill splitter (d) a library due-date alert
- 32.🗂️ What kind of app is a unit converter? (a) a learning app (b) a tool app (c) a health app (d) a game
-
33.👆 The user taps the button 6 times. What number does the label show now?
let score = 1;
button.onTap = function () {
score = score + 2;
label.text = score;
}; - 34.🔢 In a photo-post flow, which comes LAST? (a) post the photo (b) write a caption (c) add a filter (d) take the photo
- 35.📅 An app team plans for 4 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
- 36.True or false: a unit converter is a game. (a) True (b) False
- 37.♿ Showing right or wrong only in red and green is a problem for ___. (a) fast typists (b) the battery (c) colour-blind users (d) the server
- 38.👥 A clinic app has 110 patients, 270 doctors and 250 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
- 39.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it uses more lines (c) it is slower (d) it hides them
-
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 45; // start at 42
line 2: stars = stars * 2; // double it
line 3: stars = stars - 3; // take away 3
line 4: show(stars); // show it (a) line 2 (b) line 1 (c) line 3
Answer key
- 1
- Gold
- a bug fix
- 2.1.2
- what the app really does
- a game
- 20
- 3
- 64
- a parameter
- Yes
- 55
- a tab bar
- True
- a class leaderboard
- Hi, Kabir!
- the release stage
- on the phone
- pick a dish
- Test 1
- 30
- 1
- a final design
- an app
- 3
- False
- the test stage
- has a web address
- 17
- Hi, Meera!
- an app that just says hi
- a tool app
- 13
- post the photo
- 10
- False
- colour-blind users
- doctors
- less code to write
- line 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students