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.🔢 When you make an app, which comes first: “get an idea” or “release it”? (a) release it (b) get an idea
- 2.💡 After a survey, which need should version 1 solve? (a) a random need (b) the most common need (c) the newest trend (d) the rarest need
-
3.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(0)); -
4.💾 What number does this code show?
let friends = ["Riya", "Aman", "Zoya"];
friends.push("Kabir");
show(friends.length); - 5.🎨 Is this about UI or UX: how users feel after? (a) UX (b) UI
-
6.🔀 What does this battery rule show?
let battery = 5;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
7.🔁 What number does this code show?
let marks = [11, 16, 17, 19, 6];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
8.🖼️ How many parts (boxes) does this wireframe have?
[ list of items ]
[ tab bar ]
[ title text ]
[ top bar ]
[ Add button ] - 9.👆 An event in an app is ___. (a) a kind of list (b) an app store (c) a colour theme (d) something that happens
- 10.♿ A screen has 5 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
- 11.🔢 After an app is released, which comes FIRST? (a) test it again (b) release an update (c) read user reviews (d) list what to fix
-
12.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 13.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
- 14.True or false: a website is installed on a phone. (a) False (b) True
- 15.Which of these helps everyone use the app? (a) sudden loud sounds (b) fast-flashing lights (c) colour as the only clue (d) captions on videos
- 16.Which of these is an input? (a) a switch for dark mode (b) tap to Save (c) tap to go Next (d) tap to Send
- 17.True or false: tap to Start is a button. (a) True (b) False
- 18.👆 What kind of event is this: the app starts up? (a) a tap event (b) a timer event (c) a load event (d) a text event
-
19.🔀 What number does this shop app show?
let total = 580;
if (total > 500) {
total = total - 50;
}
show(total); -
20.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 800) {
return 0;
}
return 40;
}
Test 1: delivery(800) → expected 0
Test 2: delivery(700) → expected 40
Test 3: delivery(850) → expected 0 -
21.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Riya")); (a) greet (b) Hello, Riya! (c) Riya (d) Hello, name! - 22.🐞 Finding and fixing bugs is called ___. (a) designing (b) downloading (c) debugging (d) decorating
-
23.🖼️ How many parts (boxes) does this wireframe have?
[ title text ]
[ Save button ]
[ big picture ]
[ filter buttons ]
[ Add button ] -
24.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] City
[button] Next
[text box] Due date
[button] Cancel
[text box] Phone - 25.👆 What kind of event is this: a countdown hits zero? (a) a text event (b) a tap event (c) a load event (d) a timer event
- 26.👆 “On tap → do this” links an event to ___. (a) a font (b) a charger (c) an action (d) a web address
-
27.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Arjun (b) Welcome, nameBox.text! (c) Welcome! (d) Welcome, Arjun! -
28.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(3) + points(1)); - 29.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) a dark mode (c) show arrival time (d) change the bus icon
- 30.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) the battery (d) people reading the code
-
31.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
32.💾 What number does this code show?
let score = 9;
score = score - 5;
score = score + 3;
show(score); - 33.🎯 Which app would help this user most: a student who often misses the school bus? (a) a pocket-money tracker (b) a bus tracker (c) a water reminder (d) a homework planner
-
34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 60 px tall
Next button: 44 px tall
Start button: 32 px tall
Help button: 56 px tall -
35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. tap the Me tab
3. open “Badges”
Which screen are you on now? (a) Video (b) Quiz (c) Badges (d) Lessons - 36.🎯 Which app would help this user most: a teen learning to make snacks? (a) a pocket-money tracker (b) a water reminder (c) a big-text reader (d) a recipe finder
- 37.True or false: a medicine reminder solves a real problem. (a) True (b) False
-
38.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 39.True or false: chat messages to friends fits saving on the phone. (a) True (b) False
- 40.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 44 px tall. How many px taller must it be?
Answer key
- get an idea
- the most common need
- 40
- 4
- UX
- Low battery
- 69
- 5
- something that happens
- 2
- read user reviews
- 4
- a named block of code
- False
- captions on videos
- a switch for dark mode
- True
- a load event
- 530
- 3
- Hello, Riya!
- debugging
- 5
- 2
- a timer event
- an action
- Welcome, Arjun!
- 50
- show arrival time
- people reading the code
- Ask a parent
- 7
- a bus tracker
- 2
- Badges
- a recipe finder
- True
- Welcome!
- False
- 4
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students