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.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(2) → expected Try again
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Pass (a) Test 3 (b) Test 1 (c) Test 2 - 2.🔍 Which is the odd one out? (a) share the download link (b) write the store text (c) put it on an app store (d) write the code
- 3.👥 A clinic app has 20 patients, 275 doctors and 280 nurses as users. Which user group is the biggest? (a) patients (b) nurses (c) doctors
- 4.✏️ Why draw a wireframe before coding? (a) it adds colours (b) it saves data (c) changes are quick (d) it runs the app
-
5.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 40; // start at 40
line 2: points = points + 6; // add 4
line 3: points = points + 5; // add 5
line 4: show(points); // show it (a) line 3 (b) line 1 (c) line 2 - 6.True or false: a wireframe has no real colours. (a) True (b) False
-
7.💾 What does this code show? (Positions start at 0.)
let friends = ["Meera", "Kabir", "Riya"];
show(friends[0]); (a) Riya (b) Meera (c) Kabir - 8.💡 Which app idea solves this problem: projects pile up at once? (a) a study-room finder (b) a homework planner (c) a lost-and-found board (d) a medicine reminder
- 9.Which of these is an input? (a) the log-in page (b) the home page of an app (c) a box to type a name (d) your friends list
- 10.🔢 In a food-order flow, which comes FIRST? (a) add it to the cart (b) check the cart (c) pay for the order (d) open the menu
- 11.🔁 Why use a loop to show 100 messages? (a) it hides them (b) less code to write (c) it uses more lines (d) it is slower
- 12.🌗 Is white on dark green easy or hard to read on a button? (a) easy to read (b) hard to read
- 13.💡 A good app idea starts with ___. (a) a problem to solve (b) a long name (c) many colours (d) a cool logo
- 14.🔢 In a quiz-app flow, which comes FIRST? (a) see if it is right (b) tap “Start quiz” (c) read a question (d) see the final score
- 15.🗂️ What kind of app is a spelling coach? (a) a game (b) a tool app (c) a learning app (d) a health app
- 16.🧭 Tapping a tab usually takes you to ___. (a) that tab’s main screen (b) the last app used (c) a random page (d) the phone settings
- 17.📅 An app team plans for 4 days, builds for 7 days, tests for 3 days and releases on 1 more day. How many days does the whole project take?
- 18.🎨 UX stands for user ___. (a) extra (b) example (c) express (d) experience
- 19.True or false: one second passes is a timer event. (a) True (b) False
- 20.True or false: a finger hits Like is a load event. (a) True (b) False
- 21.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) well planned (c) missing a must-have (d) ready to release
- 22.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) fast-flashing lights (d) colour as the only clue
- 23.Which of these is an input? (a) sorting the scores (b) working out a tip (c) a beep sound (d) speaking a command
- 24.🔍 Which is the odd one out? (a) tiny tap areas (b) fast-flashing lights (c) text that can grow (d) colour as the only clue
-
25.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. open “Edit photo”
3. open “Score card”
4. open “Friend list”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? - 26.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a button with no action (c) a bill splitter (d) a medicine reminder
-
27.🚀 Which of these versions is the OLDEST?
2.23.3, 3.12.0, 3.4.8, 3.10.4 (a) 3.4.8 (b) 3.12.0 (c) 3.10.4 (d) 2.23.3 -
28.👆 The user taps the button 7 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
29.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(25)); - 30.🔀 In this course’s code, which sign tests “is equal to”? (a) = (b) !== (c) === (d) =>
- 31.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) rate the driver (b) change the bus icon (c) show arrival time (d) a dark mode
- 32.✏️ What is a wireframe? (a) the finished app (b) a simple screen sketch (c) a charging cable (d) a type of password
-
33.🧩 Which of these is a button on this screen?
[title] Settings
[button] Cancel
[text box] Age
[button] Send (a) Send (b) Age - 34.👥 A cricket club app has 25 players, 65 coaches and 155 fans as users. How many users does it have in all?
-
35.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 40 px tall
Done button: 44 px tall
Send button: 36 px tall -
36.🔁 What number does this code show?
let scores = [35, 17, 21];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); -
37.💾 What number does this code show?
let notes = ["Sports", "Hindi"];
notes.push("Music");
show(notes.length); -
38.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(4) → expected Try again
Test 2: result(7) → expected Pass
Test 3: result(5) → expected Pass (a) Test 1 (b) Test 3 (c) Test 2 - 39.Which colour pair is hard to read? (a) black on pale grey (b) white on dark green (c) black on yellow (d) pale pink on white
- 40.🔀 Why plan the user flow before building? (a) to hide the buttons (b) to add more taps (c) to skip testing (d) so each step is clear
Answer key
- Test 3
- write the code
- nurses
- changes are quick
- line 2
- True
- Meera
- a homework planner
- a box to type a name
- open the menu
- less code to write
- easy to read
- a problem to solve
- tap “Start quiz”
- a learning app
- that tab’s main screen
- 15
- experience
- True
- False
- missing a must-have
- labels on every icon
- speaking a command
- text that can grow
- 3
- a button with no action
- 2.23.3
- 4
- 50
- ===
- show arrival time
- a simple screen sketch
- Send
- 245
- 0
- 0
- 3
- Test 3
- pale pink on white
- so each step is clear
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students