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.👥 A cricket club app has 215 players, 45 coaches and 80 fans as users. Which user group is the biggest? (a) coaches (b) fans (c) players
- 2.Which of these makes the app harder to use? (a) big touch targets (b) labels on every icon (c) captions on videos (d) tiny tap areas
- 3.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a bug fix (c) a big redesign (d) a new feature
-
4.🧩 Which of these is a button on this screen?
[title] New Note
[text box] Due date
[button] Send
[text box] Phone
[text box] Email
[button] Done
[switch] Dark mode (a) Email (b) Phone (c) Due date (d) Done - 5.💡 A good app idea starts with ___. (a) a problem to solve (b) many colours (c) a cool logo (d) a long name
- 6.True or false: an app opens from a link. (a) True (b) False
-
7.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Hi, nameBox.text! (b) Meera (c) Hi! (d) Hi, Meera! -
8.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(4)); -
9.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. open “Video”
3. open “Match report”
Which screen are you on now? (a) Match report (b) Lessons (c) Video (d) Quiz -
10.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
11.🔁 What number does this code show?
let marks = [98, 58, 38, 47];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); - 12.🔢 In a quiz-app flow, what comes right after “pick an answer”? (a) see if it is right (b) tap “Start quiz” (c) see the final score (d) read a question
- 13.True or false: a button with no action solves no real problem. (a) True (b) False
-
14.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ title text ]
[ list of items ]
[ tab bar ]
[ menu icon ]
[ Add button ]
[ filter buttons ] (a) list of items (b) menu icon (c) filter buttons (d) tab bar -
15.🗒️ Version 1 of a water reminder must be ready in 9 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 4 days
see today’s total: 4 days - 16.🔍 Which is the odd one out? (a) write down the bugs (b) spot a problem to solve (c) try every button (d) let friends try it
-
17.👆 The user taps the button 6 times. What number does the label show now?
let stars = 10;
button.onTap = function () {
stars = stars + 2;
label.text = stars;
}; -
18.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(6) → expected 50
Test 2: price(9) → expected 100
Test 3: price(13) → expected 100 (a) Test 2 (b) Test 1 (c) Test 3 - 19.🔢 When you make an app, which comes FIRST? (a) release it (b) get an idea (c) plan the screens (d) test the app
- 20.👥 A clinic app has 280 patients, 285 doctors and 200 nurses as users. How many users does it have in all?
-
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 39; // start at 38
line 2: coins = coins * 2; // double it
line 3: coins = coins * 2; // double it
line 4: show(coins); // show it (a) line 1 (b) line 2 (c) line 3 - 22.👆 What kind of event is this: a finger hits Like? (a) a tap event (b) a text event (c) a load event (d) a timer event
- 23.🧪 What is the actual result of a test? (a) what we hope for (b) what the app really does (c) the app’s name (d) the test’s number
-
24.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 46; // start at 46
line 2: lives = lives + 6; // add 3
line 3: lives = lives + 3; // add 3
line 4: lives = lives - 1; // take away 1
line 5: show(lives); // show it - 25.True or false: a date picker is data. (a) False (b) True
- 26.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it is slower (c) it uses more lines (d) it hides them
- 27.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
- 28.True or false: you try every button at the release stage. (a) True (b) False
- 29.🔘 Our rule: buttons are at least 48 px tall. The Send button is 24 px tall. How many px taller must it be?
- 30.True or false: an app has a web address. (a) False (b) True
-
31.🔁 What number does this code show?
let marks = [16, 1, 20];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
32.⚙️ What number does this app show?
let price = 10; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); - 33.🔍 Which is the odd one out? (a) captions on videos (b) strong colour contrast (c) labels on every icon (d) sudden loud sounds
- 34.Which of these requests asks for too much? (a) map app → location (b) voice notes → microphone (c) camera app → camera (d) quiz app → microphone
-
35.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Quiz tab
2. tap the Me tab
3. tap the Lessons tab
4. open “Help page”
5. open “Help page”
How many times must you tap Back to reach the main screen of this tab? -
36.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 41; // start at 41
line 2: stars = stars + 6; // add 4
line 3: stars = stars + 2; // add 2
line 4: show(stars); // show it (a) line 2 (b) line 1 (c) line 3 - 37.🔍 Which is the odd one out? (a) captions on videos (b) labels on every icon (c) strong colour contrast (d) icons with no labels
- 38.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) export to a file (b) pie-chart colours (c) show the balance (d) savings stickers
-
39.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Save
[text box] Age
[button] Next
[button] Back - 40.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) post the photo (b) write a caption (c) take the photo (d) add a filter
Answer key
- players
- tiny tap areas
- a bug fix
- Done
- a problem to solve
- False
- Hi, Meera!
- 12
- Match report
- Ask a parent
- 2
- see if it is right
- True
- menu icon
- 0
- spot a problem to solve
- 22
- Test 2
- get an idea
- 765
- line 1
- a tap event
- what the app really does
- 54
- False
- less code to write
- a user need
- False
- 24
- False
- 37
- 20
- sudden loud sounds
- quiz app → microphone
- 2
- line 2
- icons with no labels
- show the balance
- 1
- take the photo
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students