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.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Zoya")); (a) Welcome, Zoya! (b) greet (c) Zoya (d) Welcome, name! - 2.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) pick a theme colour (b) see tasks by day (c) share tasks to friends (d) earn stickers
- 3.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) pick one of two actions (d) draw a screen
-
4.👆 The user types Aman 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) Aman (c) Well done, Aman! (d) Well done, nameBox.text! - 5.🧪 A test case is an input together with its ___. (a) expected result (b) screen colour (c) app icon (d) font size
- 6.True or false: icons with no meaning is good button design. (a) False (b) True
- 7.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 1, 2, 3 (b) 3 (c) 0, 1, 2, 3 (d) 0, 1, 2
-
8.🔀 What does this battery rule show?
let battery = 22;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK - 9.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) see if it is right (c) tap “Start quiz” (d) see the final score
-
10.👆 The user taps the button 4 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 11.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) add a homework task (b) share tasks to friends (c) see tasks by day (d) set a due date
-
12.🗒️ Version 1 of a water reminder must be ready in 7 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 1 days
see today’s total: 3 days - 13.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a medicine reminder (b) a study-room finder (c) a homework planner (d) a bill splitter
- 14.🧪 What is the actual result of a test? (a) what the app really does (b) the test’s number (c) what we hope for (d) the app’s name
- 15.✏️ Why draw a wireframe before coding? (a) it saves data (b) changes are quick (c) it adds colours (d) it runs the app
-
16.👆 Two designs for the same task (each arrow is one tap). How many taps does Design A need?
Design A: Home → Results → Pens → Size → Confirm → Offers
Design B: Home → Results → Cart -
17.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 58; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 4 (b) line 3 (c) line 1 (d) line 2 - 18.🔁 What does a loop do? (a) draws icons (b) deletes code (c) saves photos (d) repeats code
-
19.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Menu: 22 px
Caption: 21 px
Footer: 27 px
Title: 11 px
Body text: 16 px (a) Title (b) Caption (c) Footer (d) Menu - 20.💾 Which can hold many values in order? (a) a single number (b) a button (c) a list (d) a switch
-
21.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ menu icon ]
[ top bar ]
[ tab bar ]
[ title text ]
[ list of items ]
[ search box ] (a) top bar (b) list of items (c) search box (d) tab bar -
22.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 11 votes
losing water bottles: 3 votes
no quiet study place: 21 votes - 23.True or false: an app that just says hi solves no real problem. (a) False (b) True
-
24.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Done button: 60 px tall
Back button: 28 px tall
Send button: 68 px tall (a) Send (b) Back (c) Done -
25.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Quiz tab
2. tap the Lessons tab
3. open “Help page”
4. open “Match report”
5. open “Video”
How many times must you tap Back to reach the main screen of this tab? - 26.🌐 Which program do you need to open a website? (a) a camera app (b) a calculator (c) an app store (d) a web browser
-
27.🔀 What does this battery rule show?
let battery = 79;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 28.True or false: you sketch the screens at the build stage. (a) True (b) False
-
29.🔁 What number does this code show?
let marks = [6, 16, 13];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); -
30.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Caption: 17 px
Title: 24 px
Body text: 28 px
Hint: 22 px
Label: 14 px (a) Title (b) Label (c) Caption (d) Body text - 31.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
- 32.🧭 Which part of navigation switches main sections? (a) a menu button (b) a tab bar (c) the back button
- 33.🚀 Which version is newer: 1.13.3 or 1.8.3? (a) 1.8.3 (b) 1.13.3
-
34.⚙️ What number does this app show?
let price = 230; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); - 35.True or false: a water reminder is the best fit for a runner who forgets to sip water. (a) False (b) True
-
36.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ menu icon ]
[ search box ]
[ tab bar ] (a) list of items (b) tab bar (c) search box (d) menu icon - 37.🧩 In an app, what is your saved notes? (a) an input (b) a button (c) a screen (d) data
- 38.👥 A library app has 135 readers, 125 librarians and 140 volunteers as users. How many more volunteers than librarians are there?
-
39.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Score card”
2. tap Back
3. open “Score card”
4. tap Back
Which screen are you on now? (a) Profile (b) Home (c) Search (d) Score card -
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 45; // start at 45
line 2: points = points + 6; // add 6
line 3: points = points * 3; // double it
line 4: show(points); // show it (a) line 1 (b) line 2 (c) line 3
Answer key
- Welcome, Zoya!
- see tasks by day
- pick one of two actions
- Well done, Aman!
- expected result
- False
- 0, 1, 2
- Battery OK
- see the final score
- 4
- share tasks to friends
- 0
- a study-room finder
- what the app really does
- changes are quick
- 5
- line 3
- repeats code
- Title
- a list
- search box
- 35
- True
- Back
- 3
- a web browser
- Battery OK
- False
- 35
- Label
- too much
- a tab bar
- 1.13.3
- 210
- True
- tab bar
- data
- 15
- Home
- line 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students