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.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) earn stickers (c) add a homework task (d) pick a theme colour
-
2.👆 The user taps the button 6 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 2) {
likes = likes + 1;
}
label.text = likes;
}; - 3.🚀 A privacy policy tells users ___. (a) the app’s price (b) the screen size (c) the app’s colours (d) what data is collected
- 4.True or false: a wireframe uses the final pictures. (a) True (b) False
-
5.🔀 What does this sign-up rule show?
let age = 9;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 6.🧪 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
- 7.True or false: whether users get lost is about UX (the experience). (a) False (b) True
- 8.Which of these is a button? (a) tap to go Next (b) today’s step count (c) a date picker (d) the home page of an app
- 9.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
- 10.True or false: the user presses Save is a text event. (a) True (b) False
- 11.📱 Where do people usually download phone apps from? (a) a web server (b) a printer (c) a charger (d) an app store
- 12.Which of these is true of an app? (a) comes from an app store (b) opens from a link (c) has a web address (d) needs no installing
- 13.🔢 After an app is released, which comes first: “list what to fix” or “fix and improve”? (a) fix and improve (b) list what to fix
-
14.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Item
Design B: Home → Cart → Menu → Search → Size - 15.🔁 list.length tells you ___. (a) how many items it has (b) the biggest item (c) the first item (d) the last item
-
16.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(12)); - 17.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
- 18.True or false: the app starts up is a text event. (a) True (b) False
- 19.🔢 In a food-order flow, which comes first: “track the order” or “check the cart”? (a) track the order (b) check the cart
-
20.🧪 One test case fails. Which one?
📝 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(7) → expected Pass
Test 2: result(5) → expected Pass
Test 3: result(2) → expected Try again (a) Test 3 (b) Test 1 (c) Test 2 - 21.Which of these is a user need? (a) “What should I cook?” (b) a dark mode switch (c) a reminder alarm (d) a search bar
-
22.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(28)); -
23.🔁 What is the LAST line this code shows?
let names = ["Aman", "Riya", "Kabir", "Meera", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Aman (c) Hi, Riya (d) Hi, Kabir - 24.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 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 code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(1)); -
27.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap Back
3. open “Video”
4. tap the Profile tab
5. open “Video”
Which screen are you on now? (a) Match report (b) Video (c) Search (d) Home - 28.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
-
29.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 13; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 2 (b) line 1 (c) line 3 - 30.🧩 What do we call one full page of an app? (a) a screen (b) a battery (c) a cable (d) a variable
-
31.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 40 px tall
Start button: 32 px tall
Done button: 64 px tall
Back button: 64 px tall - 32.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) read a question (b) see the final score (c) see if it is right (d) tap “Start quiz”
-
33.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting homework: 23 votes
missing the bus: 8 votes
forgetting birthdays: 3 votes -
34.💾 What number does this code show?
let score = 5;
score = score - 1;
score = score + 3;
show(score); - 35.👆 What kind of event is this: a 5-minute alarm ends? (a) a tap event (b) a load event (c) a timer event (d) a text event
- 36.📱 Which one has a web address: an app or a website? (a) an app (b) a website
- 37.Which of these is a user need? (a) a share button (b) “Small text is hard” (c) a reminder alarm (d) a dark mode switch
-
38.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Kabir")); (a) greet (b) Kabir (c) Hello, Kabir! (d) Hello, name! -
39.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(45, 2)); - 40.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
Answer key
- add a homework task
- 2
- what data is collected
- False
- Ask a parent
- what the app really does
- True
- tap to go Next
- UX
- False
- an app store
- comes from an app store
- list what to fix
- 2
- how many items it has
- 36
- a user need
- False
- check the cart
- Test 2
- “What should I cook?”
- 56
- Hi, Zoya
- a wireframe
- ask and watch users
- 60
- Video
- greater than or equal
- line 2
- a screen
- 2
- see if it is right
- 34
- 7
- a timer event
- a website
- “Small text is hard”
- Hello, Kabir!
- 90
- True
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students