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 kind of event is this: one second passes? (a) a tap event (b) a text event (c) a timer event (d) a load event
-
2.💾 pop() takes off the last item. What does this code show?
let notes = ["Art", "Maths", "Science", "Hindi", "Music"];
notes.pop();
show(notes[notes.length - 1]); (a) Hindi (b) Science (c) Maths (d) Art -
3.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 64 px tall
Send button: 56 px tall
Next button: 40 px tall - 4.Which of these is a screen? (a) today’s step count (b) tap to Start (c) tap to Save (d) the settings page
- 5.🔢 When you make an app, which comes FIRST? (a) release it (b) plan the screens (c) get an idea (d) build the app
-
6.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 48; // start at 48
line 2: points = points * 2; // double it
line 3: points = points - 4; // take away 4
line 4: points = points * 3; // double it
line 5: show(points); // show it - 7.🧰 Why write a function? (a) to slow the app (b) to make code longer (c) to reuse code (d) to hide errors
- 8.💡 A good app idea starts with ___. (a) a cool logo (b) many colours (c) a long name (d) a problem to solve
- 9.🔍 Which is the odd one out? (a) a times-table quiz (b) a flashcard trainer (c) a racing challenge (d) a spelling coach
- 10.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
- 11.📅 An app team plans for 4 days, builds for 6 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
-
12.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right > 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(7) → expected Try again
Test 3: result(10) → expected Pass (a) Test 1 (b) Test 2 (c) Test 3 - 13.🌗 Is white on dark green easy or hard to read on a button? (a) easy to read (b) hard to read
- 14.Which of these requests is fair? (a) timer → your photos (b) calculator → location (c) torch → contacts (d) camera app → camera
-
15.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Meera", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Meera (c) Hi, Zoya - 16.True or false: a website has a home-screen icon. (a) True (b) False
- 17.💡 Which app idea solves this problem: a team shares one snack bill? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
- 18.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
- 19.True or false: a big-text reader is the best fit for a student who often misses the school bus. (a) True (b) False
- 20.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) = (c) => (d) ===
- 21.💾 Which works with no internet at all? (a) a cloud leaderboard (b) a shared chat (c) data saved on the phone (d) a cloud backup
- 22.🧭 Tapping a tab usually takes you to ___. (a) a random page (b) the phone settings (c) that tab’s main screen (d) the last app used
-
23.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Offers → Size → Pens → Shop
Design B: Home → Confirm → Size → Pay → Menu → Cart - 24.🔘 Our rule: buttons are at least 48 px tall. The Save button is 24 px tall. How many px taller must it be?
-
25.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 60; // typed by the user
line 2: let qty = 6; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 4 (b) line 3 (c) line 1 (d) line 2 -
26.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Map”
2. tap Back
3. open “Help page”
4. tap Back
5. open “Score card”
How many times must you tap Back to reach the main screen of this tab? - 27.True or false: a homework planner is the best fit for a parent waiting at the bus stop. (a) False (b) True
-
28.🧪 What is the ACTUAL result of Test 1?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age < 12) {
return 50;
}
return 100;
}
Test 1: price(15) → expected 100
Test 2: price(8) → expected 50
Test 3: price(12) → expected 100 -
29.⚙️ What number does this app show?
let bill = 24; // typed by the user
let friends = 2; // typed by the user
let share = bill / friends;
show(share); - 30.📅 An app team plans for 5 days, builds for 7 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 31.💡 Which is a problem statement? (a) “Kids forget homework” (b) “Use blue buttons” (c) “Make it fast” (d) “Add a logo”
-
32.🧩 Which of these is a button on this screen?
[title] Add Homework
[button] Save
[text box] Subject (a) Save (b) Subject - 33.🔍 Which is the odd one out? (a) a cricket run chase (b) a times-table quiz (c) a word battle (d) a puzzle with levels
- 34.True or false: icons with no meaning is good button design. (a) True (b) False
- 35.True or false: a website is installed on a phone. (a) True (b) False
-
36.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[text box] Email
[text box] Notes
[button] Save
[text box] City
[button] Send - 37.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) headline (d) handler
- 38.🔢 In a sign-up flow, which comes FIRST? (a) type name and email (b) enter the code sent (c) see the home screen (d) open the app
- 39.🔢 In a food-order flow, which comes first: “open the menu” or “add it to the cart”? (a) open the menu (b) add it to the cart
- 40.📱 The word “app” is short for ___. (a) apparatus (b) appetite (c) appointment (d) application
Answer key
- a timer event
- Hindi
- 2
- the settings page
- get an idea
- 276
- to reuse code
- a problem to solve
- a racing challenge
- 0, 1, 2
- 3
- Test 1
- easy to read
- camera app → camera
- Hi, Arjun
- False
- a bill splitter
- a user need
- False
- ===
- data saved on the phone
- that tab’s main screen
- 1
- 24
- line 3
- 1
- False
- 100
- 12
- 12
- “Kids forget homework”
- Save
- a times-table quiz
- False
- False
- 3
- handler
- open the app
- open the menu
- application
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students