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: an app comes from an app store. (a) False (b) True
-
2.📊 Survey: which problem bugs you most? Which problem should your app solve first?
no quiet study place: 9 votes
wasting pocket money: 4 votes
forgetting homework: 10 votes (a) forgetting homework (b) no quiet study place (c) wasting pocket money -
3.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 48 px tall
Send button: 64 px tall
Start button: 24 px tall (a) Start (b) Send (c) Cancel - 4.⚙️ In an app, is typing your age an input, processing or an output? (a) processing (b) input (c) output
-
5.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Kabir", "Arjun", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Kabir (b) Hi, Zoya (c) Hi, Aman (d) Hi, Meera -
6.🗒️ Version 1 of a bus tracker must be ready in 13 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 4 days
pick your bus stop: 2 days -
7.🔁 What number does this code show?
let marks = [13, 15, 17, 15, 12];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 8.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
- 9.🎯 Which app would help this user most: a pupil juggling five projects? (a) a bus tracker (b) a homework planner (c) a recipe finder (d) a pocket-money tracker
- 10.Which of these is true of the back button? (a) opens a list of pages (b) switches main sections (c) sits at the bottom (d) undoes one move
- 11.Which of these is about UX (the experience)? (a) the icon shapes (b) the button colours (c) the theme colours (d) how fast a task is done
- 12.🔀 What is a user flow? (a) the path through screens (b) a charging cable (c) a colour theme (d) a type of font
- 13.🔐 Which permission does a birthday list of friends really need? (a) the microphone (b) the camera (c) contacts (d) location
-
14.👆 The user taps the button 3 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 15.Which of these fits saving in the cloud? (a) the sound on/off setting (b) chat messages to friends (c) your last game level (d) notes to read offline
- 16.🗒️ In MVP, the M stands for ___. (a) minimum (b) mobile (c) maximum (d) music
-
17.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 5 or more right answers.
function result(right) {
if (right > 5) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Pass
Test 2: result(2) → expected Try again
Test 3: result(5) → expected Pass (a) Test 2 (b) Test 3 (c) Test 1 - 18.⚙️ In an app, is tapping a button an input, processing or an output? (a) processing (b) output (c) input
-
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.✏️ A box with a cross in a wireframe usually means ___. (a) a closed app (b) an error (c) delete this (d) a picture goes here
-
21.🚀 Which of these versions is the OLDEST?
4.5.4, 4.10.2, 4.2.2, 3.23.6 (a) 4.5.4 (b) 4.10.2 (c) 4.2.2 (d) 3.23.6 - 22.🔐 Is this permission request fair or too much: calling app → contacts? (a) too much (b) fair
- 23.👥 A clinic app has 210 patients, 230 doctors and 290 nurses as users. How many users does it have in all?
- 24.♿ Accessibility means an app works for ___. (a) only the coder (b) everyone (c) only experts (d) nobody
-
25.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 28 px tall
Back button: 60 px tall
Save button: 56 px tall (a) Back (b) Send (c) Save - 26.🧪 A test case is an input together with its ___. (a) screen colour (b) font size (c) expected result (d) app icon
-
27.🔁 What number does this code show?
let marks = [31, 14, 33, 33];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 60) {
count = count + 1;
}
}
show(count); - 28.🚀 Which version is newer: 2.2.12 or 2.2.9? (a) 2.2.12 (b) 2.2.9
- 29.💾 In most code, the first item of a list is at position ___. (a) 2 (b) 0 (c) 10 (d) 1
-
30.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 230; // typed by the user
line 2: let off = 20; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 2 (b) line 4 (c) line 1 (d) line 3 -
31.🔁 What number does this code show?
let runs = [1, 5, 3];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); -
32.💾 What number does this code show?
let notes = ["Art", "Maths"];
notes.push("Music");
notes.push("Hindi");
show(notes.length); - 33.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
34.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 37; // start at 37
line 2: score = score * 3; // double it
line 3: score = score + 2; // add 2
line 4: show(score); // show it -
35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 40; // start at 39
line 2: stars = stars + 4; // add 4
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it - 36.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
-
37.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(20, 6)); -
38.👆 The user taps the button 3 times. What number does the label show now?
let stars = 3;
button.onTap = function () {
stars = stars + 4;
label.text = stars;
}; -
39.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(35, 2)); - 40.🛠️ At which stage do you spot a problem to solve? (a) the plan stage (b) the idea stage (c) the release stage (d) the build stage
Answer key
- True
- forgetting homework
- Start
- input
- Hi, Meera
- 4
- 72
- UX
- a homework planner
- undoes one move
- how fast a task is done
- the path through screens
- contacts
- 3
- chat messages to friends
- minimum
- Test 3
- input
- OFF
- a picture goes here
- 3.23.6
- fair
- 730
- everyone
- Send
- expected result
- 0
- 2.2.12
- 0
- line 3
- 5
- 4
- on the phone
- 76
- 86
- add a filter
- 120
- 15
- 70
- the idea stage
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students