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.🔀 Which badge does this quiz app show?
let marks = 45;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold -
2.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(29)); - 3.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) export to a file (c) add money spent (d) pie-chart colours
-
4.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Confirm → Menu → Results → Offers → Pens
Design B: Home → Results → Pay - 5.🎯 A short made-up profile of a typical user is called a ___. (a) pixel (b) password (c) protocol (d) persona
- 6.🔢 In a photo-post flow, which comes LAST? (a) write a caption (b) add a filter (c) post the photo (d) take the photo
- 7.🗒️ Why keep version 1 small? (a) to use up storage (b) to look bigger (c) to learn from users soon (d) to confuse users
- 8.True or false: your last game level fits saving in the cloud. (a) False (b) True
-
9.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 44; // start at 44
line 2: score = score - 4; // take away 4
line 3: score = score + 2; // add 2
line 4: score = score * 3; // double it
line 5: show(score); // show it - 10.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 1 (c) 4 (d) 6
-
11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 32 px tall
Help button: 40 px tall
Start button: 60 px tall
Next button: 56 px tall -
12.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello! (b) Hello, nameBox.text! (c) Meera (d) Hello, Meera! - 13.🎯 Is this a user need or a feature: “Small text is hard”? (a) a user need (b) a feature
- 14.✏️ Why draw a wireframe before coding? (a) changes are quick (b) it saves data (c) it adds colours (d) it runs the app
-
15.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. tap the Quiz tab
3. open “Badges”
4. tap the Me tab
5. open “Match report”
Which screen are you on now? (a) Lessons (b) Quiz (c) Badges (d) Match report - 16.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
-
17.⚙️ What number does this app show?
let km = 10; // typed by the user
let metres = km * 1000;
show(metres); -
18.👆 The user taps the button 5 times. What number does the label show now?
let score = 8;
button.onTap = function () {
score = score + 2;
label.text = score;
}; - 19.🚀 Which version is newer: 2.6.3 or 2.12.2? (a) 2.12.2 (b) 2.6.3
- 20.Which of these is true of a final design? (a) uses plain grey boxes (b) is a quick sketch (c) has no real colours (d) has the real colours
- 21.Which of these is about UI (the look)? (a) how easy sign-up is (b) how fast a task is done (c) how users feel after (d) the font size
-
22.👆 The user taps the button 4 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; - 23.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) missing a must-have (c) ready to release (d) a nice extra
- 24.🧭 Which part of navigation undoes one move? (a) a tab bar (b) a menu button (c) the back button
-
25.📊 Survey: which problem bugs you most? Which problem should your app solve first?
wasting pocket money: 18 votes
missing the bus: 4 votes
no quiet study place: 7 votes (a) no quiet study place (b) missing the bus (c) wasting pocket money - 26.📱 Which one has a web address: an app or a website? (a) an app (b) a website
- 27.🔢 In a sign-up flow, what comes right after “type name and email”? (a) open the app (b) make a password (c) tap “Sign up” (d) enter the code sent
- 28.💡 How can you check that people really have the problem? (a) just guess (b) ask possible users (c) pick a colour (d) copy another app
- 29.True or false: you talk to possible users at the test stage. (a) True (b) False
-
30.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Profile tab
3. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? - 31.✏️ Is this true of a wireframe or of a final design: uses the final pictures? (a) a wireframe (b) a final design
- 32.🚀 Which version is newer: 3.7.1 or 3.15.0? (a) 3.7.1 (b) 3.15.0
- 33.🔢 In a sign-up flow, which comes first: “make a password” or “type name and email”? (a) make a password (b) type name and email
- 34.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
-
35.🔁 What number does this code show?
let scores = [20, 20, 1, 13, 1];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
36.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 41; // start at 41
line 2: stars = stars + 3; // add 2
line 3: stars = stars + 4; // add 4
line 4: stars = stars + 6; // add 6
line 5: show(stars); // show it -
37.🔀 What does this PIN rule show?
let pin = "53619";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 38.🔢 In a food-order flow, which comes first: “pay for the order” or “pick a dish”? (a) pay for the order (b) pick a dish
-
39.🧪 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(11) → expected 50
Test 2: price(19) → expected 100
Test 3: price(16) → expected 100 - 40.True or false: checking a password is an input. (a) True (b) False
Answer key
- Bronze
- 87
- add money spent
- 3
- persona
- post the photo
- to learn from users soon
- False
- 126
- 5
- 2
- Hello, Meera!
- a user need
- changes are quick
- Match report
- an app
- 10000
- 18
- 2.12.2
- has the real colours
- the font size
- 3
- missing a must-have
- the back button
- wasting pocket money
- a website
- make a password
- ask possible users
- False
- 1
- a final design
- 3.15.0
- type name and email
- when the test is false
- 55
- 54
- Use 4 digits
- pick a dish
- 3
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students