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.🔐 Is this permission request fair or too much: camera app → camera? (a) too much (b) fair
- 2.💡 Which app idea solves this problem: Grandpa forgets his tablets? (a) a bill splitter (b) a lost-and-found board (c) a homework planner (d) a medicine reminder
- 3.🔐 Which permission does a voice recorder really need? (a) the camera (b) contacts (c) location (d) the microphone
- 4.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) tap “Sign up” (b) make a password
- 5.🔁 list.length tells you ___. (a) the biggest item (b) the last item (c) how many items it has (d) the first item
-
6.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 600 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 600) {
return 0;
}
return 40;
}
Test 1: delivery(700) → expected 0
Test 2: delivery(750) → expected 0
Test 3: delivery(450) → expected 40 - 7.🎯 Which app would help this user most: a teen whose money runs out by Friday? (a) a water reminder (b) a bus tracker (c) a homework planner (d) a pocket-money tracker
- 8.👆 A tap handler runs how many times if the user taps 4 times? (a) 0 (b) 8 (c) 4 (d) 1
- 9.🌗 Is black on pale grey easy or hard to read on a button? (a) easy to read (b) hard to read
- 10.Which of these is true of a final design? (a) has no real colours (b) uses the final pictures (c) is a quick sketch (d) uses plain grey boxes
-
11.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 38; // start at 37
line 2: coins = coins + 5; // add 5
line 3: coins = coins - 1; // take away 1
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it (a) line 1 (b) line 3 (c) line 4 (d) line 2 - 12.Which of these is an input? (a) checking a password (b) a result on screen (c) typing your age (d) sorting the scores
- 13.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
- 14.👥 A school app has 255 students, 250 teachers and 60 parents as users. How many users does it have in all?
-
15.💾 What number does this code show?
let friends = ["Riya", "Kabir"];
friends.push("Aman");
friends.push("Zoya");
show(friends.length); -
16.🔁 What number does this code show?
let marks = [17, 15, 16];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
17.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Pens → Shop
Design B: Home → Cart → Address → Confirm → Offers (a) Design A (b) Design B - 18.Which of these is about UI (the look)? (a) the screen layout (b) how many taps it takes (c) how fast a task is done (d) how users feel after
-
19.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(5) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(2) → expected Try again - 20.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) edge cases (b) easy cases (c) old cases (d) phone cases
-
21.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 33; // start at 33
line 2: coins = coins * 2; // double it
line 3: coins = coins - 5; // take away 5
line 4: coins = coins * 3; // double it
line 5: show(coins); // show it -
22.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
23.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ menu icon ]
[ list of items ]
[ top bar ]
[ filter buttons ] (a) filter buttons (b) top bar (c) list of items -
24.🔀 What does this sign-up rule show?
let age = 17;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
25.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 360; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 2 (b) line 4 (c) line 1 (d) line 3 - 26.🔍 Which is the odd one out? (a) spot a problem to solve (b) talk to possible users (c) write the code (d) list what users need
-
27.🔀 What number does this shop app show?
let total = 280;
if (total > 500) {
total = total - 50;
}
show(total); -
28.💾 What number does this code show?
let friends = ["Aman", "Meera", "Zoya"];
friends.push("Arjun");
friends.push("Kabir");
show(friends.length); -
29.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 47; // start at 47
line 2: coins = coins + 5; // add 5
line 3: coins = coins + 3; // add 3
line 4: coins = coins + 2; // double it
line 5: show(coins); // show it -
30.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ big picture ]
[ menu icon ]
[ search box ]
[ list of items ] - 31.True or false: one second passes is a timer event. (a) False (b) True
- 32.Which of these is true of an app? (a) has a home-screen icon (b) opens in a web browser (c) has a web address (d) needs no installing
- 33.🎯 Is this a user need or a feature: a dark mode switch? (a) a user need (b) a feature
- 34.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
-
35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 45; // start at 43
line 2: coins = coins - 4; // take away 4
line 3: coins = coins + 6; // add 6
line 4: coins = coins + 4; // add 4
line 5: show(coins); // show it (a) line 4 (b) line 2 (c) line 1 (d) line 3 -
36.📊 Survey: which problem bugs you most? How many students voted in all?
missing the bus: 4 votes
losing water bottles: 25 votes
forgetting birthdays: 14 votes -
37.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Aman")); (a) Aman (b) Hello, Aman! (c) greet (d) Hello, name! - 38.True or false: “sudden loud sounds” helps everyone use the app. (a) True (b) False
- 39.Which of these happens at the build stage? (a) write the store text (b) pick the features (c) share the download link (d) write the code
- 40.🎯 What is a user need? (a) a phone setting (b) a problem a user has (c) a type of button (d) a colour theme
Answer key
- fair
- a medicine reminder
- the microphone
- tap “Sign up”
- how many items it has
- 3
- a pocket-money tracker
- 4
- easy to read
- uses the final pictures
- line 1
- typing your age
- fair
- 565
- 4
- 48
- Design A
- the screen layout
- 2
- edge cases
- 183
- Ask a parent
- list of items
- Welcome!
- line 3
- write the code
- 280
- 5
- 57
- 5
- True
- has a home-screen icon
- a feature
- a website
- line 1
- 43
- Hello, Aman!
- False
- write the code
- a problem a user has
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students