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 version is newer: 4.3.12 or 4.3.4? (a) 4.3.12 (b) 4.3.4
- 2.♿ A screen has 8 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
-
3.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 12, and 100 for everyone else.
function price(age) {
if (age <= 12) {
return 50;
}
return 100;
}
Test 1: price(12) → expected 100
Test 2: price(9) → expected 50
Test 3: price(16) → expected 100 (a) Test 2 (b) Test 3 (c) Test 1 -
4.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Results → Shop → Offers → Address
Design B: Home → Cart → Shop → Pens -
5.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ title text ]
[ top bar ]
[ tab bar ]
[ menu icon ] (a) menu icon (b) tab bar (c) top bar (d) title text - 6.🛠️ At which stage do you list what users need? (a) the idea stage (b) the release stage (c) the test stage (d) the build stage
-
7.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(16)); -
8.🔁 What number does this code show?
let scores = [6, 7, 2];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 9.True or false: how fast a task is done is about UI (the look). (a) True (b) False
-
10.🧰 What does this code show?
function greet(name) {
return "Well done, " + name + "!";
}
show(greet("Zoya")); (a) Well done, name! (b) greet (c) Well done, Zoya! (d) Zoya - 11.Which of these is a user need? (a) a reminder alarm (b) a dark mode switch (c) “I keep missing the bus” (d) a share button
-
12.⚙️ What number does this app show?
let price = 540; // typed by the user
let off = 20; // typed by the user
let pay = price - off;
show(pay); -
13.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Friend list”
2. tap the Search tab
3. open “Video”
How many times must you tap Back to reach the main screen of this tab? - 14.True or false: checking a password is an output. (a) True (b) False
- 15.🚀 Your app is at version 2.6.3. The next release fixes a small bug. What is its version number? (a) 3.0.0 (b) 2.6.4 (c) 2.7.0 (d) 2.7.3
- 16.Which of these is true of a final design? (a) uses plain grey boxes (b) shows where things go (c) has the real colours (d) has no real colours
-
17.🔁 What number does this code show?
let runs = [5, 19, 6, 16];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); -
18.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Badges”
2. tap Back
3. tap the Search tab
How many times must you tap Back to reach the main screen of this tab? -
19.💾 What does this code show? (Positions start at 0.)
let friends = ["Zoya", "Riya", "Kabir", "Arjun", "Meera"];
show(friends[0]); (a) Arjun (b) Riya (c) Zoya (d) Kabir -
20.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Zoya")); (a) Hi, Zoya! (b) Hi, name! (c) greet (d) Zoya -
21.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 18 px
Title: 12 px
Menu: 18 px
Caption: 21 px (a) Caption (b) Menu (c) Title (d) Hint - 22.True or false: the log-in page is a button. (a) True (b) False
-
23.📊 Survey: which problem bugs you most? How many more votes did “no quiet study place” get than “missing the bus”?
missing the bus: 15 votes
forgetting birthdays: 25 votes
no quiet study place: 23 votes - 24.Which of these is true of the back button? (a) opens a list of pages (b) sits at the bottom (c) hides extra links (d) goes to the last screen
- 25.True or false: taking a photo is an input. (a) True (b) False
- 26.🧩 In an app, what is today’s step count? (a) an input (b) a screen (c) data (d) a button
-
27.👆 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) OFF (b) ON - 28.True or false: the screen layout is about UX (the experience). (a) True (b) False
-
29.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 50; // start at 50
line 2: points = points + 5; // add 3
line 3: points = points + 5; // add 5
line 4: show(points); // show it -
30.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 38; // start at 36
line 2: coins = coins + 2; // add 2
line 3: coins = coins - 4; // take away 4
line 4: coins = coins * 2; // double it
line 5: show(coins); // show it - 31.True or false: a wireframe uses the final pictures. (a) True (b) False
- 32.True or false: the font size is about UI (the look). (a) True (b) False
- 33.True or false: whether users get lost is about UX (the experience). (a) False (b) True
-
34.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 4 votes
no quiet study place: 7 votes
missing the bus: 11 votes - 35.Which of these happens at the build stage? (a) try every button (b) write the code (c) talk to possible users (d) sketch the screens
- 36.🔍 Which is the odd one out? (a) tiny tap areas (b) strong colour contrast (c) colour as the only clue (d) icons with no labels
- 37.🚀 Which version is newer: 1.9.2 or 1.14.0? (a) 1.9.2 (b) 1.14.0
-
38.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right >= 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Try again
Test 2: result(11) → expected Pass
Test 3: result(9) → expected Pass - 39.🔢 In a quiz-app flow, which comes first: “see if it is right” or “tap “Start quiz””? (a) tap “Start quiz” (b) see if it is right
-
40.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Subject
[button] Help
[button] Back
[button] Cancel
Answer key
- 4.3.12
- 6
- Test 1
- 1
- menu icon
- the idea stage
- 32
- 7
- False
- Well done, Zoya!
- “I keep missing the bus”
- 520
- 1
- False
- 2.6.4
- has the real colours
- 19
- 0
- Zoya
- Hi, Zoya!
- Title
- False
- 8
- goes to the last screen
- True
- data
- ON
- False
- 58
- 72
- False
- True
- True
- 22
- write the code
- strong colour contrast
- 1.14.0
- 3
- tap “Start quiz”
- 1
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students