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 happens at the test stage? (a) talk to possible users (b) add the buttons (c) pick the features (d) let friends try it
-
2.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Profile tab
3. tap the Search tab
4. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? -
3.💾 What number does this code show?
let notes = ["Science", "Art", "Maths", "Hindi"];
notes.push("Music");
notes.push("Sports");
show(notes.length); - 4.🧩 In an app, what is a date picker? (a) a screen (b) an input (c) a button (d) data
- 5.🧰 What is a function? (a) a list of colours (b) a screen size (c) a named block of code (d) a type of phone
- 6.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a random page (c) a dead end (d) a clear next step
- 7.💡 Which app idea solves this problem: friends argue over who pays? (a) a study-room finder (b) a medicine reminder (c) a bill splitter (d) a lost-and-found board
-
8.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 40 px tall
Next button: 48 px tall
Cancel button: 64 px tall
Done button: 44 px tall -
9.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 40;
}
show(fee(4) + fee(9)); - 10.True or false: an app has a home-screen icon. (a) True (b) False
- 11.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) take the photo (b) open the camera screen
- 12.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
- 13.👆 What kind of event is this: the user presses Save? (a) a text event (b) a load event (c) a tap event (d) a timer event
- 14.🐞 A comment in code (after //) is for ___. (a) the app store (b) the phone screen (c) the battery (d) people reading the code
- 15.🔘 Is this good or poor button design: space between buttons? (a) poor design (b) good design
- 16.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a library due-date alert (c) a button with no action (d) a blank grey screen
- 17.🎯 Is this a user need or a feature: “Small text is hard”? (a) a feature (b) a user need
- 18.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
- 19.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
-
20.🔀 What does this PIN rule show?
let pin = "45377";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
21.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. open “Help page”
3. open “Edit photo”
4. tap Back
How many times must you tap Back to reach the main screen of this tab? -
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap Back
3. open “Badges”
How many times must you tap Back to reach the main screen of this tab? - 23.True or false: an app that just says hi solves no real problem. (a) False (b) True
-
24.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age <= 10) {
return 50;
}
return 100;
}
Test 1: price(9) → expected 50
Test 2: price(10) → expected 100
Test 3: price(11) → expected 100 -
25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 68 px tall
Cancel button: 60 px tall
Done button: 28 px tall
Next button: 52 px tall (a) Next (b) Save (c) Cancel (d) Done - 26.🧩 In an app, what is your high score? (a) an input (b) a screen (c) a button (d) data
-
27.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Riya", "Zoya", "Aman", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Zoya (c) Hi, Arjun (d) Hi, Kabir - 28.🔀 With if / else if / else, how many parts run? (a) only one (b) all of them (c) two (d) none
-
29.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Aman")); (a) Aman (b) Hello, Aman! (c) Hello, name! (d) greet - 30.True or false: a finger hits Like is a load event. (a) False (b) True
-
31.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ big picture ]
[ tab bar ]
[ title text ]
[ menu icon ]
[ filter buttons ]
[ Save button ] (a) big picture (b) menu icon (c) tab bar (d) Save button -
32.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(8) + fee(8)); - 33.🔢 In a photo-post flow, which comes first: “open the camera screen” or “add a filter”? (a) add a filter (b) open the camera screen
- 34.🔢 In a food-order flow, what comes right after “pick a dish”? (a) pay for the order (b) open the menu (c) check the cart (d) add it to the cart
- 35.Which of these is true of a tab bar? (a) switches main sections (b) undoes one move (c) hides extra links (d) opens a list of pages
- 36.Which of these is about UX (the experience)? (a) the font size (b) how users feel after (c) the theme colours (d) the screen layout
- 37.🎯 Is this a user need or a feature: a search bar? (a) a feature (b) a user need
- 38.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
-
39.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 65; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 2 (c) line 1 (d) line 4 -
40.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 44 px tall
Next button: 48 px tall
Help button: 52 px tall
Answer key
- let friends try it
- 1
- 6
- an input
- a named block of code
- a clear next step
- a bill splitter
- 2
- 40
- True
- open the camera screen
- the back button
- a tap event
- people reading the code
- good design
- a library due-date alert
- a user need
- hard to read
- easy to read
- Use 4 digits
- 2
- 1
- True
- 2
- Done
- data
- Hi, Kabir
- only one
- Hello, Aman!
- False
- Save button
- 40
- open the camera screen
- add it to the cart
- switches main sections
- how users feel after
- a feature
- a wireframe
- line 3
- 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students