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.♿ A screen has 11 icon buttons. Only 4 of them have a text label for screen readers. How many still need a label?
- 2.True or false: the settings page is a button. (a) True (b) False
-
3.🔀 Which badge does this quiz app show?
let marks = 100;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Gold (c) Silver - 4.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
-
5.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 34; // start at 33
line 2: lives = lives + 4; // add 4
line 3: lives = lives + 2; // add 2
line 4: lives = lives + 5; // add 5
line 5: show(lives); // show it -
6.🖼️ In this wireframe (top to bottom), what is right above the title text?
[ top bar ]
[ title text ]
[ menu icon ]
[ tab bar ] (a) tab bar (b) top bar (c) menu icon -
7.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 33; // start at 33
line 2: lives = lives - 7; // take away 5
line 3: lives = lives + 3; // add 3
line 4: lives = lives + 4; // add 4
line 5: show(lives); // show it -
8.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(18)); - 9.True or false: a slider for volume is data. (a) True (b) False
-
10.🧩 How many buttons does this app screen have?
[title] Sign Up
[text box] Email
[button] Back
[slider] Text size - 11.Which of these makes the app harder to use? (a) captions on videos (b) big touch targets (c) icons with no labels (d) text that can grow
-
12.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. open “Map”
3. tap Back
4. tap the Chat tab
How many times must you tap Back to reach the main screen of this tab? -
13.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “losing water bottles”?
wasting pocket money: 15 votes
forgetting homework: 4 votes
losing water bottles: 9 votes - 14.🗂️ What kind of app is a times-table quiz? (a) a game (b) a learning app (c) a health app (d) a tool app
-
15.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(17) → expected 100
Test 2: price(13) → expected 100
Test 3: price(9) → expected 50 - 16.True or false: tap to Save is a button. (a) False (b) True
- 17.💡 Which app idea solves this problem: bottles go missing at school? (a) a study-room finder (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
- 18.Which of these requests is fair? (a) calculator → location (b) torch → contacts (c) quiz app → microphone (d) calling app → contacts
- 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) open the camera screen (b) post the photo (c) write a caption (d) take the photo
- 20.True or false: a blank grey screen solves a real problem. (a) False (b) True
- 21.True or false: a recipe finder is the best fit for a cook with no idea for dinner. (a) True (b) False
- 22.🔀 What does >= mean? (a) not equal (b) greater than or equal (c) smaller or equal (d) less than
-
23.🔁 What number does this code show?
let scores = [7, 2, 12];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 24.🗒️ In MVP, the M stands for ___. (a) maximum (b) music (c) mobile (d) minimum
- 25.Which of these is true of an app? (a) opens from a link (b) is installed on a phone (c) has a web address (d) opens in a web browser
- 26.💡 Which app idea solves this problem: the library is always full? (a) a lost-and-found board (b) a medicine reminder (c) a study-room finder (d) a bill splitter
-
27.💾 What number does this code show?
let friends = ["Arjun", "Kabir", "Riya"];
friends.push("Aman");
friends.push("Zoya");
show(friends.length); - 28.True or false: today’s step count is a screen. (a) True (b) False
- 29.🔀 What does if / else let an app do? (a) draw a screen (b) repeat forever (c) pick one of two actions (d) save a photo
-
30.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(90, 3)); -
31.🖼️ How many parts (boxes) does this wireframe have?
[ Save button ]
[ Add button ]
[ tab bar ]
[ top bar ] - 32.True or false: photos on two devices fits saving in the cloud. (a) False (b) True
-
33.🖼️ In this wireframe (top to bottom), what is right below the list of items?
[ list of items ]
[ title text ]
[ Add button ]
[ menu icon ] (a) menu icon (b) title text (c) Add button - 34.Which of these requests is fair? (a) camera app → camera (b) timer → your photos (c) calculator → location (d) quiz app → microphone
-
35.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 36.🎯 Why learn about users before you build? (a) to slow it down (b) to make it longer (c) to build what they need (d) to pick a logo
- 37.True or false: you share the download link at the release stage. (a) False (b) True
-
38.👆 The user taps the button 5 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 - 39.🔢 After an app is released, which comes first: “test it again” or “read user reviews”? (a) test it again (b) read user reviews
-
40.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 41; // start at 39
line 2: lives = lives + 5; // add 5
line 3: lives = lives * 2; // double it
line 4: lives = lives + 3; // add 3
line 5: show(lives); // show it
Answer key
- 7
- False
- Gold
- a final design
- 44
- top bar
- 33
- 36
- False
- 1
- icons with no labels
- 0
- 6
- a learning app
- 3
- True
- a lost-and-found board
- calling app → contacts
- write a caption
- False
- True
- greater than or equal
- 12
- minimum
- is installed on a phone
- a study-room finder
- 5
- False
- pick one of two actions
- 270
- 4
- True
- title text
- camera app → camera
- 1
- to build what they need
- True
- ON
- read user reviews
- 95
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students