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.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 33; // start at 33
line 2: score = score + 6; // add 3
line 3: score = score * 2; // double it
line 4: score = score - 1; // take away 1
line 5: show(score); // show it - 2.👆 Code that runs when an event happens is called a ___. (a) header (b) hashtag (c) headline (d) handler
- 3.🧩 Which input is best for turning something ON or OFF? (a) a switch (b) a slider (c) a title (d) a text box
- 4.♿ Accessibility means an app works for ___. (a) nobody (b) only experts (c) everyone (d) only the coder
- 5.🧪 A test case is an input together with its ___. (a) font size (b) screen colour (c) expected result (d) app icon
- 6.🎨 Is this about UI or UX: the screen layout? (a) UI (b) UX
- 7.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) home screen (c) tab bar (d) shortcut
-
8.💾 pop() takes off the last item. What does this code show?
let songs = ["Sunrise", "Kites", "Stars", "Ocean", "Monsoon"];
songs.pop();
show(songs[songs.length - 1]); (a) Ocean (b) Kites (c) Stars (d) Sunrise - 9.💾 Saving data in the cloud lets you ___. (a) use it on any device (b) shrink the app (c) never need a password (d) skip the internet
- 10.True or false: you sketch the screens at the plan stage. (a) True (b) False
-
11.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Score card”
2. tap the Lessons tab
3. open “Friend list”
4. open “Match report”
Which screen are you on now? (a) Lessons (b) Friend list (c) Match report (d) Score card -
12.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Cancel
[slider] Volume
[text box] Name
[text box] Email -
13.🔁 What number does this code show?
let marks = [18, 8, 6];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); - 14.🗂️ What kind of app is a flashcard trainer? (a) a tool app (b) a game (c) a learning app (d) a health app
- 15.True or false: a homework planner is the best fit for a student who keeps forgetting due dates. (a) False (b) True
- 16.Which of these is true of an app? (a) is installed on a phone (b) opens in a web browser (c) opens from a link (d) needs no installing
- 17.True or false: a wireframe uses plain grey boxes. (a) True (b) False
- 18.🔀 With if / else if / else, how many parts run? (a) two (b) all of them (c) only one (d) none
- 19.True or false: a guitar tuner needs the microphone. (a) True (b) False
- 20.🧭 What does the back button usually do? (a) opens settings (b) deletes the page (c) goes to the last screen (d) closes all apps
- 21.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) share tasks to friends (c) see tasks by day (d) add a homework task
- 22.Which of these is an input? (a) a date picker (b) your high score (c) today’s step count (d) tap to Send
- 23.🔘 Our rule: buttons are at least 48 px tall. The Back button is 28 px tall. How many px taller must it be?
- 24.🔢 When you make an app, which comes first: “test the app” or “release it”? (a) test the app (b) release it
- 25.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) add a filter (b) write a caption (c) post the photo (d) take the photo
- 26.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a nice icon (d) a fast phone
- 27.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) a random need (c) the rarest need (d) the most common need
- 28.Which colour pair is hard to read? (a) dark blue on black (b) dark blue on white (c) white on black (d) white on dark green
- 29.Which of these happens at the release stage? (a) connect the data (b) try every button (c) put it on an app store (d) pick the features
- 30.🔍 Which is the odd one out? (a) big touch targets (b) captions on videos (c) labels on every icon (d) tiny tap areas
-
31.🔀 What number does this shop app show?
let total = 330;
if (total > 500) {
total = total - 50;
}
show(total); - 32.👆 What kind of event is this: a countdown hits zero? (a) a load event (b) a timer event (c) a text event (d) a tap event
- 33.True or false: you connect the data at the build stage. (a) False (b) True
-
34.🔁 What is the LAST line this code shows?
let names = ["Riya", "Meera", "Aman", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Riya (c) Hi, Aman (d) Hi, Kabir - 35.True or false: a big-text reader is the best fit for a student who keeps forgetting due dates. (a) False (b) True
- 36.🔍 Which is the odd one out? (a) list what users need (b) sketch the screens (c) draw the user flow (d) pick the features
-
37.🧪 What is the ACTUAL result of Test 3?
🎟️ 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(10) → expected 100
Test 2: price(9) → expected 50
Test 3: price(11) → expected 100 - 38.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
- 39.True or false: an app has a home-screen icon. (a) False (b) True
- 40.📱 Which one has a home-screen icon: an app or a website? (a) a website (b) an app
Answer key
- 71
- handler
- a switch
- everyone
- expected result
- UI
- dead end
- Ocean
- use it on any device
- True
- Match report
- 1
- 18
- a learning app
- True
- is installed on a phone
- True
- only one
- True
- goes to the last screen
- share tasks to friends
- a date picker
- 20
- test the app
- take the photo
- a mistake in the code
- the most common need
- dark blue on black
- put it on an app store
- tiny tap areas
- 330
- a timer event
- True
- Hi, Kabir
- False
- list what users need
- 100
- good design
- True
- an app
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students