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: a homework planner is the best fit for a child saving up for a cycle. (a) False (b) True
-
2.🔀 What does this battery rule show?
let battery = 49;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 3.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) a dark mode (b) show arrival time (c) change the bus icon (d) rate the driver
- 4.🔢 In a photo-post flow, what comes right after “take the photo”? (a) add a filter (b) post the photo (c) write a caption (d) open the camera screen
-
5.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
6.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 50
Test 2: price(17) → expected 100
Test 3: price(15) → expected 100 - 7.True or false: a big-text reader is the best fit for a gamer who forgets to drink. (a) True (b) False
-
8.🗒️ Version 1 of a quiz app must be ready in 8 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 1 days
show the score: 5 days - 9.💡 Does an app idea like an app that just says hi solve a real problem? (a) Yes (b) No
-
10.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. open “Map”
3. tap Back
4. open “Badges”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? -
11.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Search → Offers → Menu → Pay → Cart
Design B: Home → Address → Search → Offers → Menu → Shop → Size (a) Design A (b) Design B - 12.True or false: a free study-room finder solves no real problem. (a) False (b) True
- 13.🚀 Which version is newer: 4.0.17 or 4.0.7? (a) 4.0.17 (b) 4.0.7
- 14.✏️ What is a wireframe? (a) a type of password (b) a charging cable (c) a simple screen sketch (d) the finished app
-
15.🗒️ Version 1 of a homework planner must be ready in 5 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 2 days
see tasks by day: 2 days - 16.🧩 In an app, what is a slider for volume? (a) data (b) an input (c) a button (d) a screen
-
17.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 12 px
Title: 17 px
Label: 17 px
Body text: 19 px
Footer: 27 px (a) Title (b) Label (c) Menu (d) Body text -
18.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(19)); -
19.⚙️ What number does this app show?
let price = 250; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay); -
20.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Friend list”
3. open “Edit photo”
4. open “Match report”
5. tap the Feed tab
Which screen are you on now? (a) Feed (b) Friend list (c) Edit photo (d) Match report - 21.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 22.💾 In most code, the first item of a list is at position ___. (a) 2 (b) 10 (c) 1 (d) 0
-
23.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. tap the Home tab
3. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? -
24.👆 The user taps the button 4 times. What number does the label show now?
let coins = 0;
button.onTap = function () {
coins = coins + 4;
label.text = coins;
}; -
25.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Riya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Arjun (c) Hi, Kabir -
26.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Edit photo”
3. tap Back
4. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? -
27.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ search box ]
[ filter buttons ]
[ big picture ]
[ list of items ]
[ Add button ] -
28.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 48 px tall
Cancel button: 52 px tall
Send button: 64 px tall - 29.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) an avatar shop (b) confetti effects (c) show the score (d) background music
- 30.🔍 Which is the odd one out? (a) whether users get lost (b) the theme colours (c) the button colours (d) the font size
- 31.🧭 About how many tabs suit a tab bar best? (a) 10 to 12 (b) 20 (c) 3 to 5 (d) 1
-
32.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 34; // start at 34
line 2: points = points + 6; // add 6
line 3: points = points - 5; // add 5
line 4: points = points - 1; // take away 1
line 5: show(points); // show it -
33.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Footer: 22 px
Menu: 20 px
Label: 10 px (a) Label (b) Footer (c) Menu - 34.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
-
35.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 36.Which of these is true of a final design? (a) shows where things go (b) has no real colours (c) uses plain grey boxes (d) looks like the real app
-
37.👆 The user taps the button 5 times. What number does the label show now?
let stars = 4;
button.onTap = function () {
stars = stars + 4;
label.text = stars;
}; - 38.🔍 Which is the odd one out? (a) the font size (b) how fast a task is done (c) the theme colours (d) the screen layout
-
39.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Aman", "Riya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Kabir (c) Hi, Arjun (d) Hi, Aman - 40.True or false: checking a password is an input. (a) True (b) False
Answer key
- False
- Battery OK
- show arrival time
- add a filter
- Ask a parent
- 100
- False
- 1
- No
- 1
- Design A
- False
- 4.0.17
- a simple screen sketch
- 0
- an input
- Menu
- 38
- 240
- Feed
- 6
- 0
- 1
- 16
- Hi, Arjun
- 1
- 6
- 3
- show the score
- whether users get lost
- 3 to 5
- 34
- Label
- on the phone
- 2
- looks like the real app
- 24
- how fast a task is done
- Hi, Arjun
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students