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.🔁 What number does this code show?
let runs = [12, 20, 19];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
2.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap Back
3. open “Help page”
Which screen are you on now? (a) Search (b) Home (c) Match report (d) Help page - 3.Which of these is data? (a) a slider for volume (b) the log-in page (c) your friends list (d) the home page of an app
- 4.🔘 Our rule: buttons are at least 48 px tall. The Done button is 24 px tall. How many px taller must it be?
-
5.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 52 px tall
Send button: 44 px tall
Help button: 56 px tall
Back button: 48 px tall (a) Next (b) Help (c) Send (d) Back -
6.👆 The user taps the button 5 times. What number does the label show now?
let stars = 10;
button.onTap = function () {
stars = stars + 1;
label.text = stars;
}; - 7.🚀 Which version is newer: 4.4.2 or 4.13.2? (a) 4.13.2 (b) 4.4.2
- 8.True or false: a free study-room finder solves a real problem. (a) False (b) True
-
9.🔁 What number does this code show?
let marks = [1, 6, 6, 2, 2];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
10.🗒️ Version 1 of a quiz app must be ready in 15 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 4 days
show the score: 3 days -
11.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(8) + fee(4)); -
12.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Body text: 18 px
Footer: 23 px
Menu: 11 px (a) Footer (b) Menu (c) Body text - 13.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) set a due date (c) share tasks to friends (d) earn stickers
-
14.🔀 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! -
15.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Aman")); (a) Aman (b) Well done, Aman! (c) greet (d) Well done, name! -
16.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; - 17.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2, 3 (c) 0, 1, 2 (d) 1, 2, 3
- 18.🎨 Is this about UI or UX: the icon shapes? (a) UX (b) UI
- 19.💡 A good app idea starts with ___. (a) many colours (b) a cool logo (c) a problem to solve (d) a long name
- 20.True or false: the button colours is about UI (the look). (a) True (b) False
-
21.👆 The user taps the button 7 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
22.🗒️ Version 1 of a pocket-money tracker must be ready in 10 days. How many days are left for extras after the must-haves?
add money received: 4 days
add money spent: 1 days
show the balance: 2 days - 23.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) see if it is right (c) see the final score (d) tap “Start quiz”
-
24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap Back
3. tap the Search tab
4. open “Match report”
How many times must you tap Back to reach the main screen of this tab? -
25.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Help page”
2. tap Back
3. tap the Settings tab
4. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 26.🔢 In a food-order flow, which comes first: “add it to the cart” or “pick a dish”? (a) add it to the cart (b) pick a dish
-
27.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 2)); -
28.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(10, 3)); - 29.True or false: a water reminder is the best fit for a child saving up for a cycle. (a) False (b) True
-
30.🔁 What is the LAST line this code shows?
let names = ["Riya", "Kabir", "Meera", "Zoya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Kabir (d) Hi, Aman - 31.🛠️ At which stage do you sketch the screens? (a) the build stage (b) the test stage (c) the idea stage (d) the plan stage
- 32.🔀 When does the else part run? (a) when the test is true (b) never (c) always (d) when the test is false
- 33.🔀 What is a user flow? (a) a charging cable (b) a colour theme (c) a type of font (d) the path through screens
- 34.🧪 What is the actual result of a test? (a) what the app really does (b) what we hope for (c) the test’s number (d) the app’s name
- 35.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) FAQ (c) CPU (d) MVP
-
36.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 68 px tall
Cancel button: 52 px tall
Next button: 36 px tall
Save button: 56 px tall (a) Save (b) Cancel (c) Next (d) Send -
37.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Offers → Address → Search → Menu
Design B: Home → Pay → Item - 38.True or false: a final design shows the real fonts. (a) False (b) True
- 39.Which of these is true of a menu button? (a) opens a list of pages (b) goes to the last screen (c) undoes one move (d) sits at the bottom
- 40.♿ A screen has 10 icon buttons. Only 7 of them have a text label for screen readers. How many still need a label?
Answer key
- 51
- Help page
- your friends list
- 24
- Send
- 15
- 4.13.2
- True
- 17
- 6
- 30
- Menu
- set a due date
- Ask a parent
- Well done, Aman!
- 3
- 0, 1, 2
- UI
- a problem to solve
- True
- 3
- 3
- tap “Start quiz”
- 1
- 1
- pick a dish
- 100
- 30
- False
- Hi, Aman
- the plan stage
- when the test is false
- the path through screens
- what the app really does
- MVP
- Next
- 4
- True
- opens a list of pages
- 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students