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.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Aman (b) Hello, nameBox.text! (c) Hello, Aman! (d) Hello! -
2.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “no quiet study place”?
no quiet study place: 20 votes
wasting pocket money: 23 votes
missing the bus: 13 votes - 3.🔢 In a sign-up flow, which comes first: “make a password” or “tap “Sign up””? (a) make a password (b) tap “Sign up”
- 4.♿ What does a screen reader do? (a) makes text tiny (b) reads the screen aloud (c) plays music (d) takes photos
- 5.True or false: a website opens in a web browser. (a) False (b) True
- 6.Which of these is true of a menu button? (a) sits at the bottom (b) opens a list of pages (c) undoes one move (d) shows 3 to 5 icons
-
7.🔀 What does this battery rule show?
let battery = 76;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 8.🔔 What is a message an app shows on your lock screen called? (a) a variable (b) a wireframe (c) a web address (d) a notification
- 9.🗒️ The first small, working version of an app is often called an ___. (a) URL (b) CPU (c) FAQ (d) MVP
- 10.True or false: grey text on grey is good button design. (a) True (b) False
-
11.⚙️ What number does this app show?
let bill = 270; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); - 12.🗒️ You are planning version 1 of a quiz app. Which feature can WAIT for a later version? (a) show a question (b) check the answer (c) confetti effects (d) show the score
- 13.👥 A cricket club app has 150 players, 275 coaches and 300 fans as users. How many more fans than players are there?
-
14.🧪 What is the ACTUAL result of Test 1?
🎟️ 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(13) → expected 100
Test 2: price(10) → expected 100
Test 3: price(8) → expected 50 - 15.🔐 Is this permission request fair or too much: timer → your photos? (a) fair (b) too much
- 16.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
- 17.✏️ What is a wireframe? (a) a charging cable (b) the finished app (c) a simple screen sketch (d) a type of password
- 18.♿ A screen has 7 icon buttons. Only 1 of them have a text label for screen readers. How many still need a label?
-
19.🧩 How many buttons does this app screen have?
[title] New Note
[text box] Age
[button] Back -
20.👆 The user taps the button 2 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) OFF (b) ON - 21.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) repeats the code (d) deletes the app
- 22.🎨 UI stands for user ___. (a) interface (b) internet (c) input (d) idea
- 23.🔢 In a sign-up flow, which comes first: “type name and email” or “see the home screen”? (a) type name and email (b) see the home screen
- 24.💡 Does an app idea like a bill splitter solve a real problem? (a) No (b) Yes
- 25.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a home-screen icon (d) has a web address
- 26.Which of these is true of a wireframe? (a) has no real colours (b) shows the real fonts (c) has the real colours (d) looks like the real app
- 27.True or false: how easy sign-up is is about UX (the experience). (a) True (b) False
- 28.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) updates from the store (d) needs no installing
-
29.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(20)); - 30.True or false: a water reminder is a learning app. (a) False (b) True
-
31.🔀 What number does this shop app show?
let total = 570;
if (total > 500) {
total = total - 50;
}
show(total); - 32.🧪 Who else should try an app before release? (a) nobody (b) only the coder (c) the app icon (d) real users
-
33.👆 The user taps the button 4 times. What number does the label show now?
let stars = 5;
button.onTap = function () {
stars = stars + 2;
label.text = stars;
}; -
34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 41; // start at 41
line 2: stars = stars - 4; // add 4
line 3: stars = stars - 5; // take away 5
line 4: show(stars); // show it - 35.🚀 What should an app ask for only when it really needs it? (a) its name (b) a font (c) its icon (d) a permission
- 36.Which of these helps everyone use the app? (a) tiny tap areas (b) colour as the only clue (c) icons with no labels (d) text that can grow
- 37.👥 A cricket club app has 155 players, 195 coaches and 165 fans as users. Which user group is the biggest? (a) players (b) fans (c) coaches
- 38.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
-
39.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age < 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(10) → expected 100
Test 3: price(7) → expected 50 -
40.👆 The user taps the button 3 times. What number does the label show now?
let points = 5;
button.onTap = function () {
points = points + 3;
label.text = points;
};
Answer key
- Hello, Aman!
- 3
- tap “Sign up”
- reads the screen aloud
- True
- opens a list of pages
- Battery OK
- a notification
- MVP
- False
- 54
- confetti effects
- 150
- 100
- too much
- too much
- a simple screen sketch
- 6
- 1
- OFF
- sends back a value
- interface
- type name and email
- Yes
- has a web address
- has no real colours
- True
- needs no installing
- 40
- False
- 520
- real users
- 13
- 40
- a permission
- text that can grow
- coaches
- an app
- 50
- 14
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students