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 recipe finder is the best fit for a teen learning to make snacks. (a) True (b) False
- 2.🧪 What is the actual result of a test? (a) the test’s number (b) what we hope for (c) what the app really does (d) the app’s name
- 3.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
- 4.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a homework planner (b) a big-text reader (c) a pocket-money tracker (d) a water reminder
-
5.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Arjun")); (a) Arjun (b) Welcome, Arjun! (c) Welcome, name! (d) greet - 6.True or false: today’s step count is a button. (a) True (b) False
- 7.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
-
8.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(600) → expected 0
Test 2: delivery(300) → expected 0
Test 3: delivery(150) → expected 40 (a) Test 1 (b) Test 2 (c) Test 3 - 9.💡 Does an app idea like a blank grey screen solve a real problem? (a) Yes (b) No
-
10.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Cancel
[text box] Subject
[text box] Email
[button] Done
[text box] Notes -
11.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(750) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(700) → expected 0 -
12.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(4) → expected 50
Test 2: price(8) → expected 100
Test 3: price(9) → expected 100 -
13.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(4) → expected Try again
Test 3: result(11) → expected Pass -
14.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] Due date
[button] Cancel
[text box] Name
[text box] City
[slider] Brightness -
15.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(4) → expected Try again (a) Test 3 (b) Test 2 (c) Test 1 -
16.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 2 days
see today’s total: 3 days - 17.📱 Where do people usually download phone apps from? (a) a charger (b) a web server (c) an app store (d) a printer
- 18.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 20 px tall. How many px taller must it be?
- 19.True or false: an app is installed on a phone. (a) True (b) False
- 20.Which of these is a screen? (a) your high score (b) your friends list (c) tap to Start (d) the home page of an app
- 21.💾 Data saved only on the phone is lost when ___. (a) the phone is lost (b) the app is closed (c) the screen turns off (d) you send a message
- 22.👥 A cricket club app has 25 players, 240 coaches and 40 fans as users. How many more fans than players are there?
- 23.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a screen (d) a loop
- 24.🔍 Which is the odd one out? (a) speaking a command (b) sorting the scores (c) adding up a bill (d) working out a tip
-
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. open “Edit photo”
3. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 26.🚀 Which version is newer: 1.4.0 or 1.14.2? (a) 1.4.0 (b) 1.14.2
- 27.Which colour pair is easy to read? (a) yellow on white (b) pale pink on white (c) light grey on white (d) black on pale grey
-
28.🔀 What number does this shop app show?
let total = 330;
if (total > 500) {
total = total - 50;
}
show(total); - 29.🔀 What is a user flow? (a) a charging cable (b) the path through screens (c) a type of font (d) a colour theme
- 30.🧰 What is a function? (a) a named block of code (b) a type of phone (c) a screen size (d) a list of colours
- 31.True or false: a button with no action solves a real problem. (a) False (b) True
- 32.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
- 33.Which colour pair is hard to read? (a) yellow on white (b) white on black (c) black on pale grey (d) white on dark green
- 34.🔢 In a sign-up flow, what comes right after “type name and email”? (a) make a password (b) see the home screen (c) enter the code sent (d) open the app
- 35.🧰 Why write a function? (a) to make code longer (b) to slow the app (c) to reuse code (d) to hide errors
- 36.👥 A library app has 200 readers, 300 librarians and 165 volunteers as users. How many more librarians than readers are there?
- 37.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) text that can grow (d) strong colour contrast
- 38.🗒️ When should nice-to-have features be built? (a) before anything (b) after the must-haves (c) on day one (d) never
-
39.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Age
[button] Cancel
[text box] Notes -
40.⚙️ What number does this app show?
let bill = 128; // typed by the user
let friends = 4; // typed by the user
let share = bill / friends;
show(share);
Answer key
- True
- what the app really does
- No
- a water reminder
- Welcome, Arjun!
- False
- an app
- Test 2
- No
- 2
- 0
- 50
- 3
- 1
- Test 2
- 1
- an app store
- 28
- True
- the home page of an app
- the phone is lost
- 15
- a parameter
- speaking a command
- 3
- 1.14.2
- black on pale grey
- 330
- the path through screens
- a named block of code
- False
- helps everyone
- yellow on white
- make a password
- to reuse code
- 100
- tiny tap areas
- after the must-haves
- 1
- 32
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students