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.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Meera (b) Hi, Meera! (c) Hi, nameBox.text! (d) Hi! - 2.True or false: you draw the user flow at the idea stage. (a) False (b) True
-
3.👆 The user taps the button 3 times. What number does the label show now?
let points = 2;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 4.Which of these happens at the test stage? (a) spot a problem to solve (b) sketch the screens (c) let friends try it (d) list what users need
-
5.🔁 What number does this code show?
let steps = [40, 27, 66, 63, 31];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 70) {
count = count + 1;
}
}
show(count); - 6.♿ A screen has 6 icon buttons. Only 5 of them have a text label for screen readers. How many still need a label?
- 7.🚀 In version 2.5.1, which number is the major version? (a) 2 (b) 1 (c) 251 (d) 5
-
8.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 46; // start at 43
line 2: stars = stars * 2; // double it
line 3: stars = stars + 3; // add 3
line 4: show(stars); // show it - 9.🗒️ A to-do app with no “add a task” feature is ___. (a) missing a must-have (b) a nice extra (c) ready to release (d) well planned
- 10.Which of these happens at the plan stage? (a) let friends try it (b) sketch the screens (c) write the code (d) talk to possible users
-
11.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(7)); - 12.🛠️ At which stage do you connect the data? (a) the idea stage (b) the release stage (c) the plan stage (d) the build stage
- 13.👥 A school app has 220 students, 285 teachers and 185 parents as users. How many more teachers than students are there?
- 14.🔢 In a food-order flow, what comes right after “open the menu”? (a) pay for the order (b) pick a dish (c) check the cart (d) add it to the cart
- 15.True or false: a finger hits Like is a timer event. (a) False (b) True
-
16.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Help page”
2. open “Friend list”
3. open “Video”
How many times must you tap Back to reach the main screen of this tab? -
17.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Map”
2. tap Back
3. open “Score card”
How many times must you tap Back to reach the main screen of this tab? -
18.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Pay → Address → Results → Cart → Menu → Search
Design B: Home → Shop → Offers → Cart → Pens -
19.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 35; // start at 35
line 2: stars = stars * 2; // double it
line 3: stars = stars - 5; // take away 2
line 4: stars = stars + 3; // add 3
line 5: show(stars); // show it -
20.🧪 One test case fails. Which one?
🎟️ 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(9) → expected 50
Test 2: price(16) → expected 100
Test 3: price(10) → expected 100 (a) Test 3 (b) Test 1 (c) Test 2 -
21.🗒️ Version 1 of a pocket-money tracker must be ready in 8 days. How many days are left for extras after the must-haves?
add money received: 3 days
add money spent: 2 days
show the balance: 2 days -
22.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 13, and 100 for everyone else.
function price(age) {
if (age < 13) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(12) → expected 50
Test 3: price(15) → expected 100 - 23.🧩 In an app, what is tap to Start? (a) a button (b) an input (c) data (d) a screen
- 24.Which of these fits saving on the phone? (a) chat messages to friends (b) a shared to-do list (c) a draft you are typing (d) photos on two devices
- 25.⚙️ In an app, is a result on screen an input, processing or an output? (a) processing (b) output (c) input
-
26.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 36; // start at 36
line 2: lives = lives + 5; // add 5
line 3: lives = lives - 3; // take away 2
line 4: show(lives); // show it - 27.📱 Which one needs no installing: an app or a website? (a) an app (b) a website
- 28.🔐 Which permission does a barcode scanner really need? (a) the camera (b) location (c) the microphone (d) contacts
-
29.🔀 What does this PIN rule show?
let pin = "61570";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 30.👥 A clinic app has 40 patients, 65 doctors and 280 nurses as users. Which user group is the biggest? (a) nurses (b) doctors (c) patients
- 31.🔍 Which is the odd one out? (a) the theme colours (b) the font size (c) how users feel after (d) the button colours
- 32.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) see today’s total (b) custom alert sounds (c) share your streak (d) water animations
- 33.🐞 What is a good first step when an app gives a wrong result? (a) buy a new phone (b) add more colours (c) find where it goes wrong (d) delete the app
- 34.True or false: a big, easy tap area is good button design. (a) True (b) False
- 35.🛠️ At which stage do you list what users need? (a) the release stage (b) the plan stage (c) the test stage (d) the idea stage
-
36.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Match report”
3. open “Map”
4. open “Edit photo”
5. tap Back
Which screen are you on now? (a) Lessons (b) Edit photo (c) Match report (d) Map -
37.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(5)); - 38.🔢 When you make an app, which comes first: “test the app” or “build the app”? (a) build the app (b) test the app
-
39.🗒️ Version 1 of a homework planner must be ready in 12 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 4 days
see tasks by day: 2 days - 40.🔢 In a sign-up flow, which comes first: “see the home screen” or “type name and email”? (a) type name and email (b) see the home screen
Answer key
- Hi, Meera!
- False
- 8
- let friends try it
- 0
- 1
- 2
- 89
- missing a must-have
- sketch the screens
- 14
- the build stage
- 65
- pick a dish
- False
- 3
- 1
- 2
- 71
- Test 3
- 1
- 3
- a button
- a draft you are typing
- output
- 38
- a website
- the camera
- Use 4 digits
- nurses
- how users feel after
- see today’s total
- find where it goes wrong
- True
- the idea stage
- Map
- 10
- build the app
- 3
- type name and email
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students