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.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
-
2.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(2)); -
3.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Size → Pens → Results
Design B: Home → Size → Address → Item → Cart → Search (a) Design B (b) Design A - 4.⚙️ In an app, is sorting the scores an input, processing or an output? (a) processing (b) input (c) output
- 5.🛠️ At which stage do you talk to possible users? (a) the build stage (b) the test stage (c) the idea stage (d) the plan stage
-
6.⚙️ What number does this app show?
let price = 95; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); -
7.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total > 400) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(650) → expected 0
Test 3: delivery(200) → expected 40 (a) Test 2 (b) Test 3 (c) Test 1 - 8.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
- 9.🔐 Which permission does a bus tracker really need? (a) contacts (b) the camera (c) location (d) the microphone
- 10.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 2 (c) 251 (d) 5
-
11.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 9 votes
no quiet study place: 23 votes
forgetting homework: 21 votes (a) no quiet study place (b) forgetting birthdays (c) forgetting homework - 12.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
-
13.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 300) {
return 0;
}
return 40;
}
Test 1: delivery(300) → expected 0
Test 2: delivery(500) → expected 0
Test 3: delivery(250) → expected 40 - 14.👆 What kind of event is this: a finger hits Like? (a) a tap event (b) a load event (c) a text event (d) a timer event
- 15.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
- 16.🧭 Why should every screen show where you are? (a) to look busy (b) so users do not get lost (c) to hide the menu (d) to use more battery
-
17.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Pens → Results
Design B: Home → Pay → Item → Size -
18.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap the Quiz tab
3. open “Badges”
4. tap the Me tab
5. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? -
19.👆 The user taps the button 4 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 - 20.💾 Data saved only on the phone is lost when ___. (a) you send a message (b) the app is closed (c) the phone is lost (d) the screen turns off
-
21.🔀 What does this sign-up rule show?
let age = 16;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 22.True or false: a website has a home-screen icon. (a) True (b) False
- 23.🗂️ What kind of app is a step counter? (a) a game (b) a learning app (c) a health app (d) a tool app
-
24.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 43; // start at 43
line 2: score = score + 5; // take away 5
line 3: score = score * 2; // double it
line 4: score = score + 3; // add 3
line 5: show(score); // show it - 25.💡 Which app idea solves this problem: nobody knows whose bag it is? (a) a bill splitter (b) a homework planner (c) a medicine reminder (d) a lost-and-found board
- 26.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see the final score”? (a) see the final score (b) pick an answer
- 27.🔀 Why plan the user flow before building? (a) to skip testing (b) to hide the buttons (c) so each step is clear (d) to add more taps
-
28.📊 Survey: which problem bugs you most? Which problem should your app solve first?
forgetting birthdays: 5 votes
losing water bottles: 16 votes
missing the bus: 9 votes (a) forgetting birthdays (b) missing the bus (c) losing water bottles - 29.Which of these is true of a website? (a) comes from an app store (b) updates from the store (c) opens from a link (d) is installed on a phone
- 30.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) water animations (b) see today’s total (c) log a glass of water (d) set a reminder time
- 31.🔍 Which is the odd one out? (a) a racing challenge (b) a step counter (c) a cricket run chase (d) a puzzle with levels
- 32.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) home screen (c) tab bar (d) dead end
-
33.👆 The user types Kabir 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! (b) Kabir (c) Well done, nameBox.text! (d) Well done, Kabir! - 34.True or false: grey text on grey is good button design. (a) False (b) True
-
35.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 72 px tall
Send button: 36 px tall
Start button: 52 px tall (a) Send (b) Help (c) Start - 36.🔍 Which is the odd one out? (a) big touch targets (b) captions on videos (c) text that can grow (d) colour as the only clue
-
37.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(0)); -
38.🧪 What is the ACTUAL result of Test 3?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(650) → expected 40
Test 2: delivery(950) → expected 0
Test 3: delivery(1000) → expected 0 -
39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Help page”
2. open “Help page”
3. tap the Feed tab
4. open “Friend list”
5. open “Badges”
How many times must you tap Back to reach the main screen of this tab? - 40.🔢 In a sign-up flow, what comes right after “type name and email”? (a) see the home screen (b) open the app (c) tap “Sign up” (d) make a password
Answer key
- a final design
- 40
- Design A
- processing
- the idea stage
- 190
- Test 1
- hard to read
- location
- 2
- no quiet study place
- a parameter
- 3
- a tap event
- good design
- so users do not get lost
- 3
- 1
- OFF
- the phone is lost
- Welcome!
- False
- a health app
- 99
- a lost-and-found board
- pick an answer
- so each step is clear
- losing water bottles
- opens from a link
- water animations
- a step counter
- dead end
- Well done, Kabir!
- False
- Send
- colour as the only clue
- 60
- 0
- 2
- make a password
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students