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 date picker is an input. (a) False (b) True
-
2.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Aman")); (a) Aman (b) Hi, Aman! (c) Hi, name! (d) greet -
3.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. tap Back
3. tap the Me tab
4. open “Edit photo”
5. tap Back
Which screen are you on now? (a) Match report (b) Me (c) Edit photo (d) Lessons -
4.🧩 Which of these is a button on this screen?
[title] Edit Profile
[text box] Age
[text box] Email
[button] Start
[text box] Name (a) Start (b) Name (c) Age (d) Email - 5.🔐 Which permission does a birthday list of friends really need? (a) the camera (b) contacts (c) the microphone (d) location
- 6.Which colour pair is easy to read? (a) red on green (b) dark blue on white (c) pale pink on white (d) dark blue on black
- 7.📱 Which one updates from the store: an app or a website? (a) an app (b) a website
-
8.👆 The user taps the button 3 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 - 9.True or false: today’s step count is data. (a) False (b) True
- 10.🔍 Which is the odd one out? (a) how easy sign-up is (b) the button colours (c) the icon shapes (d) the theme colours
- 11.🔢 After an app is released, which comes first: “test it again” or “read user reviews”? (a) test it again (b) read user reviews
-
12.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Email
[button] Next
[switch] Dark mode
[text box] Subject
[slider] Volume
[text box] Age - 13.🔍 Which is the odd one out? (a) a word battle (b) a unit converter (c) a cricket run chase (d) a racing challenge
-
14.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 34; // start at 32
line 2: points = points * 2; // double it
line 3: points = points + 6; // add 6
line 4: points = points * 2; // double it
line 5: show(points); // show it (a) line 3 (b) line 2 (c) line 4 (d) line 1 -
15.🗒️ Version 1 of a bus tracker must be ready in 5 days. How many days are left for extras after the must-haves?
see where the bus is: 1 days
show arrival time: 2 days
pick your bus stop: 2 days - 16.✏️ What is a wireframe? (a) the finished app (b) a simple screen sketch (c) a charging cable (d) a type of password
-
17.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. open “Map”
3. open “Score card”
4. open “Score card”
How many times must you tap Back to reach the main screen of this tab? - 18.🔍 Which is the odd one out? (a) strong colour contrast (b) text that can grow (c) colour as the only clue (d) big touch targets
- 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) take the photo (b) post the photo (c) open the camera screen (d) write a caption
-
20.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(450) → expected 40
Test 2: delivery(500) → expected 0
Test 3: delivery(700) → expected 0 (a) Test 3 (b) Test 1 (c) Test 2 -
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 35; // start at 35
line 2: score = score + 5; // add 3
line 3: score = score + 5; // add 5
line 4: show(score); // show it (a) line 3 (b) line 2 (c) line 1 - 22.🔐 Which permission does a barcode scanner really need? (a) location (b) the microphone (c) the camera (d) contacts
- 23.Which of these is a screen? (a) a slider for volume (b) a box to type a name (c) the log-in page (d) your friends list
- 24.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 25.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to reuse code (d) to slow the app
-
26.🧪 What is the ACTUAL result of Test 1?
🚚 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(500) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(200) → expected 40 - 27.🐞 What is a good first step when an app gives a wrong result? (a) find where it goes wrong (b) buy a new phone (c) add more colours (d) delete the app
-
28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 42; // start at 42
line 2: score = score - 1; // take away 1
line 3: score = score * 3; // double it
line 4: show(score); // show it (a) line 2 (b) line 1 (c) line 3 - 29.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) export to a file (d) add money spent
- 30.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a water reminder (b) a bus tracker (c) a pocket-money tracker (d) a big-text reader
- 31.True or false: a racing challenge is a tool app. (a) False (b) True
- 32.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) rate the driver (c) see where the bus is (d) a dark mode
-
33.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[text box] Name
[button] Start
[button] Back
[slider] Text size -
34.🧩 How many buttons does this app screen have?
[title] Add Homework
[switch] Dark mode
[text box] Notes
[button] Back - 35.Which of these is true of a wireframe? (a) has the real colours (b) shows the real fonts (c) has no real colours (d) uses the final pictures
-
36.⚙️ What number does this app show?
let km = 12; // typed by the user
let metres = km * 1000;
show(metres); - 37.True or false: a free study-room finder solves a real problem. (a) True (b) False
- 38.🧰 What is a function? (a) a list of colours (b) a type of phone (c) a named block of code (d) a screen size
- 39.🔍 Which is the odd one out? (a) try every button (b) let friends try it (c) write down the bugs (d) write the store text
-
40.🗒️ Version 1 of a water reminder must be ready in 8 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 2 days
see today’s total: 3 days
Answer key
- True
- Hi, Aman!
- Me
- Start
- contacts
- dark blue on white
- an app
- ON
- True
- how easy sign-up is
- read user reviews
- 5
- a unit converter
- line 1
- 0
- a simple screen sketch
- 4
- colour as the only clue
- write a caption
- Test 2
- line 2
- the camera
- the log-in page
- 4
- to reuse code
- 0
- find where it goes wrong
- line 3
- add money spent
- a water reminder
- False
- see where the bus is
- 2
- 1
- has no real colours
- 12000
- True
- a named block of code
- write the store text
- 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students