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.True or false: a flashcard trainer is a learning app. (a) True (b) False
- 2.Which of these is true of the back button? (a) shows 3 to 5 icons (b) opens a list of pages (c) hides extra links (d) undoes one move
-
3.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 3 days
see today’s total: 5 days - 4.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) share your streak (b) set a reminder time (c) log a glass of water (d) see today’s total
-
5.🧪 What is the ACTUAL result of Test 2?
🎟️ 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(10) → expected 50
Test 2: price(15) → expected 100
Test 3: price(13) → expected 100 -
6.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 50;
}
show(fee(2) + fee(5)); - 7.🔍 Which is the odd one out? (a) whether users get lost (b) how fast a task is done (c) how easy sign-up is (d) the font size
- 8.🔘 Is this good or poor button design: buttons almost touching? (a) good design (b) poor design
-
9.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ tab bar ]
[ Add button ]
[ search box ] - 10.🔍 Which is the odd one out? (a) fast-flashing lights (b) captions on videos (c) sudden loud sounds (d) icons with no labels
- 11.Which of these helps everyone use the app? (a) sudden loud sounds (b) colour as the only clue (c) captions on videos (d) icons with no labels
-
12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Map”
3. tap Back
Which screen are you on now? (a) Map (b) Profile (c) Search (d) Home - 13.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) decorating (d) downloading
- 14.🔍 Which is the odd one out? (a) whether users get lost (b) how easy sign-up is (c) how fast a task is done (d) the icon shapes
- 15.🔐 Is this permission request fair or too much: map app → location? (a) fair (b) too much
- 16.💡 Does an app idea like a medicine reminder solve a real problem? (a) No (b) Yes
-
17.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age < 14) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 50
Test 2: price(18) → expected 100
Test 3: price(20) → expected 100 - 18.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
-
19.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Offers → Confirm → Cart → Size → Shop → Address
Design B: Home → Address → Offers → Cart → Shop -
20.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(1)); - 21.🔢 In a sign-up flow, which comes FIRST? (a) open the app (b) tap “Sign up” (c) enter the code sent (d) see the home screen
-
22.🧩 Which of these is a button on this screen?
[title] Order Snacks
[text box] Age
[switch] Remind me
[button] Back
[button] Send
[button] Done (a) Done (b) Remind me (c) Age - 23.Which colour pair is hard to read? (a) black on yellow (b) white on black (c) black on pale grey (d) yellow on white
-
24.🔁 What number does this code show?
let steps = [1, 13, 1, 19];
let best = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] > best) {
best = steps[i];
}
}
show(best); -
25.🔀 Which badge does this quiz app show?
let marks = 39;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold -
26.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(26)); -
27.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 30; // start at 30
line 2: lives = lives * 3; // double it
line 3: lives = lives + 2; // add 2
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it - 28.True or false: the user presses Save is a timer event. (a) True (b) False
- 29.True or false: the user taps Play is a timer event. (a) True (b) False
- 30.🌗 Is black on yellow easy or hard to read on a button? (a) hard to read (b) easy to read
-
31.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, nameBox.text! (b) Arjun (c) Well done! (d) Well done, Arjun! -
32.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Video”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? - 33.Which of these is true of a tab bar? (a) hides extra links (b) opens a list of pages (c) undoes one move (d) shows 3 to 5 icons
-
34.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 11 votes
forgetting homework: 17 votes
losing water bottles: 21 votes (a) forgetting homework (b) losing water bottles (c) no quiet study place -
35.🔀 Which badge does this quiz app show?
let marks = 94;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver - 36.🧰 In function tip(bill), what is bill? (a) an event (b) a screen (c) a loop (d) a parameter
- 37.🔍 Which is the odd one out? (a) a puzzle with levels (b) a torch (c) a unit converter (d) an alarm clock
-
38.🗒️ Version 1 of a bus tracker must be ready in 14 days. How many days are left for extras after the must-haves?
see where the bus is: 4 days
show arrival time: 4 days
pick your bus stop: 5 days - 39.Which of these happens at the idea stage? (a) add the buttons (b) spot a problem to solve (c) let friends try it (d) connect the data
- 40.🔐 Is this permission request fair or too much: timer → your photos? (a) too much (b) fair
Answer key
- True
- undoes one move
- 2
- share your streak
- 100
- 50
- the font size
- poor design
- 4
- captions on videos
- captions on videos
- Home
- debugging
- the icon shapes
- fair
- Yes
- 3
- False
- 2
- 70
- open the app
- Done
- yellow on white
- 19
- Bronze
- 78
- 124
- False
- False
- easy to read
- Well done, Arjun!
- 0
- shows 3 to 5 icons
- losing water bottles
- Gold
- a parameter
- a puzzle with levels
- 1
- spot a problem to solve
- too much
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students