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 of these is data? (a) today’s step count (b) a date picker (c) the game-over page (d) the settings page
- 2.🧰 In function tip(bill), what is bill? (a) an event (b) a parameter (c) a loop (d) a screen
- 3.🗂️ What kind of app is a times-table quiz? (a) a game (b) a learning app (c) a health app (d) a tool app
-
4.🔀 What does this battery rule show?
let battery = 25;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
5.👆 The user types Arjun in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello! (b) Arjun (c) Hello, Arjun! (d) Hello, nameBox.text! - 6.🔢 In a sign-up flow, what comes right after “open the app”? (a) enter the code sent (b) tap “Sign up” (c) type name and email (d) make a password
- 7.True or false: a button with no action solves a real problem. (a) True (b) False
-
8.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Menu: 11 px
Footer: 22 px
Label: 16 px
Hint: 21 px -
9.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 420; // 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 3 (b) line 1 (c) line 4 (d) line 2 - 10.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
- 11.Which of these is about UI (the look)? (a) how many taps it takes (b) how easy sign-up is (c) the font size (d) how users feel after
- 12.Which of these makes the app harder to use? (a) strong colour contrast (b) text that can grow (c) big touch targets (d) tiny tap areas
- 13.♿ Does this help everyone, or make the app harder to use: text that can grow? (a) makes it harder (b) helps everyone
- 14.🔍 Which is the odd one out? (a) sorting the scores (b) a beep sound (c) a buzz (vibration) (d) a pop-up message
-
15.💾 pop() takes off the last item. What does this code show?
let friends = ["Aman", "Meera", "Zoya", "Arjun"];
friends.pop();
show(friends[friends.length - 1]); (a) Arjun (b) Aman (c) Zoya (d) Meera - 16.🧰 What does return do in a function? (a) sends back a value (b) closes the screen (c) repeats the code (d) deletes the app
-
17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Match report”
3. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 18.🔁 list.length tells you ___. (a) the last item (b) how many items it has (c) the first item (d) the biggest item
-
19.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(3) + fee(7)); - 20.Which of these is an input? (a) the home page of an app (b) a switch for dark mode (c) your saved notes (d) your high score
-
21.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 10 px
Menu: 22 px
Hint: 11 px
Body text: 24 px - 22.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) background music (b) confetti effects (c) an avatar shop (d) check the answer
-
23.🧩 How many buttons does this app screen have?
[title] Settings
[button] Save
[slider] Text size
[switch] Show hints
[text box] Subject - 24.🔍 Which is the odd one out? (a) taking a photo (b) speaking a command (c) tapping a button (d) working out a tip
-
25.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Done
[text box] City
[switch] Sound
[button] Cancel -
26.🔁 What number does this code show?
let scores = [9, 1, 10];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 27.🧑 Who is an app really made for? (a) its users (b) its coder only (c) its icon (d) its charger
-
28.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 47; // start at 44
line 2: stars = stars * 2; // double it
line 3: stars = stars - 4; // take away 4
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 - 29.🔢 In a quiz-app flow, which comes LAST? (a) tap “Start quiz” (b) see the final score (c) read a question (d) see if it is right
- 30.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what we hope for (d) what the app really does
- 31.🚀 Which version is newer: 3.3.2 or 3.18.3? (a) 3.3.2 (b) 3.18.3
-
32.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 43; // start at 43
line 2: stars = stars + 7; // add 5
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it (a) line 3 (b) line 1 (c) line 2 -
33.👆 The user taps the button 7 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
34.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Search → Menu → Confirm
Design B: Home → Shop → Pens → Pay → Results → Size → Cart (a) Design B (b) Design A - 35.🚀 Your app is at version 1.6.7. The next release adds a new feature. What is its version number? (a) 1.7.7 (b) 1.7.0 (c) 2.0.0 (d) 1.6.8
- 36.True or false: “tiny tap areas” helps everyone use the app. (a) True (b) False
- 37.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
- 38.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
-
39.⚙️ What number does this app show?
let bill = 195; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 40.💾 Where should the app save a class leaderboard: on the phone or in the cloud? (a) in the cloud (b) on the phone
Answer key
- today’s step count
- a parameter
- a learning app
- Battery OK
- Hello, Arjun!
- tap “Sign up”
- False
- 1
- line 3
- True
- the font size
- tiny tap areas
- helps everyone
- sorting the scores
- Zoya
- sends back a value
- 2
- how many items it has
- 30
- a switch for dark mode
- 2
- check the answer
- 1
- working out a tip
- 2
- 20
- its users
- line 1
- see the final score
- what the app really does
- 3.18.3
- line 2
- 3
- Design A
- 1.7.0
- False
- Yes
- a user need
- 65
- in the cloud
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students