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 versions is the OLDEST?
2.8.4, 2.7.9, 1.30.3, 2.2.5 (a) 2.7.9 (b) 2.2.5 (c) 2.8.4 (d) 1.30.3 - 2.👆 “On tap → do this” links an event to ___. (a) an action (b) a charger (c) a font (d) a web address
- 3.🔐 A torch app asks for your contacts. What should you do? (a) share them all (b) deny it (c) allow it (d) post them online
-
4.🔀 What number does this shop app show?
let total = 510;
if (total > 500) {
total = total - 50;
}
show(total); - 5.Which of these is an input? (a) your saved notes (b) a slider for volume (c) tap to Save (d) tap to Send
-
6.💾 What does this code show? (Positions start at 0.)
let notes = ["Sports", "Science", "Maths"];
show(notes[1]); (a) Science (b) Maths (c) Sports - 7.True or false: a selfie sticker app needs the microphone. (a) False (b) True
-
8.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Aman (b) Hi, Aman! (c) Hi, nameBox.text! (d) Hi! -
9.🔀 What does this PIN rule show?
let pin = "644";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits -
10.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(60, 5)); - 11.Which colour pair is easy to read? (a) dark blue on white (b) light grey on white (c) pale pink on white (d) dark blue on black
-
12.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. tap the Profile tab
3. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 13.🗂️ What kind of app is a calculator? (a) a health app (b) a game (c) a learning app (d) a tool app
- 14.Which of these is a user need? (a) “Small text is hard” (b) a share button (c) a dark mode switch (d) a reminder alarm
- 15.True or false: a big-text reader is the best fit for a pupil juggling five projects. (a) True (b) False
- 16.🔘 Is this good or poor button design: a clear word like Save? (a) good design (b) poor design
-
17.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Results → Cart → Size → Menu → Address → Confirm
Design B: Home → Confirm → Search → Address -
18.💾 pop() takes off the last item. What does this code show?
let songs = ["Sunrise", "Monsoon", "Kites"];
songs.pop();
show(songs[songs.length - 1]); (a) Sunrise (b) Monsoon (c) Kites -
19.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Add button ]
[ filter buttons ]
[ search box ]
[ title text ]
[ top bar ]
[ menu icon ] (a) filter buttons (b) menu icon (c) Add button (d) search box -
20.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 70; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 2 (b) line 4 (c) line 3 (d) line 1 -
21.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 22.True or false: a bus tracker is the best fit for a parent waiting at the bus stop. (a) True (b) False
- 23.🗒️ What is a must-have feature? (a) a nice extra (b) one the app cannot skip (c) a sound effect (d) a colour theme
-
24.🔁 What number does this code show?
let runs = [20, 1, 12, 12];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
25.💾 pop() takes off the last item. What does this code show?
let friends = ["Arjun", "Kabir", "Meera", "Riya"];
friends.pop();
show(friends[friends.length - 1]); (a) Kabir (b) Arjun (c) Riya (d) Meera -
26.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, nameBox.text! (b) Well done! (c) Well done, Aman! (d) Aman - 27.🔐 Which permission does a bus tracker really need? (a) the microphone (b) location (c) contacts (d) the camera
- 28.True or false: a word battle is a game. (a) True (b) False
- 29.Which of these fits saving in the cloud? (a) notes to read offline (b) your last game level (c) a shared to-do list (d) a draft you are typing
- 30.🌗 Is black on yellow easy or hard to read on a button? (a) easy to read (b) hard to read
-
31.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Caption: 13 px
Title: 11 px
Body text: 24 px - 32.🔁 What does a loop do? (a) repeats code (b) saves photos (c) draws icons (d) deletes code
-
33.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(95, 5)); -
34.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 32 px tall
Cancel button: 52 px tall
Save button: 60 px tall - 35.🔢 When you make an app, what comes right after “plan the screens”? (a) test the app (b) get an idea (c) release it (d) build the app
-
36.🧪 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(6) → expected 50
Test 2: price(10) → expected 100
Test 3: price(12) → expected 100 -
37.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done, nameBox.text! (b) Well done, Meera! (c) Well done! (d) Meera -
38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 28 px tall
Next button: 48 px tall
Back button: 68 px tall
Send button: 68 px tall (a) Send (b) Save (c) Back (d) Next - 39.✏️ A box with a cross in a wireframe usually means ___. (a) delete this (b) a closed app (c) an error (d) a picture goes here
-
40.⚙️ What number does this app show?
let price = 140; // typed by the user
let off = 30; // typed by the user
let pay = price - off;
show(pay);
Answer key
- 1.30.3
- an action
- deny it
- 460
- a slider for volume
- Science
- False
- Hi, Aman!
- Use 4 digits
- 300
- dark blue on white
- 1
- a tool app
- “Small text is hard”
- False
- good design
- 3
- Monsoon
- menu icon
- line 3
- Ask a parent
- True
- one the app cannot skip
- 45
- Meera
- Well done, Aman!
- location
- True
- a shared to-do list
- easy to read
- 2
- repeats code
- 475
- 2
- build the app
- 2
- Well done, Meera!
- Save
- a picture goes here
- 110
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students