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 app would help this user most: a cook with no idea for dinner? (a) a bus tracker (b) a pocket-money tracker (c) a recipe finder (d) a water reminder
- 2.🐞 Finding and fixing bugs is called ___. (a) decorating (b) designing (c) downloading (d) debugging
- 3.🧭 Tapping a tab usually takes you to ___. (a) the phone settings (b) a random page (c) that tab’s main screen (d) the last app used
- 4.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) shows where things go (d) looks like the real app
- 5.🐞 After fixing a bug you should ___. (a) delete the test (b) release at once (c) never test (d) test it again
- 6.True or false: how many taps it takes is about UX (the experience). (a) False (b) True
-
7.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Search → Pay
Design B: Home → Item → Search → Shop - 8.✏️ Do wireframes usually show the final colours? (a) No (b) Yes
-
9.🔁 What number does this code show?
let scores = [66, 81, 33, 66, 50];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); -
10.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. tap Back
3. tap the Profile tab
4. open “Edit photo”
5. tap Back
How many times must you tap Back to reach the main screen of this tab? -
11.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 48 px tall
Next button: 52 px tall
Cancel button: 48 px tall
Save button: 52 px tall -
12.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Aman", "Arjun", "Riya", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Kabir (c) Hi, Meera (d) Hi, Aman -
13.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Start
[switch] Show hints
[text box] Name
[button] Cancel
[button] Save
[text box] Age - 14.🗂️ What kind of app is a step counter? (a) a health app (b) a learning app (c) a tool app (d) a game
-
15.💾 What number does this code show?
let notes = ["Art", "Music"];
notes.push("Maths");
notes.push("Science");
show(notes.length); - 16.Which of these is a feature? (a) “Small text is hard” (b) “What should I cook?” (c) “I forget my homework” (d) a reminder alarm
- 17.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) pie-chart colours (b) show the balance (c) add money received (d) add money spent
- 18.👥 A school app has 70 students, 295 teachers and 165 parents as users. How many more teachers than students are there?
- 19.👥 A school app has 70 students, 180 teachers and 40 parents as users. How many more teachers than students are there?
-
20.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 42; // start at 40
line 2: coins = coins + 3; // add 3
line 3: coins = coins * 2; // double it
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 21.🎨 Is this about UI or UX: the theme colours? (a) UX (b) UI
-
22.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Kabir")); (a) Kabir (b) Hi, name! (c) Hi, Kabir! (d) greet -
23.👆 The user taps the button 6 times. What number does the label show now?
let coins = 0;
button.onTap = function () {
coins = coins + 3;
label.text = coins;
}; -
24.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 6)); - 25.🔢 After an app is released, which comes first: “test it again” or “release an update”? (a) release an update (b) test it again
- 26.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) False (b) True
- 27.Which of these is a screen? (a) tap to Send (b) your high score (c) the log-in page (d) your saved notes
-
28.👆 The user taps the button 3 times. What number does the label show now?
let score = 2;
button.onTap = function () {
score = score + 1;
label.text = score;
}; - 29.True or false: tapping a button is processing. (a) True (b) False
- 30.True or false: a party-invite app for friends needs your contacts. (a) False (b) True
- 31.True or false: the button colours is about UI (the look). (a) False (b) True
-
32.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 32; // start at 32
line 2: points = points * 2; // double it
line 3: points = points + 2; // add 2
line 4: points = points - 4; // add 4
line 5: show(points); // show it -
33.🔁 What number does this code show?
let runs = [19, 12, 6];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
34.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Send button: 56 px tall
Back button: 44 px tall
Cancel button: 48 px tall
Next button: 72 px tall (a) Next (b) Send (c) Back (d) Cancel - 35.🔢 In a sign-up flow, which comes first: “enter the code sent” or “open the app”? (a) enter the code sent (b) open the app
-
36.💾 pop() takes off the last item. What does this code show?
let friends = ["Meera", "Riya", "Arjun", "Kabir"];
friends.pop();
show(friends[friends.length - 1]); (a) Kabir (b) Riya (c) Meera (d) Arjun - 37.🗒️ When should nice-to-have features be built? (a) on day one (b) never (c) before anything (d) after the must-haves
- 38.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) log a glass of water (b) water animations (c) custom alert sounds (d) share your streak
- 39.True or false: a torch is a game. (a) True (b) False
-
40.🖼️ In this wireframe (top to bottom), what is right below the menu icon?
[ menu icon ]
[ Save button ]
[ Add button ]
[ top bar ] (a) top bar (b) Add button (c) Save button
Answer key
- a recipe finder
- debugging
- that tab’s main screen
- shows where things go
- test it again
- True
- 1
- No
- 4
- 0
- 4
- Hi, Meera
- 3
- a health app
- 4
- a reminder alarm
- pie-chart colours
- 225
- 110
- 172
- UI
- Hi, Kabir!
- 18
- 360
- test it again
- True
- the log-in page
- 5
- False
- True
- True
- 62
- 37
- Back
- open the app
- Arjun
- after the must-haves
- log a glass of water
- False
- Save button
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students