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.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a dead end (c) a random page (d) a clear next step
- 2.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
-
3.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right >= 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(4) → expected Try again
Test 2: result(6) → expected Pass
Test 3: result(8) → expected Pass -
4.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Friend list”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? -
5.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Order Snacks
[text box] Email
[button] Cancel - 6.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) confetti effects (b) an avatar shop (c) show a question (d) background music
- 7.Which of these fits saving in the cloud? (a) a draft you are typing (b) your last game level (c) the sound on/off setting (d) a shared to-do list
-
8.🔁 What number does this code show?
let steps = [6, 11, 12, 3, 13];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
9.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Score card”
2. open “Video”
3. open “Video”
4. tap Back
5. tap the Settings tab
Which screen are you on now? (a) Settings (b) Video (c) Score card (d) Feed - 10.👥 A library app has 85 readers, 275 librarians and 35 volunteers as users. Which user group is the biggest? (a) readers (b) librarians (c) volunteers
-
11.🗒️ Version 1 of a homework planner must be ready in 15 days. How many days are left for extras after the must-haves?
add a homework task: 4 days
set a due date: 3 days
see tasks by day: 3 days - 12.💡 Does an app idea like a bill splitter solve a real problem? (a) Yes (b) No
- 13.Which colour pair is hard to read? (a) white on black (b) red on green (c) black on pale grey (d) black on yellow
- 14.🔀 A screen with no way forward or back is called a ___. (a) shortcut (b) dead end (c) home screen (d) tab bar
-
15.🔀 What does this PIN rule show?
let pin = "4377";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 16.✏️ Is this true of a wireframe or of a final design: shows the real fonts? (a) a final design (b) a wireframe
-
17.📊 Survey: which problem bugs you most? How many students voted in all?
wasting pocket money: 16 votes
losing water bottles: 10 votes
forgetting homework: 8 votes -
18.🔀 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) Silver (b) Gold (c) Bronze - 19.🔢 After an app is released, what comes right after “read user reviews”? (a) fix and improve (b) release an update (c) test it again (d) list what to fix
- 20.Which of these fits saving in the cloud? (a) a draft you are typing (b) chat messages to friends (c) notes to read offline (d) your last game level
- 21.True or false: an app has a web address. (a) True (b) False
-
22.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(65, 3)); - 23.🚀 Which version is newer: 4.6.12 or 4.6.4? (a) 4.6.12 (b) 4.6.4
- 24.🎨 Is this about UI or UX: how fast a task is done? (a) UI (b) UX
- 25.Which of these is processing? (a) a result on screen (b) taking a photo (c) checking a password (d) speaking a command
-
26.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 40; // start at 40
line 2: stars = stars - 1; // take away 1
line 3: stars = stars - 6; // add 6
line 4: stars = stars * 2; // double it
line 5: show(stars); // show it (a) line 4 (b) line 2 (c) line 3 (d) line 1 - 27.💡 Which app idea solves this problem: the library is always full? (a) a lost-and-found board (b) a homework planner (c) a medicine reminder (d) a study-room finder
- 28.Which of these is an input? (a) a box to type a name (b) tap to Save (c) the log-in page (d) your high score
-
29.🔁 What number does this code show?
let runs = [8, 7, 2];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); -
30.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 275; // typed by the user
line 2: let friends = 5; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 2 (b) line 1 (c) line 4 (d) line 3 - 31.🔔 What is a message an app shows on your lock screen called? (a) a wireframe (b) a web address (c) a notification (d) a variable
- 32.🎯 What is the best first step to learn what users need? (a) ask and watch users (b) pick the colours (c) write the code (d) guess on your own
- 33.🔐 Which permission does a barcode scanner really need? (a) the microphone (b) location (c) the camera (d) contacts
-
34.👆 The user taps the button 2 times. What number does the label show now?
let coins = 0;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; - 35.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a medicine reminder (c) a homework planner (d) a lost-and-found board
- 36.Which of these fits saving in the cloud? (a) photos on two devices (b) notes to read offline (c) the sound on/off setting (d) your last game level
- 37.🧰 How do you run (call) a function called greet? (a) greet[] (b) #greet (c) greet() (d) run greet
-
38.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Riya")); (a) Welcome, name! (b) greet (c) Riya (d) Welcome, Riya! -
39.🗒️ Version 1 of a homework planner must be ready in 11 days. How many days are left for extras after the must-haves?
add a homework task: 2 days
set a due date: 1 days
see tasks by day: 5 days -
40.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Riya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Riya (c) Hi, Aman
Answer key
- a clear next step
- Yes
- 3
- 0
- 1
- show a question
- a shared to-do list
- 45
- Settings
- librarians
- 5
- Yes
- red on green
- dead end
- PIN saved
- a final design
- 34
- Gold
- list what to fix
- chat messages to friends
- False
- 195
- 4.6.12
- UX
- checking a password
- line 3
- a study-room finder
- a box to type a name
- 8
- line 3
- a notification
- ask and watch users
- the camera
- 2
- a study-room finder
- photos on two devices
- greet()
- Welcome, Riya!
- 3
- Hi, Aman
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students