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.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 44 px tall. How many px taller must it be?
- 2.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) log a glass of water (d) share your streak
-
3.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Meera", "Aman", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Kabir (c) Hi, Meera (d) Hi, Aman - 4.Which of these is an input? (a) adding up a bill (b) typing your age (c) a pop-up message (d) a beep sound
-
5.🧩 How many buttons does this app screen have?
[title] Settings
[text box] Subject
[button] Send
[button] Save
[text box] City
[slider] Brightness
[switch] Sound
[button] Back -
6.💾 pop() takes off the last item. What does this code show?
let friends = ["Meera", "Aman", "Kabir", "Zoya", "Riya"];
friends.pop();
show(friends[friends.length - 1]); (a) Meera (b) Aman (c) Kabir (d) Zoya - 7.True or false: a clear word like Save is poor button design. (a) True (b) False
- 8.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) change the bus icon (b) a dark mode (c) rate the driver (d) see where the bus is
-
9.👆 The user taps the button 4 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
10.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 11 votes
wasting pocket money: 10 votes
forgetting homework: 22 votes - 11.🔁 What does a loop do? (a) draws icons (b) deletes code (c) saves photos (d) repeats code
- 12.✏️ What is the easiest way to draw a first wireframe? (a) a phone case (b) a 3D printer (c) pencil and paper (d) a microphone
- 13.🔍 Which is the odd one out? (a) the button colours (b) how users feel after (c) the screen layout (d) the theme colours
-
14.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Lessons tab
2. tap the Me tab
3. open “Score card”
4. open “Friend list”
5. open “Help page”
How many times must you tap Back to reach the main screen of this tab? - 15.💡 Does an app idea like a page of random dots solve a real problem? (a) No (b) Yes
- 16.🔢 In a sign-up flow, which comes first: “see the home screen” or “tap “Sign up””? (a) see the home screen (b) tap “Sign up”
- 17.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
-
18.🔁 What number does this code show?
let marks = [24, 79, 74];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 40) {
count = count + 1;
}
}
show(count); - 19.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) add money spent (c) export to a file (d) pie-chart colours
-
20.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(400) → expected 0
Test 2: delivery(150) → expected 40
Test 3: delivery(300) → expected 0 - 21.Which of these is an output? (a) typing your age (b) working out a tip (c) a result on screen (d) speaking a command
-
22.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(50, 6)); -
23.🖼️ In this wireframe (top to bottom), what is right above the Save button?
[ big picture ]
[ title text ]
[ Save button ]
[ search box ]
[ list of items ] (a) title text (b) list of items (c) search box (d) big picture - 24.♿ Does this help everyone, or make the app harder to use: big touch targets? (a) helps everyone (b) makes it harder
- 25.👥 A clinic app has 105 patients, 25 doctors and 135 nurses as users. Which user group is the biggest? (a) patients (b) doctors (c) nurses
-
26.🔀 What does this sign-up rule show?
let age = 8;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 27.🎨 Who should you test the UX with? (a) the app icon (b) real users (c) nobody (d) only yourself
- 28.Which of these is true of an app? (a) needs no installing (b) opens from a link (c) opens in a web browser (d) has a home-screen icon
- 29.🧰 What does return do in a function? (a) sends back a value (b) repeats the code (c) deletes the app (d) closes the screen
- 30.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a bug fix (b) a new app (c) a new feature (d) a big redesign
-
31.🔁 What number does this code show?
let marks = [37, 30, 31, 32];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 50) {
count = count + 1;
}
}
show(count); - 32.🔍 Which is the odd one out? (a) tiny tap areas (b) colour as the only clue (c) sudden loud sounds (d) big touch targets
- 33.🧩 In an app, what is the home page of an app? (a) a screen (b) a button (c) data (d) an input
-
34.🗒️ Version 1 of a water reminder must be ready in 16 days. How many days are left for extras after the must-haves?
set a reminder time: 4 days
log a glass of water: 4 days
see today’s total: 4 days - 35.True or false: chat messages to friends fits saving on the phone. (a) True (b) False
- 36.👥 A school app has 105 students, 290 teachers and 70 parents as users. How many users does it have in all?
-
37.🔀 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 -
38.💾 What does this code show? (Positions start at 0.)
let friends = ["Aman", "Riya", "Zoya"];
show(friends[2]); (a) Aman (b) Zoya (c) Riya - 39.True or false: a walking map needs your contacts. (a) False (b) True
- 40.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) log a glass of water (b) see today’s total (c) set a reminder time (d) water animations
Answer key
- 4
- log a glass of water
- Hi, Riya
- typing your age
- 3
- Zoya
- False
- see where the bus is
- 4
- 43
- repeats code
- pencil and paper
- how users feel after
- 3
- No
- tap “Sign up”
- a website
- 2
- add money spent
- 0
- a result on screen
- 300
- title text
- helps everyone
- nurses
- Ask a parent
- real users
- has a home-screen icon
- sends back a value
- a bug fix
- 0
- big touch targets
- a screen
- 4
- False
- 465
- Ask a parent
- Zoya
- False
- water animations
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students