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.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
-
2.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(11)); - 3.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) add more colours (c) delete the app (d) buy a new phone
- 4.👥 A school app has 140 students, 85 teachers and 240 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
- 5.🧑 Who is an app really made for? (a) its coder only (b) its users (c) its icon (d) its charger
- 6.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) see tasks by day (b) set a due date (c) add a homework task (d) pick a theme colour
- 7.🔢 When you make an app, which comes FIRST? (a) test the app (b) build the app (c) get an idea (d) release it
-
8.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting homework: 15 votes
missing the bus: 3 votes
forgetting birthdays: 23 votes (a) forgetting homework (b) forgetting birthdays (c) missing the bus -
9.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Cancel
[button] Help
[text box] Email
[button] Save
[switch] Sound - 10.📱 Where do people usually download phone apps from? (a) an app store (b) a charger (c) a web server (d) a printer
- 11.🔢 After an app is released, which comes FIRST? (a) test it again (b) fix and improve (c) list what to fix (d) read user reviews
-
12.🧪 What is the ACTUAL result of Test 3?
🚚 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(450) → expected 40
Test 2: delivery(850) → expected 0
Test 3: delivery(900) → expected 0 - 13.♿ What does a screen reader do? (a) plays music (b) reads the screen aloud (c) takes photos (d) makes text tiny
- 14.🗒️ The first small, working version of an app is often called an ___. (a) CPU (b) MVP (c) FAQ (d) URL
- 15.Which of these happens at the test stage? (a) connect the data (b) write the store text (c) write the code (d) try every button
- 16.True or false: the app starts up is a load event. (a) False (b) True
- 17.True or false: a medicine reminder solves a real problem. (a) True (b) False
-
18.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 37; // start at 34
line 2: stars = stars * 2; // double it
line 3: stars = stars + 3; // add 3
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it (a) line 1 (b) line 3 (c) line 4 (d) line 2 - 19.True or false: the home page of an app is an input. (a) True (b) False
- 20.True or false: a final design looks like the real app. (a) False (b) True
- 21.♿ Does this help everyone, or make the app harder to use: fast-flashing lights? (a) helps everyone (b) makes it harder
- 22.🔁 Why use a loop to show 100 messages? (a) it hides them (b) it uses more lines (c) less code to write (d) it is slower
- 23.🎯 Is this a user need or a feature: “What should I cook?”? (a) a user need (b) a feature
-
24.🗒️ Version 1 of a bus tracker must be ready in 9 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 3 days
pick your bus stop: 3 days - 25.🎯 What is the best first step to learn what users need? (a) pick the colours (b) write the code (c) guess on your own (d) ask and watch users
-
26.⚙️ What number does this app show?
let km = 15; // typed by the user
let metres = km * 1000;
show(metres); -
27.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. open “Score card”
3. tap Back
4. tap the Search tab
Which screen are you on now? (a) Score card (b) Search (c) Friend list (d) Home - 28.Which of these is an output? (a) adding up a bill (b) speaking a command (c) taking a photo (d) a result on screen
- 29.🔢 In a quiz-app flow, which comes first: “read a question” or “see if it is right”? (a) read a question (b) see if it is right
-
30.💾 What number does this code show?
let points = 9;
points = points - 1;
points = points + 1;
show(points); -
31.🧩 Which of these is a button on this screen?
[title] New Note
[text box] Notes
[switch] Show hints
[text box] Age
[slider] Brightness
[text box] Name
[button] Done
[button] Start (a) Done (b) Notes (c) Name (d) Age -
32.💾 pop() takes off the last item. What does this code show?
let friends = ["Meera", "Aman", "Riya", "Arjun", "Zoya"];
friends.pop();
show(friends[friends.length - 1]); (a) Arjun (b) Riya (c) Meera (d) Aman - 33.🔘 Is this good or poor button design: strong colour contrast? (a) poor design (b) good design
-
34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 33; // start at 30
line 2: stars = stars * 2; // double it
line 3: stars = stars + 6; // add 6
line 4: show(stars); // show it -
35.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 5)); - 36.True or false: a unit converter is a game. (a) True (b) False
-
37.🧩 How many buttons does this app screen have?
[title] Sign Up
[text box] Name
[button] Help
[button] Start
[switch] Dark mode
[text box] City - 38.✏️ What is a wireframe? (a) a charging cable (b) a type of password (c) a simple screen sketch (d) the finished app
- 39.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
-
40.👆 The user taps the button 6 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF
Answer key
- a parameter
- 22
- find where it goes wrong
- parents
- its users
- pick a theme colour
- get an idea
- forgetting birthdays
- 3
- an app store
- read user reviews
- 0
- reads the screen aloud
- MVP
- try every button
- True
- True
- line 1
- False
- True
- makes it harder
- less code to write
- a user need
- 0
- ask and watch users
- 15000
- Search
- a result on screen
- read a question
- 9
- Done
- Arjun
- good design
- 66
- 300
- False
- 2
- a simple screen sketch
- a user need
- OFF
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students