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.True or false: how users feel after is about UI (the look). (a) False (b) True
-
2.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Zoya", "Aman", "Riya", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Aman (d) Hi, Meera - 3.🔀 What is a user flow? (a) a colour theme (b) the path through screens (c) a charging cable (d) a type of font
- 4.Which of these is processing? (a) a beep sound (b) working out a tip (c) a result on screen (d) typing your age
- 5.True or false: you let friends try it at the release stage. (a) True (b) False
- 6.🔢 When you make an app, what comes right after “test the app”? (a) plan the screens (b) get an idea (c) build the app (d) release it
-
7.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. tap Back
3. tap the Feed tab
4. tap the Feed tab
Which screen are you on now? (a) Feed (b) Chat (c) Settings (d) Friend list -
8.🔀 Which badge does this quiz app show?
let marks = 21;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver -
9.🔁 What number does this code show?
let scores = [17, 17, 4];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 10.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “see the home screen”? (a) see the home screen (b) tap “Sign up”
- 11.🔢 In a photo-post flow, which comes first: “open the camera screen” or “post the photo”? (a) post the photo (b) open the camera screen
- 12.🐞 What is a good first step when an app gives a wrong result? (a) add more colours (b) delete the app (c) find where it goes wrong (d) buy a new phone
- 13.🔍 Which is the odd one out? (a) a buzz (vibration) (b) a result on screen (c) a beep sound (d) adding up a bill
- 14.True or false: a pocket-money tracker is the best fit for a runner who forgets to sip water. (a) True (b) False
-
15.🔁 What number does this code show?
let scores = [18, 4, 3, 14, 20];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 16.🧪 Who else should try an app before release? (a) the app icon (b) only the coder (c) real users (d) nobody
- 17.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) earn stickers (b) share tasks to friends (c) pick a theme colour (d) see tasks by day
-
18.🖼️ In this wireframe (top to bottom), what is right below the tab bar?
[ tab bar ]
[ title text ]
[ menu icon ]
[ Add button ]
[ top bar ] (a) title text (b) menu icon (c) Add button (d) top bar -
19.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(10) → expected 100
Test 3: price(7) → expected 50 (a) Test 2 (b) Test 3 (c) Test 1 - 20.👆 What kind of event is this: one second passes? (a) a timer event (b) a text event (c) a tap event (d) a load event
- 21.🚀 Your app is at version 1.1.1. The next release fixes a small bug. What is its version number? (a) 1.1.2 (b) 1.2.0 (c) 1.2.1 (d) 2.0.0
- 22.Which of these is a screen? (a) the settings page (b) a slider for volume (c) a date picker (d) your friends list
-
23.👆 The user taps the button 7 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
24.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 5 votes
missing the bus: 24 votes
wasting pocket money: 9 votes (a) missing the bus (b) wasting pocket money (c) no quiet study place - 25.🗒️ What is a must-have feature? (a) a sound effect (b) one the app cannot skip (c) a nice extra (d) a colour theme
-
26.🔀 What does this battery rule show?
let battery = 41;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
27.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(10) → expected 50
Test 3: price(16) → expected 100 -
28.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 240; // typed by the user
line 2: let off = 20; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 1 (b) line 2 (c) line 4 (d) line 3 -
29.🔁 What number does this code show?
let steps = [7, 2, 15, 12, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 30.🚀 What should an app ask for only when it really needs it? (a) its icon (b) its name (c) a font (d) a permission
-
31.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Help page”
2. tap Back
3. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
32.🔁 What number does this code show?
let scores = [17, 9, 9, 2, 15];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 33.✏️ A box with a cross in a wireframe usually means ___. (a) an error (b) a closed app (c) a picture goes here (d) delete this
- 34.🧰 What is a function? (a) a screen size (b) a type of phone (c) a list of colours (d) a named block of code
- 35.🔍 Which is the odd one out? (a) speaking a command (b) taking a photo (c) typing your age (d) a buzz (vibration)
- 36.🎨 Is this about UI or UX: whether users get lost? (a) UX (b) UI
-
37.🧩 How many buttons does this app screen have?
[title] New Note
[button] Send
[slider] Volume
[text box] Subject
[text box] Phone - 38.🧭 Which part of navigation hides extra links? (a) a tab bar (b) a menu button (c) the back button
-
39.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age < 8) {
return 50;
}
return 100;
}
Test 1: price(11) → expected 100
Test 2: price(6) → expected 50
Test 3: price(8) → expected 100 - 40.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to learn from users soon (d) to confuse users
Answer key
- False
- Hi, Meera
- the path through screens
- working out a tip
- False
- release it
- Feed
- Bronze
- 38
- tap “Sign up”
- open the camera screen
- find where it goes wrong
- adding up a bill
- False
- 59
- real users
- see tasks by day
- title text
- Test 1
- a timer event
- 1.1.2
- the settings page
- 5
- missing the bus
- one the app cannot skip
- Battery OK
- 3
- line 3
- 38
- a permission
- 1
- 17
- a picture goes here
- a named block of code
- a buzz (vibration)
- UX
- 1
- a menu button
- 3
- to learn from users soon
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students