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 does this PIN rule show?
let pin = "64865";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
2.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
3.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 12 px
Body text: 12 px
Menu: 15 px -
4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Caption: 26 px
Menu: 14 px
Label: 23 px
Footer: 19 px (a) Menu (b) Label (c) Caption (d) Footer - 5.🧩 In an app, what is tap to go Next? (a) an input (b) a screen (c) data (d) a button
- 6.🐞 What is a bug? (a) a fast phone (b) a new feature (c) a mistake in the code (d) a nice icon
-
7.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Meera", "Aman", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Meera (d) Hi, Aman -
8.🔀 What number does this shop app show?
let total = 670;
if (total > 500) {
total = total - 50;
}
show(total); - 9.True or false: a library due-date alert solves no real problem. (a) True (b) False
- 10.Which of these requests asks for too much? (a) voice notes → microphone (b) quiz app → microphone (c) camera app → camera (d) map app → location
- 11.🛠️ At which stage do you try every button? (a) the idea stage (b) the test stage (c) the build stage (d) the plan stage
-
12.💾 What does this code show? (Positions start at 0.)
let friends = ["Kabir", "Arjun", "Meera", "Aman", "Zoya"];
show(friends[4]); (a) Arjun (b) Meera (c) Zoya (d) Kabir - 13.🔍 Which is the odd one out? (a) a cricket run chase (b) a word battle (c) a step counter (d) a racing challenge
-
14.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Send button: 32 px tall
Cancel button: 36 px tall
Back button: 44 px tall - 15.🔍 Which is the odd one out? (a) the theme colours (b) the font size (c) how many taps it takes (d) the screen layout
- 16.💡 After a survey, which need should version 1 solve? (a) a random need (b) the most common need (c) the rarest need (d) the newest trend
- 17.🧩 What do we call one full page of an app? (a) a screen (b) a battery (c) a cable (d) a variable
- 18.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
- 19.💡 Which app idea solves this problem: projects pile up at once? (a) a bill splitter (b) a study-room finder (c) a medicine reminder (d) a homework planner
-
20.🧩 How many buttons does this app screen have?
[title] Add Homework
[slider] Brightness
[text box] Due date
[text box] Name
[switch] Sound
[button] Back
[button] Save
[button] Help - 21.🔢 In a quiz-app flow, which comes LAST? (a) see if it is right (b) read a question (c) tap “Start quiz” (d) see the final score
-
22.🔀 Which badge does this quiz app show?
let marks = 51;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 23.🔀 When does the else part run? (a) never (b) when the test is true (c) when the test is false (d) always
- 24.🗂️ What kind of app is a torch? (a) a game (b) a health app (c) a tool app (d) a learning app
-
25.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(10) → expected 50
Test 2: price(12) → expected 100
Test 3: price(16) → expected 100 - 26.🔢 After an app is released, which comes LAST? (a) read user reviews (b) release an update (c) test it again (d) list what to fix
- 27.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows where things go (d) has the real colours
-
28.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Help
[switch] Sound
[text box] Phone
[slider] Volume -
29.🔁 What number does this code show?
let marks = [30, 60, 52, 27, 17];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); -
30.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Subject
[text box] Email
[button] Done
[switch] Sound
[slider] Text size
[text box] City - 31.🔔 What is a message an app shows on your lock screen called? (a) a wireframe (b) a notification (c) a variable (d) a web address
-
32.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[text box] Name
[button] Next
[button] Done
[text box] Phone - 33.🔢 After an app is released, which comes FIRST? (a) list what to fix (b) read user reviews (c) release an update (d) fix and improve
-
34.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Arjun")); (a) Arjun (b) Well done, Arjun! (c) greet (d) Well done, name! - 35.True or false: a puzzle with levels is a game. (a) False (b) True
-
36.🔀 What number does this shop app show?
let total = 370;
if (total > 500) {
total = total - 50;
}
show(total); - 37.🎯 Why learn about users before you build? (a) to pick a logo (b) to build what they need (c) to slow it down (d) to make it longer
- 38.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 39.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
-
40.🔀 Which badge does this quiz app show?
let marks = 63;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze
Answer key
- Use 4 digits
- 2
- 3
- Menu
- a button
- a mistake in the code
- Hi, Arjun
- 620
- False
- quiz app → microphone
- the test stage
- Zoya
- a step counter
- 0
- how many taps it takes
- the most common need
- a screen
- a final design
- a homework planner
- 3
- see the final score
- Silver
- when the test is false
- a tool app
- 100
- release an update
- has the real colours
- 3
- 2
- 1
- a notification
- 2
- read user reviews
- Well done, Arjun!
- True
- 370
- to build what they need
- helps everyone
- easy to read
- Silver
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students