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.💾 What number does this code show?
let score = 6;
score = score - 4;
score = score + 1;
show(score); - 2.True or false: an app needs no installing. (a) True (b) False
-
3.🧪 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(3) → expected Try again
Test 2: result(6) → expected Pass
Test 3: result(5) → expected Pass (a) Test 1 (b) Test 2 (c) Test 3 - 4.🌗 Is dark blue on white easy or hard to read on a button? (a) hard to read (b) easy to read
- 5.👥 A library app has 230 readers, 285 librarians and 185 volunteers as users. Which user group is the biggest? (a) readers (b) volunteers (c) librarians
- 6.🔁 A loop over a list of 5 items runs its body how many times? (a) 6 (b) 1 (c) 4 (d) 5
- 7.💡 Does an app idea like an app that just says hi solve a real problem? (a) No (b) Yes
-
8.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Results → Size → Cart → Pay → Menu
Design B: Home → Results → Shop → Address - 9.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
- 10.✏️ What is the easiest way to draw a first wireframe? (a) pencil and paper (b) a microphone (c) a 3D printer (d) a phone case
- 11.🧰 Why write a function? (a) to make code longer (b) to reuse code (c) to hide errors (d) to slow the app
-
12.🗒️ Version 1 of a pocket-money tracker must be ready in 7 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 4 days
show the balance: 2 days - 13.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new feature (b) a big redesign (c) a new app (d) a bug fix
- 14.💾 Saving data in the cloud lets you ___. (a) never need a password (b) skip the internet (c) shrink the app (d) use it on any device
-
15.🖼️ How many parts (boxes) does this wireframe have?
[ tab bar ]
[ title text ]
[ top bar ]
[ filter buttons ]
[ big picture ]
[ Save button ] -
16.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 1 days
show the score: 2 days - 17.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) show a question (b) an avatar shop (c) confetti effects (d) background music
- 18.🔢 In a photo-post flow, which comes first: “post the photo” or “add a filter”? (a) post the photo (b) add a filter
- 19.Which of these fits saving in the cloud? (a) chat messages to friends (b) your last game level (c) a draft you are typing (d) notes to read offline
-
20.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(16)); - 21.🚀 In version 2.5.1, which number is the major version? (a) 1 (b) 5 (c) 2 (d) 251
- 22.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) missing a must-have (c) well planned (d) ready to release
- 23.🔀 When does the else part run? (a) when the test is true (b) when the test is false (c) always (d) never
- 24.True or false: buttons almost touching is poor button design. (a) False (b) True
- 25.True or false: the search box changes is a timer event. (a) False (b) True
- 26.💡 Does an app idea like a library due-date alert solve a real problem? (a) Yes (b) No
- 27.🧭 Which part of navigation switches main sections? (a) a tab bar (b) a menu button (c) the back button
-
28.👆 The user taps the button 7 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) ON (b) OFF -
29.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 10, and 100 for everyone else.
function price(age) {
if (age < 10) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(10) → expected 100
Test 3: price(6) → expected 50 - 30.🧩 Which input is best for turning something ON or OFF? (a) a title (b) a slider (c) a text box (d) a switch
-
31.⚙️ What number does this app show?
let price = 95; // typed by the user
let qty = 5; // typed by the user
let total = price * qty;
show(total); - 32.Which of these is a button? (a) the game-over page (b) your friends list (c) tap to Send (d) the settings page
- 33.True or false: a beep sound is an input. (a) True (b) False
- 34.True or false: a lost-and-found board solves no real problem. (a) True (b) False
- 35.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) tap “Sign up” (c) type name and email (d) open the app
-
36.⚙️ What number does this app show?
let price = 80; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total); -
37.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Edit photo”
2. tap Back
3. open “Edit photo”
4. tap the Search tab
5. open “Friend list”
Which screen are you on now? (a) Edit photo (b) Home (c) Friend list (d) Search -
38.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(22)); - 39.🔍 Which is the odd one out? (a) the button colours (b) how easy sign-up is (c) the theme colours (d) the icon shapes
-
40.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Edit photo”
3. open “Friend list”
4. tap the Lessons tab
Which screen are you on now? (a) Edit photo (b) Friend list (c) Quiz (d) Lessons
Answer key
- 3
- False
- Test 3
- easy to read
- librarians
- 5
- No
- 2
- too much
- pencil and paper
- to reuse code
- 0
- a bug fix
- use it on any device
- 6
- 4
- show a question
- add a filter
- chat messages to friends
- 48
- 2
- missing a must-have
- when the test is false
- True
- False
- Yes
- a tab bar
- ON
- 3
- a switch
- 475
- tap to Send
- False
- False
- see the home screen
- 160
- Friend list
- 66
- how easy sign-up is
- Lessons
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students