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.📱 Which one has a web address: an app or a website? (a) an app (b) a website
-
2.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 49; // start at 49
line 2: coins = coins + 4; // add 4
line 3: coins = coins + 2; // double it
line 4: show(coins); // show it - 3.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
-
4.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Help button: 48 px tall
Save button: 24 px tall
Back button: 64 px tall
Start button: 72 px tall (a) Back (b) Save (c) Start (d) Help - 5.🔢 In a photo-post flow, which comes LAST? (a) open the camera screen (b) write a caption (c) add a filter (d) post the photo
-
6.⚙️ What number does this app show?
let bill = 210; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 7.Which of these is a button? (a) your high score (b) today’s step count (c) tap to Start (d) the log-in page
- 8.True or false: speaking a command is an output. (a) False (b) True
- 9.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
-
10.🔁 What is the LAST line this code shows?
let names = ["Meera", "Zoya", "Aman", "Riya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Meera (d) Hi, Aman - 11.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) helps nobody well (c) wins every prize (d) is easy to build
-
12.🧪 What is the ACTUAL result of Test 3?
🚚 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(800) → expected 0
Test 2: delivery(500) → expected 0
Test 3: delivery(400) → expected 40 - 13.Which of these is true of a website? (a) is installed on a phone (b) comes from an app store (c) has a web address (d) has a home-screen icon
-
14.⚙️ Which line does the processing (works out the answer)?
line 1: let km = 3; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 2 (c) line 1 - 15.🗒️ In MVP, the M stands for ___. (a) music (b) mobile (c) minimum (d) maximum
-
16.🧩 How many buttons does this app screen have?
[title] Add Homework
[text box] Name
[button] Done
[slider] Volume
[text box] Email -
17.🔁 What number does this code show?
let runs = [14, 91, 49, 21, 36];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 60) {
count = count + 1;
}
}
show(count); - 18.🔍 Which is the odd one out? (a) sudden loud sounds (b) colour as the only clue (c) icons with no labels (d) labels on every icon
- 19.True or false: a recipe finder is the best fit for a pupil juggling five projects. (a) False (b) True
-
20.🖼️ In this wireframe (top to bottom), what is right above the list of items?
[ top bar ]
[ search box ]
[ list of items ]
[ title text ]
[ tab bar ]
[ Save button ] (a) tab bar (b) title text (c) top bar (d) search box - 21.👆 An event in an app is ___. (a) a kind of list (b) an app store (c) a colour theme (d) something that happens
-
22.👆 The user taps the button 5 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 - 23.Which of these is true of a menu button? (a) opens a list of pages (b) shows 3 to 5 icons (c) switches main sections (d) undoes one move
- 24.Which of these is true of a wireframe? (a) uses the final pictures (b) looks like the real app (c) shows where things go (d) has the real colours
-
25.⚙️ What number does this app show?
let km = 10; // typed by the user
let metres = km * 1000;
show(metres); -
26.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Arjun", "Meera", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Arjun (c) Hi, Kabir (d) Hi, Meera - 27.🎨 Is this about UI or UX: how easy sign-up is? (a) UI (b) UX
- 28.🛠️ At which stage do you share the download link? (a) the build stage (b) the release stage (c) the plan stage (d) the test stage
- 29.True or false: a bus tracker is the best fit for a parent waiting at the bus stop. (a) True (b) False
- 30.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) take the photo (b) open the camera screen
- 31.🔍 Which is the odd one out? (a) pick the features (b) sketch the screens (c) try every button (d) draw the user flow
- 32.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a final design (b) a wireframe
- 33.🧭 What does the back button usually do? (a) goes to the last screen (b) deletes the page (c) closes all apps (d) opens settings
-
34.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Pens → Results → Menu → Pay
Design B: Home → Cart → Search → Pens (a) Design B (b) Design A -
35.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 43; // start at 43
line 2: score = score - 4; // take away 1
line 3: score = score + 2; // add 2
line 4: show(score); // show it (a) line 1 (b) line 2 (c) line 3 - 36.💡 How can you check that people really have the problem? (a) just guess (b) pick a colour (c) copy another app (d) ask possible users
- 37.True or false: the sound on/off setting fits saving in the cloud. (a) False (b) True
-
38.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(16)); - 39.🔍 Which is the odd one out? (a) a buzz (vibration) (b) a beep sound (c) a pop-up message (d) taking a photo
-
40.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(12) + fee(3));
Answer key
- a website
- 55
- a website
- Save
- post the photo
- 70
- tap to Start
- False
- one the app cannot skip
- Hi, Kabir
- helps nobody well
- 40
- has a web address
- line 2
- minimum
- 1
- 1
- labels on every icon
- False
- search box
- something that happens
- ON
- opens a list of pages
- shows where things go
- 10000
- Hi, Zoya
- UX
- the release stage
- True
- open the camera screen
- try every button
- a wireframe
- goes to the last screen
- Design B
- line 2
- ask possible users
- False
- 48
- taking a photo
- 60
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students