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 part lets the user give the app information? (a) an input (b) a logo (c) an icon (d) a title
-
2.🔀 What does this PIN rule show?
let pin = "9542";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 3.🔁 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
-
4.🔀 What does this PIN rule show?
let pin = "559";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 5.🔢 In a quiz-app flow, which comes LAST? (a) see the final score (b) read a question (c) tap “Start quiz” (d) see if it is right
-
6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap the Home tab
3. open “Score card”
Which screen are you on now? (a) Edit photo (b) Search (c) Score card (d) Home - 7.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
-
8.💾 pop() takes off the last item. What does this code show?
let notes = ["Maths", "Sports", "Art", "Music"];
notes.pop();
show(notes[notes.length - 1]); (a) Sports (b) Music (c) Art (d) Maths -
9.👆 The user taps the button 2 times. What number does the label show now?
let stars = 9;
button.onTap = function () {
stars = stars + 5;
label.text = stars;
}; - 10.🔀 What does if / else let an app do? (a) draw a screen (b) save a photo (c) pick one of two actions (d) repeat forever
-
11.🧩 Which of these is a button on this screen?
[title] Edit Profile
[button] Save
[switch] Dark mode
[text box] Subject
[button] Next
[button] Help (a) Subject (b) Help (c) Dark mode - 12.👥 A library app has 165 readers, 170 librarians and 85 volunteers as users. How many more readers than volunteers are there?
- 13.💾 Where should the app save a shared to-do list: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 14.🔍 Which is the odd one out? (a) spot a problem to solve (b) list what users need (c) write the code (d) talk to possible users
- 15.🔢 In a sign-up flow, which comes first: “open the app” or “enter the code sent”? (a) enter the code sent (b) open the app
- 16.🗒️ When should nice-to-have features be built? (a) never (b) on day one (c) after the must-haves (d) before anything
- 17.💡 Which app idea solves this problem: a team shares one snack bill? (a) a homework planner (b) a bill splitter (c) a lost-and-found board (d) a medicine reminder
-
18.🧩 How many buttons does this app screen have?
[title] Sign Up
[switch] Dark mode
[text box] Notes
[text box] Subject
[text box] Name
[slider] Volume
[button] Save - 19.👥 A library app has 125 readers, 115 librarians and 170 volunteers as users. How many more readers than librarians are there?
-
20.🧩 How many buttons does this app screen have?
[title] Edit Profile
[text box] City
[slider] Volume
[text box] Notes
[button] Back
[button] Cancel
[button] Help
[switch] Sound - 21.True or false: speaking a command is an input. (a) False (b) True
-
22.👆 The user taps the button 8 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 23.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) processing (c) output
-
24.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap the Profile tab
3. open “Video”
Which screen are you on now? (a) Home (b) Video (c) Badges (d) Search -
25.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(16) → expected 100
Test 3: price(13) → expected 100 - 26.🧭 About how many tabs suit a tab bar best? (a) 3 to 5 (b) 10 to 12 (c) 20 (d) 1
- 27.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) pick your bus stop (c) change the bus icon (d) a dark mode
- 28.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) whether users get lost (d) the screen layout
- 29.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) a dark mode (b) pick your bus stop (c) show arrival time (d) see where the bus is
- 30.Which of these is true of a menu button? (a) sits at the bottom (b) goes to the last screen (c) opens a list of pages (d) switches main sections
- 31.🎯 Which app would help this user most: a grandparent with weak eyesight? (a) a water reminder (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
- 32.🎯 Is this a user need or a feature: “I forget my homework”? (a) a user need (b) a feature
- 33.⚙️ In an app, is a pop-up message an input, processing or an output? (a) processing (b) output (c) input
-
34.💾 What number does this code show?
let notes = ["Science", "Art"];
notes.push("Music");
show(notes.length); - 35.👆 What kind of event is this: the user presses Save? (a) a timer event (b) a text event (c) a tap event (d) a load event
-
36.🔁 What number does this code show?
let marks = [18, 4, 16, 14, 5];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
37.🖼️ In this wireframe (top to bottom), what is right below the Add button?
[ Add button ]
[ search box ]
[ big picture ]
[ list of items ] (a) search box (b) big picture (c) list of items - 38.🔢 In a sign-up flow, which comes LAST? (a) tap “Sign up” (b) make a password (c) see the home screen (d) open the app
- 39.🔢 In a photo-post flow, which comes first: “open the camera screen” or “write a caption”? (a) open the camera screen (b) write a caption
-
40.💾 What number does this code show?
let friends = ["Meera", "Kabir", "Arjun", "Riya"];
friends.push("Zoya");
friends.push("Aman");
show(friends.length);
Answer key
- an input
- PIN saved
- 0, 1, 2
- Use 4 digits
- see the final score
- Score card
- Yes
- Art
- 19
- pick one of two actions
- Help
- 80
- in the cloud
- write the code
- open the app
- after the must-haves
- a bill splitter
- 1
- 10
- 3
- True
- 4
- processing
- Video
- 100
- 3 to 5
- pick your bus stop
- whether users get lost
- a dark mode
- opens a list of pages
- a big-text reader
- a user need
- output
- 3
- a tap event
- 18
- search box
- see the home screen
- open the camera screen
- 6
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students