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 a button on this screen?
[title] Order Snacks
[button] Next
[text box] Name
[switch] Sound
[text box] Notes
[slider] Volume
[text box] Due date
[button] Cancel (a) Notes (b) Name (c) Due date (d) Next - 2.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) add a filter (b) write a caption (c) take the photo (d) post the photo
-
3.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 25; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 1 (c) line 2 (d) line 4 - 4.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
-
5.🔀 What does this battery rule show?
let battery = 82;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 6.💡 A good app idea starts with ___. (a) many colours (b) a problem to solve (c) a cool logo (d) a long name
- 7.🔍 Which is the odd one out? (a) how easy sign-up is (b) how fast a task is done (c) whether users get lost (d) the button colours
-
8.🧪 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(650) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(350) → expected 40 (a) Test 1 (b) Test 3 (c) Test 2 -
9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap the Lessons tab
3. tap the Quiz tab
4. tap the Quiz tab
5. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 10.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
- 11.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) the battery (d) people reading the code
-
12.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(5)); -
13.🔀 What does this battery rule show?
let battery = 53;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 14.⚙️ In an app, is taking a photo an input, processing or an output? (a) processing (b) output (c) input
- 15.Which of these app ideas solves no real problem? (a) a lost-and-found board (b) a bill splitter (c) a button with no action (d) a library due-date alert
-
16.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Meera", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Meera (c) Hi, Riya - 17.📅 An app team plans for 2 days, builds for 4 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
- 18.♿ Why add captions to videos? (a) to add colour (b) so anyone can follow (c) to hide the sound (d) to slow them down
-
19.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Settings
[text box] Due date
[text box] Name
[button] Cancel
[text box] Phone
[button] Save - 20.♿ A screen has 5 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
- 21.👆 An event in an app is ___. (a) an app store (b) a kind of list (c) a colour theme (d) something that happens
-
22.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 20 votes
losing water bottles: 4 votes
wasting pocket money: 8 votes (a) wasting pocket money (b) losing water bottles (c) no quiet study place - 23.🧩 Scores, notes and settings that an app keeps are called ___. (a) tabs (b) data (c) screens (d) buttons
-
24.👆 The user taps the button 2 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) OFF (b) ON -
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap the Home tab
3. open “Score card”
Which screen are you on now? (a) Search (b) Home (c) Badges (d) Score card -
26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Badges”
2. tap the Quiz tab
3. open “Video”
Which screen are you on now? (a) Badges (b) Quiz (c) Video (d) Lessons - 27.🧩 In an app, what is tap to Save? (a) a button (b) a screen (c) data (d) an input
- 28.🎯 A short made-up profile of a typical user is called a ___. (a) protocol (b) persona (c) pixel (d) password
-
29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Friend list”
3. tap the Me tab
4. tap the Me tab
5. open “Match report”
How many times must you tap Back to reach the main screen of this tab? - 30.Which of these fits saving in the cloud? (a) chat messages to friends (b) your last game level (c) the sound on/off setting (d) a draft you are typing
- 31.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) show the score (c) background music (d) an avatar shop
-
32.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 19 votes
wasting pocket money: 16 votes
forgetting homework: 6 votes (a) wasting pocket money (b) no quiet study place (c) forgetting homework - 33.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
- 34.👆 What kind of event is this: the user taps Play? (a) a text event (b) a timer event (c) a load event (d) a tap event
-
35.🔁 What number does this code show?
let marks = [75, 93, 31, 40, 71];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); -
36.👆 The user taps the button 2 times. What number does the label show now?
let score = 3;
button.onTap = function () {
score = score + 1;
label.text = score;
}; -
37.🔀 What number does this shop app show?
let total = 640;
if (total > 500) {
total = total - 50;
}
show(total); -
38.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Meera", "Riya", "Aman", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Zoya (c) Hi, Riya (d) Hi, Kabir - 39.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) earn stickers (c) see tasks by day (d) set a due date
-
40.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Save button ]
[ filter buttons ]
[ list of items ]
[ Add button ]
[ menu icon ] (a) menu icon (b) filter buttons (c) list of items (d) Save button
Answer key
- Next
- take the photo
- line 3
- UX
- Battery OK
- a problem to solve
- the button colours
- Test 2
- 1
- helps everyone
- people reading the code
- 70
- Battery OK
- input
- a button with no action
- Hi, Riya
- 9
- so anyone can follow
- 3
- 1
- something that happens
- no quiet study place
- data
- OFF
- Score card
- Video
- a button
- persona
- 1
- chat messages to friends
- show the score
- no quiet study place
- UI
- a tap event
- 4
- 5
- 590
- Hi, Kabir
- earn stickers
- menu icon
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students