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.🔁 What is the LAST line this code shows?
let names = ["Riya", "Meera", "Arjun", "Kabir", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Riya (b) Hi, Meera (c) Hi, Arjun (d) Hi, Zoya - 2.👆 “On tap → do this” links an event to ___. (a) an action (b) a web address (c) a charger (d) a font
-
3.👆 The user taps the button 2 times. What number does the label show now?
let lives = 8;
button.onTap = function () {
lives = lives + 3;
label.text = lives;
}; -
4.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. tap Back
3. open “Map”
How many times must you tap Back to reach the main screen of this tab? - 5.Which of these happens at the plan stage? (a) write the store text (b) try every button (c) share the download link (d) pick the features
-
6.🔁 What number does this code show?
let scores = [12, 2, 18, 16, 5];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 7.🌗 Is pale pink on white easy or hard to read on a button? (a) hard to read (b) easy to read
-
8.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. tap Back
3. tap the Lessons tab
How many times must you tap Back to reach the main screen of this tab? - 9.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “make a password”? (a) tap “Sign up” (b) make a password
- 10.Which of these happens at the plan stage? (a) write the code (b) let friends try it (c) connect the data (d) draw the user flow
- 11.🎯 Is this a user need or a feature: “I forget my homework”? (a) a feature (b) a user need
- 12.💡 Which app idea solves this problem: friends argue over who pays? (a) a medicine reminder (b) a homework planner (c) a bill splitter (d) a study-room finder
-
13.💾 What number does this code show?
let points = 9;
points = points - 2;
points = points + 4;
show(points); -
14.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; -
15.🚀 Which of these versions is the NEWEST?
3.16.6, 3.5.9, 2.29.0, 3.17.6 (a) 3.5.9 (b) 3.16.6 (c) 2.29.0 (d) 3.17.6 - 16.✏️ Is this true of a wireframe or of a final design: looks like the real app? (a) a wireframe (b) a final design
- 17.🗒️ What is a must-have feature? (a) a colour theme (b) a nice extra (c) one the app cannot skip (d) a sound effect
- 18.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) pie-chart colours (b) export to a file (c) savings stickers (d) show the balance
-
19.🧩 How many buttons does this app screen have?
[title] Add Homework
[button] Done
[button] Back
[text box] Age
[switch] Remind me
[button] Help -
20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let lives = 30; // start at 30
line 2: lives = lives + 5; // add 5
line 3: lives = lives + 2; // double it
line 4: show(lives); // show it (a) line 2 (b) line 3 (c) line 1 - 21.Which of these is about UI (the look)? (a) the button colours (b) whether users get lost (c) how easy sign-up is (d) how fast a task is done
- 22.True or false: a final design looks like the real app. (a) False (b) True
- 23.🧰 What is a function? (a) a type of phone (b) a screen size (c) a list of colours (d) a named block of code
- 24.Which of these happens at the build stage? (a) write the store text (b) put it on an app store (c) let friends try it (d) write the code
- 25.Which of these fits saving on the phone? (a) photos on two devices (b) a shared to-do list (c) the sound on/off setting (d) chat messages to friends
- 26.True or false: a cricket run chase is a learning app. (a) False (b) True
- 27.🧭 Which part of navigation shows 3 to 5 icons? (a) a tab bar (b) the back button (c) a menu button
-
28.🚀 Which of these versions is the NEWEST?
3.17.1, 3.11.4, 2.20.2, 3.16.4 (a) 3.11.4 (b) 3.16.4 (c) 2.20.2 (d) 3.17.1 -
29.🔀 Which badge does this quiz app show?
let marks = 75;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Bronze (b) Silver (c) Gold - 30.True or false: the game-over page is a screen. (a) True (b) False
- 31.True or false: a weather-near-me app needs the microphone. (a) False (b) True
- 32.Which of these is true of a final design? (a) looks like the real app (b) uses plain grey boxes (c) is a quick sketch (d) has no real colours
- 33.♿ Why add captions to videos? (a) so anyone can follow (b) to slow them down (c) to add colour (d) to hide the sound
-
34.🔁 What number does this code show?
let scores = [77, 39, 82, 80, 98];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 70) {
count = count + 1;
}
}
show(count); -
35.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 3) {
likes = likes + 1;
}
label.text = likes;
}; -
36.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(95, 5)); -
37.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(1) + points(5)); - 38.True or false: a website has a web address. (a) False (b) True
-
39.🗒️ Version 1 of a quiz app must be ready in 15 days. How many days are left for extras after the must-haves?
show a question: 2 days
check the answer: 2 days
show the score: 5 days - 40.🔢 When you make an app, what comes right after “test the app”? (a) get an idea (b) build the app (c) plan the screens (d) release it
Answer key
- Hi, Zoya
- an action
- 14
- 1
- pick the features
- 18
- hard to read
- 0
- tap “Sign up”
- draw the user flow
- a user need
- a bill splitter
- 11
- 1
- 3.17.6
- a final design
- one the app cannot skip
- show the balance
- 3
- line 3
- the button colours
- True
- a named block of code
- write the code
- the sound on/off setting
- False
- a tab bar
- 3.17.1
- Silver
- True
- False
- looks like the real app
- so anyone can follow
- 4
- 2
- 475
- 70
- True
- 6
- release it
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students