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 part lets the user give the app information? (a) a logo (b) a title (c) an input (d) an icon
-
2.🔁 What number does this code show?
let steps = [4, 6, 19, 17];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 3.🔢 In a sign-up flow, what comes right after “make a password”? (a) see the home screen (b) tap “Sign up” (c) enter the code sent (d) type name and email
-
4.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Kabir")); (a) Hi, name! (b) Kabir (c) Hi, Kabir! (d) greet -
5.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 25 px
Title: 14 px
Body text: 19 px
Menu: 24 px (a) Hint (b) Menu (c) Body text (d) Title - 6.🔢 After an app is released, which comes FIRST? (a) release an update (b) test it again (c) read user reviews (d) list what to fix
- 7.🗂️ What kind of app is a torch? (a) a health app (b) a learning app (c) a tool app (d) a game
- 8.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a bug fix (c) a new feature (d) a big redesign
-
9.🧪 One test case fails. Which one?
📝 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(7) → expected Pass
Test 2: result(3) → expected Try again
Test 3: result(6) → expected Pass (a) Test 1 (b) Test 3 (c) Test 2 - 10.Which of these is true of an app? (a) opens in a web browser (b) has a home-screen icon (c) opens from a link (d) has a web address
- 11.♿ Showing right or wrong only in red and green is a problem for ___. (a) colour-blind users (b) the battery (c) the server (d) fast typists
- 12.True or false: the screen first opens is a text event. (a) True (b) False
- 13.🔀 Why plan the user flow before building? (a) so each step is clear (b) to add more taps (c) to hide the buttons (d) to skip testing
-
14.🖼️ In this wireframe (top to bottom), what is right above the big picture?
[ Save button ]
[ Add button ]
[ big picture ]
[ top bar ]
[ search box ]
[ tab bar ] (a) Save button (b) tab bar (c) Add button (d) search box - 15.🔢 In a quiz-app flow, which comes first: “see if it is right” or “pick an answer”? (a) pick an answer (b) see if it is right
-
16.⚙️ What number does this app show?
let km = 3; // typed by the user
let metres = km * 1000;
show(metres); - 17.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) makes it harder (b) helps everyone
- 18.📱 Which one opens in a web browser: an app or a website? (a) an app (b) a website
- 19.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) a reminder alarm (d) “I forget my homework”
- 20.🔐 Which permission does a party-invite app for friends really need? (a) the microphone (b) location (c) the camera (d) contacts
- 21.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
-
22.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Shop → Confirm → Pens
Design B: Home → Menu → Pay - 23.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) a shared to-do list (d) a draft you are typing
- 24.🔐 Is this permission request fair or too much: quiz app → microphone? (a) fair (b) too much
-
25.🔀 What does this battery rule show?
let battery = 62;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 26.👥 A school app has 215 students, 230 teachers and 45 parents as users. Which user group is the biggest? (a) teachers (b) students (c) parents
-
27.🔁 What number does this code show?
let runs = [5, 15, 2, 9];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); -
28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 33; // start at 33
line 2: coins = coins + 2; // add 2
line 3: coins = coins + 2; // double it
line 4: coins = coins + 2; // add 2
line 5: show(coins); // show it (a) line 2 (b) line 3 (c) line 4 (d) line 1 -
29.🔁 What number does this code show?
let runs = [6, 18, 3];
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 km = 5; // typed by the user
line 2: let metres = km * 1000;
line 3: show(metres); (a) line 3 (b) line 2 (c) line 1 - 31.🧩 In an app, what is your high score? (a) a screen (b) an input (c) a button (d) data
- 32.🧭 Tapping a tab usually takes you to ___. (a) the last app used (b) the phone settings (c) a random page (d) that tab’s main screen
- 33.Which of these is true of an app? (a) opens from a link (b) is installed on a phone (c) needs no installing (d) opens in a web browser
- 34.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
- 35.Which of these is true of a final design? (a) is a quick sketch (b) uses plain grey boxes (c) shows where things go (d) uses the final pictures
- 36.True or false: space between buttons is poor button design. (a) True (b) False
-
37.⚙️ What number does this app show?
let bill = 48; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 38.🧭 Where is a tab bar usually placed in a phone app? (a) nowhere (b) at the bottom (c) in the middle (d) inside a button
- 39.True or false: how fast a task is done is about UX (the experience). (a) True (b) False
-
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 47; // start at 47
line 2: points = points - 1; // take away 1
line 3: points = points * 3; // double it
line 4: show(points); // show it (a) line 2 (b) line 3 (c) line 1
Answer key
- an input
- 46
- enter the code sent
- Hi, Kabir!
- Title
- read user reviews
- a tool app
- a bug fix
- Test 3
- has a home-screen icon
- colour-blind users
- False
- so each step is clear
- Add button
- pick an answer
- 3000
- helps everyone
- a website
- a reminder alarm
- contacts
- an app
- 1
- a draft you are typing
- too much
- Battery OK
- teachers
- 15
- line 3
- 18
- line 2
- data
- that tab’s main screen
- is installed on a phone
- when the test is false
- uses the final pictures
- False
- 16
- at the bottom
- True
- line 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students