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 of these is true of a menu button? (a) undoes one move (b) switches main sections (c) hides extra links (d) sits at the bottom
- 2.🎯 Is this a user need or a feature: a reminder alarm? (a) a user need (b) a feature
- 3.True or false: a result on screen is an output. (a) False (b) True
-
4.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right >= 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(9) → expected Pass
Test 3: result(5) → expected Try again -
5.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 41; // start at 41
line 2: score = score - 3; // take away 2
line 3: score = score + 3; // add 3
line 4: show(score); // show it - 6.📱 Which one is installed on a phone: an app or a website? (a) an app (b) a website
- 7.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a medicine reminder (c) a page of random dots (d) a bill splitter
-
8.⚙️ What number does this app show?
let price = 490; // typed by the user
let off = 30; // typed by the user
let pay = price - off;
show(pay); - 9.🔢 In a food-order flow, which comes LAST? (a) add it to the cart (b) track the order (c) open the menu (d) pick a dish
- 10.♿ Does this help everyone, or make the app harder to use: strong colour contrast? (a) helps everyone (b) makes it harder
- 11.True or false: tap to go Next is a screen. (a) True (b) False
- 12.True or false: the screen layout is about UX (the experience). (a) True (b) False
-
13.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 46; // start at 44
line 2: coins = coins * 2; // double it
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it - 14.Which of these helps everyone use the app? (a) fast-flashing lights (b) strong colour contrast (c) colour as the only clue (d) tiny tap areas
- 15.🔍 Which is the odd one out? (a) tapping a button (b) working out a tip (c) sorting the scores (d) checking a password
-
16.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Arjun", "Riya", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Riya - 17.🔐 Is this permission request fair or too much: calling app → contacts? (a) fair (b) too much
- 18.🔐 Which permission does a speak-to-type notes app really need? (a) location (b) the camera (c) the microphone (d) contacts
- 19.True or false: space between buttons is poor button design. (a) False (b) True
- 20.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a clear next step (c) a random page (d) a dead end
-
21.💾 What number does this code show?
let friends = ["Arjun", "Zoya"];
friends.push("Meera");
friends.push("Riya");
show(friends.length); -
22.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Save
[text box] Due date
[text box] Age
[text box] Email - 23.🎯 A short made-up profile of a typical user is called a ___. (a) password (b) pixel (c) persona (d) protocol
-
24.🧪 One test case fails. Which one?
🚚 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(350) → expected 40
Test 2: delivery(550) → expected 0
Test 3: delivery(400) → expected 0 (a) Test 3 (b) Test 1 (c) Test 2 - 25.True or false: an app that just says hi solves no real problem. (a) False (b) True
- 26.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) pick an answer (b) read a question (c) tap “Start quiz” (d) see the final score
- 27.True or false: a box to type a name is an input. (a) False (b) True
- 28.🔀 Why plan the user flow before building? (a) to hide the buttons (b) so each step is clear (c) to skip testing (d) to add more taps
-
29.⚙️ What number does this app show?
let km = 5; // typed by the user
let metres = km * 1000;
show(metres); -
30.🔁 What number does this code show?
let runs = [93, 26, 30, 79, 92];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 50) {
count = count + 1;
}
}
show(count); - 31.📅 An app team plans for 4 days, builds for 4 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
- 32.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
- 33.🛠️ At which stage do you pick the features? (a) the idea stage (b) the release stage (c) the test stage (d) the plan stage
-
34.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “forgetting birthdays”?
wasting pocket money: 12 votes
forgetting homework: 13 votes
forgetting birthdays: 8 votes - 35.👥 A library app has 20 readers, 85 librarians and 40 volunteers as users. How many more librarians than volunteers are there?
- 36.Which of these happens at the build stage? (a) sketch the screens (b) let friends try it (c) try every button (d) add the buttons
-
37.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 30; // start at 30
line 2: stars = stars + 6; // add 6
line 3: stars = stars + 2; // take away 2
line 4: show(stars); // show it -
38.💾 pop() takes off the last item. What does this code show?
let notes = ["Sports", "Maths", "Hindi", "Art"];
notes.pop();
show(notes[notes.length - 1]); (a) Sports (b) Maths (c) Hindi (d) Art -
39.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right > 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(11) → expected Pass
Test 2: result(9) → expected Pass
Test 3: result(6) → expected Try again - 40.🎯 Which app would help this user most: a student who often misses the school bus? (a) a bus tracker (b) a homework planner (c) a water reminder (d) a big-text reader
Answer key
- hides extra links
- a feature
- True
- 3
- 41
- an app
- a page of random dots
- 460
- track the order
- helps everyone
- False
- False
- 176
- strong colour contrast
- tapping a button
- Hi, Meera
- fair
- the microphone
- False
- a clear next step
- 4
- 1
- persona
- Test 3
- True
- see the final score
- True
- so each step is clear
- 5000
- 3
- 10
- Yes
- the plan stage
- 5
- 45
- add the buttons
- 38
- Hindi
- 3
- a bus tracker
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students