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.👆 A tap handler runs how many times if the user taps 4 times? (a) 1 (b) 8 (c) 0 (d) 4
-
2.👆 The user taps the button 6 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 -
3.💾 What does this code show? (Positions start at 0.)
let notes = ["Music", "Art", "Hindi", "Maths"];
show(notes[2]); (a) Art (b) Hindi (c) Maths (d) Music -
4.🔁 What number does this code show?
let steps = [8, 12, 19];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Help page”
3. tap Back
4. tap the Search tab
5. open “Edit photo”
Which screen are you on now? (a) Home (b) Help page (c) Search (d) Edit photo -
6.👆 The user taps the button 6 times. What number does the label show now?
let score = 0;
button.onTap = function () {
score = score + 1;
label.text = score;
}; -
7.⚙️ What number does this app show?
let bill = 350; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); -
8.👆 The user taps the button 1 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 -
9.👆 The user taps the button 3 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 - 10.True or false: buttons almost touching is poor button design. (a) True (b) False
- 11.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) add money received (b) export to a file (c) add money spent (d) show the balance
- 12.🧑 Who is an app really made for? (a) its charger (b) its coder only (c) its users (d) its icon
- 13.🧩 In an app, what is a box to type a name? (a) an input (b) data (c) a screen (d) a button
- 14.Which of these helps everyone use the app? (a) text that can grow (b) icons with no labels (c) tiny tap areas (d) colour as the only clue
- 15.🔢 When you make an app, which comes first: “build the app” or “test the app”? (a) test the app (b) build the app
-
16.🗒️ Version 1 of a homework planner must be ready in 10 days. How many days are left for extras after the must-haves?
add a homework task: 1 days
set a due date: 3 days
see tasks by day: 4 days - 17.🚀 Your app is at version 1.3.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 1.3.4 (b) 1.4.0 (c) 1.4.3 (d) 2.0.0
- 18.💡 Which app idea solves this problem: students cannot find a quiet room? (a) a study-room finder (b) a medicine reminder (c) a bill splitter (d) a lost-and-found board
- 19.True or false: a weather-near-me app needs the microphone. (a) False (b) True
-
20.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Confirm → Pay → Address → Size
Design B: Home → Pay → Confirm → Shop → Cart → Menu → Offers - 21.Which of these is true of a wireframe? (a) shows where things go (b) looks like the real app (c) has the real colours (d) shows the real fonts
-
22.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Add Homework
[button] Next
[text box] Phone
[slider] Volume
[text box] Email -
23.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Cart → Shop
Design B: Home → Search → Menu → Size (a) Design B (b) Design A - 24.💡 Which app idea solves this problem: friends argue over who pays? (a) a study-room finder (b) a lost-and-found board (c) a homework planner (d) a bill splitter
-
25.🧩 How many buttons does this app screen have?
[title] Sign Up
[button] Done
[button] Cancel
[text box] Notes
[button] Start - 26.True or false: a lost-and-found board solves a real problem. (a) True (b) False
- 27.🛠️ At which stage do you write the store text? (a) the build stage (b) the idea stage (c) the release stage (d) the plan stage
-
28.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(8) + fee(4)); - 29.🧰 What is a function? (a) a type of phone (b) a named block of code (c) a screen size (d) a list of colours
- 30.Which of these fits saving on the phone? (a) chat messages to friends (b) a class leaderboard (c) photos on two devices (d) the sound on/off setting
-
31.🧩 How many buttons does this app screen have?
[title] Settings
[button] Send
[switch] Show hints
[text box] Due date
[button] Back - 32.🧪 A test fails when ___. (a) the app is new (b) the font is big (c) actual is not expected (d) both are the same
-
33.📊 Survey: which problem bugs you most? How many more votes did “forgetting birthdays” get than “missing the bus”?
forgetting homework: 6 votes
forgetting birthdays: 21 votes
missing the bus: 14 votes -
34.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(55, 3)); -
35.🗒️ Version 1 of a water reminder must be ready in 6 days. How many days are left for extras after the must-haves?
set a reminder time: 1 days
log a glass of water: 1 days
see today’s total: 3 days - 36.True or false: a party-invite app for friends needs your contacts. (a) True (b) False
-
37.🔁 What number does this code show?
let scores = [16, 20, 10, 14];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 38.True or false: a final design has no real colours. (a) True (b) False
-
39.🔀 Which badge does this quiz app show?
let marks = 71;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Gold (b) Bronze (c) Silver -
40.⚙️ What number does this app show?
let price = 500; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay);
Answer key
- 4
- OFF
- Hindi
- 39
- Edit photo
- 6
- 70
- ON
- ON
- True
- export to a file
- its users
- an input
- text that can grow
- build the app
- 2
- 2.0.0
- a study-room finder
- False
- 6
- shows where things go
- 3
- Design A
- a bill splitter
- 3
- True
- the release stage
- 20
- a named block of code
- the sound on/off setting
- 2
- actual is not expected
- 7
- 165
- 1
- True
- 60
- False
- Silver
- 490
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students