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 one updates from the store: an app or a website? (a) an app (b) a website
- 2.🔍 Which is the odd one out? (a) sudden loud sounds (b) strong colour contrast (c) captions on videos (d) labels on every icon
- 3.Which of these is a feature? (a) “I forget my homework” (b) “What should I cook?” (c) a reminder alarm (d) “Small text is hard”
- 4.True or false: the screen first opens is a text event. (a) False (b) True
- 5.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
-
6.🔁 What number does this code show?
let marks = [15, 10, 10, 15];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 7.🧩 In an app, what is the settings page? (a) a screen (b) a button (c) an input (d) data
- 8.Which of these is true of an app? (a) has a web address (b) needs no installing (c) updates from the store (d) opens in a web browser
- 9.True or false: an app has a home-screen icon. (a) True (b) False
- 10.👥 A cricket club app has 275 players, 195 coaches and 105 fans as users. How many users does it have in all?
- 11.🔢 In a sign-up flow, which comes first: “tap “Sign up”” or “type name and email”? (a) type name and email (b) tap “Sign up”
-
12.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 34; // start at 32
line 2: points = points * 2; // double it
line 3: points = points + 5; // add 5
line 4: points = points + 5; // add 5
line 5: show(points); // show it -
13.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Map”
2. open “Video”
3. tap Back
Which screen are you on now? (a) Video (b) Search (c) Home (d) Map - 14.🔢 In a quiz-app flow, which comes FIRST? (a) see if it is right (b) read a question (c) see the final score (d) tap “Start quiz”
- 15.🔘 Our rule: buttons are at least 48 px tall. The Send button is 24 px tall. How many px taller must it be?
- 16.🧩 In an app, what is tap to Save? (a) a screen (b) an input (c) data (d) a button
- 17.🔢 When you make an app, which comes LAST? (a) plan the screens (b) get an idea (c) release it (d) build the app
-
18.🖼️ In this wireframe (top to bottom), what is right above the big picture?
[ Add button ]
[ top bar ]
[ search box ]
[ big picture ] (a) top bar (b) Add button (c) search box - 19.🧰 In function tip(bill), what is bill? (a) a screen (b) a loop (c) a parameter (d) an event
- 20.🗂️ What kind of app is a word battle? (a) a health app (b) a tool app (c) a game (d) a learning app
-
21.🔀 What does this sign-up rule show?
let age = 10;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
22.💾 pop() takes off the last item. What does this code show?
let notes = ["Music", "Maths", "Sports"];
notes.pop();
show(notes[notes.length - 1]); (a) Music (b) Maths (c) Sports - 23.🐞 What is a bug? (a) a fast phone (b) a new feature (c) a nice icon (d) a mistake in the code
- 24.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 25.Which of these is true of the back button? (a) opens a list of pages (b) hides extra links (c) switches main sections (d) goes to the last screen
-
26.💾 What does this code show? (Positions start at 0.)
let songs = ["Rain", "Kites", "Stars", "Monsoon"];
show(songs[0]); (a) Rain (b) Monsoon (c) Stars (d) Kites - 27.🎯 What is the best first step to learn what users need? (a) guess on your own (b) pick the colours (c) write the code (d) ask and watch users
- 28.🚀 In version 2.5.1, which number is the major version? (a) 2 (b) 5 (c) 251 (d) 1
-
29.🔁 What number does this code show?
let steps = [11, 6, 13, 15, 10];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
30.🔁 What number does this code show?
let runs = [8, 4, 13];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); -
31.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] New Note
[text box] Phone
[text box] Notes
[button] Next
[button] Done
[text box] Subject
[button] Help -
32.🧪 How many of these test cases pass?
🎟️ 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(14) → expected 100
Test 2: price(6) → expected 50
Test 3: price(13) → expected 100 - 33.🗒️ You are planning version 1 of a pocket-money tracker. Which feature is a MUST-HAVE? (a) savings stickers (b) pie-chart colours (c) export to a file (d) show the balance
-
34.🔁 What is the LAST line this code shows?
let names = ["Arjun", "Meera", "Riya", "Aman", "Zoya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Meera (c) Hi, Riya (d) Hi, Zoya - 35.🗒️ You are planning version 1 of a water reminder. Which feature can WAIT for a later version? (a) see today’s total (b) set a reminder time (c) log a glass of water (d) share your streak
- 36.💡 Which app idea solves this problem: a team shares one snack bill? (a) a study-room finder (b) a homework planner (c) a medicine reminder (d) a bill splitter
-
37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ menu icon ]
[ Save button ]
[ list of items ]
[ top bar ]
[ big picture ]
[ filter buttons ] (a) filter buttons (b) menu icon (c) big picture (d) Save button - 38.🔢 In a photo-post flow, which comes first: “take the photo” or “write a caption”? (a) write a caption (b) take the photo
-
39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. open “Help page”
3. tap Back
How many times must you tap Back to reach the main screen of this tab? - 40.👆 What kind of event is this: the app starts up? (a) a tap event (b) a text event (c) a timer event (d) a load event
Answer key
- an app
- sudden loud sounds
- a reminder alarm
- False
- a user need
- 50
- a screen
- updates from the store
- True
- 575
- tap “Sign up”
- 74
- Map
- tap “Start quiz”
- 24
- a button
- release it
- search box
- a parameter
- a game
- Ask a parent
- Maths
- a mistake in the code
- helps everyone
- goes to the last screen
- Rain
- ask and watch users
- 2
- 55
- 25
- 3
- 3
- show the balance
- Hi, Zoya
- share your streak
- a bill splitter
- filter buttons
- take the photo
- 1
- a load event
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students