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 app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Map”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? -
2.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 2)); - 3.True or false: a page of random dots solves a real problem. (a) False (b) True
- 4.🚀 Your app is at version 1.7.5. The next release fixes a small bug. What is its version number? (a) 2.0.0 (b) 1.8.0 (c) 1.7.6 (d) 1.8.5
-
5.🔁 What number does this code show?
let scores = [38, 50, 22, 23, 12];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 40) {
count = count + 1;
}
}
show(count); -
6.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(3)); - 7.🔁 A loop over a list of 5 items runs its body how many times? (a) 5 (b) 1 (c) 4 (d) 6
- 8.🗒️ What is a must-have feature? (a) a sound effect (b) one the app cannot skip (c) a nice extra (d) a colour theme
- 9.Which of these is a user need? (a) a share button (b) a search bar (c) “What should I cook?” (d) a reminder alarm
- 10.🔐 Which permission does a bus tracker really need? (a) contacts (b) the camera (c) the microphone (d) location
- 11.🔀 When does the else part run? (a) never (b) when the test is true (c) always (d) when the test is false
-
12.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Start button: 52 px tall
Cancel button: 40 px tall
Save button: 48 px tall
Next button: 40 px tall - 13.♿ Does this help everyone, or make the app harder to use: sudden loud sounds? (a) makes it harder (b) helps everyone
-
14.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(0)); - 15.🔍 Which is the odd one out? (a) a cricket run chase (b) a puzzle with levels (c) a word battle (d) a flashcard trainer
- 16.True or false: buttons almost touching is good button design. (a) False (b) True
- 17.🧩 Which part lets the user give the app information? (a) an input (b) a title (c) an icon (d) a logo
-
18.🔁 What number does this code show?
let runs = [20, 20, 14];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 19.🔍 Which is the odd one out? (a) sorting the scores (b) a pop-up message (c) a beep sound (d) a buzz (vibration)
- 20.👥 A library app has 140 readers, 255 librarians and 165 volunteers as users. How many more volunteers than readers are there?
-
21.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 47; // start at 45
line 2: lives = lives * 2; // double it
line 3: lives = lives + 3; // add 3
line 4: show(lives); // show it - 22.👥 A school app has 55 students, 105 teachers and 75 parents as users. Which user group is the biggest? (a) parents (b) teachers (c) students
-
23.👆 The user types Riya in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Welcome, " + nameBox.text + "!";
}; (a) Welcome, Riya! (b) Welcome, nameBox.text! (c) Riya (d) Welcome! - 24.Which of these is true of a tab bar? (a) hides extra links (b) sits at the bottom (c) goes to the last screen (d) undoes one move
- 25.✏️ Do wireframes usually show the final colours? (a) Yes (b) No
- 26.🔍 Which is the odd one out? (a) a times-table quiz (b) a spelling coach (c) a flashcard trainer (d) a puzzle with levels
- 27.💾 Which works with no internet at all? (a) a cloud leaderboard (b) a cloud backup (c) a shared chat (d) data saved on the phone
- 28.True or false: a tiny 20 px button is good button design. (a) True (b) False
-
29.💾 What number does this code show?
let friends = ["Aman", "Zoya", "Meera"];
friends.push("Riya");
show(friends.length); - 30.🧰 What is a function? (a) a screen size (b) a named block of code (c) a list of colours (d) a type of phone
-
31.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 16 px
Footer: 18 px
Caption: 20 px
Menu: 9 px (a) Caption (b) Hint (c) Footer (d) Menu - 32.📅 An app team plans for 3 days, builds for 8 days, tests for 2 days and releases on 1 more day. How many more days does building take than testing?
-
33.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(5)); -
34.🔁 What number does this code show?
let scores = [4, 12, 7, 15, 19];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 35.True or false: a voice recorder needs your contacts. (a) True (b) False
- 36.🎯 What is the best first step to learn what users need? (a) ask and watch users (b) write the code (c) pick the colours (d) guess on your own
-
37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ Add button ]
[ list of items ]
[ tab bar ]
[ title text ]
[ Save button ] (a) list of items (b) tab bar (c) Add button (d) Save button -
38.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Settings tab
2. open “Edit photo”
3. tap the Feed tab
4. tap the Chat tab
How many times must you tap Back to reach the main screen of this tab? - 39.🗂️ What kind of app is a sleep tracker? (a) a learning app (b) a game (c) a tool app (d) a health app
- 40.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
Answer key
- 0
- 170
- False
- 1.7.6
- 1
- 80
- 5
- one the app cannot skip
- “What should I cook?”
- location
- when the test is false
- 2
- makes it harder
- 30
- a flashcard trainer
- False
- an input
- 54
- sorting the scores
- 25
- 93
- teachers
- Welcome, Riya!
- sits at the bottom
- No
- a puzzle with levels
- data saved on the phone
- False
- 4
- a named block of code
- Menu
- 6
- 10
- 57
- False
- ask and watch users
- Save button
- 0
- a health app
- a feature
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students