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.True or false: a racing challenge is a game. (a) True (b) False
-
2.🔀 Which badge does this quiz app show?
let marks = 34;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 3.Which of these is an output? (a) speaking a command (b) sorting the scores (c) working out a tip (d) a pop-up message
- 4.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
-
5.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 11, and 100 for everyone else.
function price(age) {
if (age <= 11) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(15) → expected 100
Test 3: price(9) → expected 50 (a) Test 2 (b) Test 1 (c) Test 3 - 6.🔍 Which is the odd one out? (a) a spelling coach (b) a water reminder (c) a step counter (d) a sleep tracker
- 7.True or false: an app that just says hi solves a real problem. (a) True (b) False
- 8.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
- 9.🔢 When you make an app, which comes first: “test the app” or “build the app”? (a) build the app (b) test the app
- 10.🔢 In a sign-up flow, what comes right after “type name and email”? (a) enter the code sent (b) see the home screen (c) make a password (d) open the app
- 11.True or false: a wireframe has no real colours. (a) False (b) True
- 12.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) updates from the store (d) opens in a web browser
-
13.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 48 px tall
Start button: 40 px tall
Help button: 32 px tall -
14.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 6; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 1 (c) line 3 - 15.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
-
16.💾 What number does this code show?
let songs = ["Rain", "Stars"];
songs.push("Ocean");
show(songs.length); -
17.🗒️ Version 1 of a homework planner must be ready in 15 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 4 days
see tasks by day: 2 days -
18.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(9)); -
19.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Match report”
3. open “Badges”
4. tap Back
How many times must you tap Back to reach the main screen of this tab? - 20.🔢 In a sign-up flow, which comes LAST? (a) enter the code sent (b) see the home screen (c) tap “Sign up” (d) type name and email
- 21.📅 An app team plans for 2 days, builds for 9 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 22.🧰 In function tip(bill), what is bill? (a) an event (b) a screen (c) a loop (d) a parameter
-
23.🔀 What does this battery rule show?
let battery = 30;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 24.🔀 What does if / else let an app do? (a) draw a screen (b) repeat forever (c) pick one of two actions (d) save a photo
- 25.True or false: a website is installed on a phone. (a) True (b) False
- 26.🚀 Which version is newer: 1.3.3 or 1.13.3? (a) 1.13.3 (b) 1.3.3
-
27.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Cancel button: 32 px tall
Help button: 64 px tall
Send button: 36 px tall
Save button: 36 px tall -
28.🔁 What is the LAST line this code shows?
let names = ["Riya", "Meera", "Aman", "Zoya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Arjun (d) Hi, Aman - 29.True or false: notes to read offline fits saving on the phone. (a) True (b) False
- 30.🚀 A privacy policy tells users ___. (a) the app’s price (b) what data is collected (c) the app’s colours (d) the screen size
- 31.True or false: the screen first opens is a timer event. (a) False (b) True
- 32.Which of these app ideas solves no real problem? (a) a bill splitter (b) a free study-room finder (c) a lost-and-found board (d) a button with no action
- 33.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) track the order (b) pay for the order
-
34.🔁 What number does this code show?
let steps = [48, 35, 36, 52, 45];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 50) {
count = count + 1;
}
}
show(count); - 35.👥 A library app has 230 readers, 115 librarians and 155 volunteers as users. How many users does it have in all?
-
36.🚀 Which of these versions is the NEWEST?
1.5.4, 1.16.1, 1.13.5, 0.30.8 (a) 1.5.4 (b) 0.30.8 (c) 1.13.5 (d) 1.16.1 -
37.🗒️ Version 1 of a quiz app must be ready in 13 days. How many days are left for extras after the must-haves?
show a question: 4 days
check the answer: 4 days
show the score: 4 days -
38.🔀 What does this battery rule show?
let battery = 72;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
39.💾 What number does this code show?
let points = 9;
points = points - 6;
points = points + 4;
show(points); -
40.⚙️ What number does this app show?
let price = 15; // typed by the user
let qty = 4; // typed by the user
let total = price * qty;
show(total);
Answer key
- True
- Bronze
- a pop-up message
- helps everyone
- Test 1
- a spelling coach
- False
- False
- build the app
- make a password
- True
- opens in a web browser
- 1
- line 2
- an app
- 3
- 6
- 27
- 1
- see the home screen
- 13
- a parameter
- Battery OK
- pick one of two actions
- False
- 1.13.3
- 1
- Hi, Arjun
- True
- what data is collected
- False
- a button with no action
- pay for the order
- 1
- 500
- 1.16.1
- 1
- Battery OK
- 7
- 60
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students