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 number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(2) + points(4)); - 2.🔘 Is this good or poor button design: grey text on grey? (a) good design (b) poor design
-
3.🧪 How many of these test cases pass?
🚚 Rule: delivery is free (0) when the order is 400 or more; otherwise it costs 40.
function delivery(total) {
if (total >= 400) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 0
Test 2: delivery(350) → expected 40
Test 3: delivery(650) → expected 0 - 4.🔢 When you make an app, which comes first: “test the app” or “get an idea”? (a) test the app (b) get an idea
- 5.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a big redesign (b) a new app (c) a bug fix (d) a new feature
- 6.👥 A library app has 215 readers, 25 librarians and 190 volunteers as users. How many more readers than librarians are there?
- 7.🔘 Is this good or poor button design: strong colour contrast? (a) good design (b) poor design
-
8.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 22 votes
forgetting homework: 19 votes
missing the bus: 11 votes - 9.True or false: a times-table quiz is a tool app. (a) False (b) True
- 10.🎨 Is this about UI or UX: the button colours? (a) UX (b) UI
-
11.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Home tab
2. open “Help page”
3. open “Score card”
4. open “Badges”
5. tap the Home tab
Which screen are you on now? (a) Help page (b) Score card (c) Home (d) Badges - 12.👥 A cricket club app has 240 players, 185 coaches and 60 fans as users. How many users does it have in all?
-
13.🔀 Which badge does this quiz app show?
let marks = 39;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 14.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) water animations (c) share your streak (d) see today’s total
- 15.👆 An event in an app is ___. (a) an app store (b) a kind of list (c) something that happens (d) a colour theme
-
16.📊 Survey: which problem bugs you most? How many students voted in all?
forgetting homework: 14 votes
no quiet study place: 8 votes
wasting pocket money: 9 votes -
17.🧩 How many buttons does this app screen have?
[title] Sign Up
[text box] Phone
[button] Next
[text box] Age -
18.💾 What number does this code show?
let friends = ["Aman", "Zoya", "Meera"];
friends.push("Kabir");
friends.push("Arjun");
show(friends.length); - 19.True or false: “big touch targets” helps everyone use the app. (a) True (b) False
-
20.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let points = 47; // start at 44
line 2: points = points * 2; // double it
line 3: points = points + 3; // add 3
line 4: show(points); // show it (a) line 3 (b) line 1 (c) line 2 - 21.True or false: icons with no meaning is poor button design. (a) False (b) True
-
22.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 18 px
Menu: 22 px
Hint: 11 px (a) Title (b) Hint (c) Menu -
23.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(20)); - 24.True or false: a finger hits Like is a text event. (a) False (b) True
- 25.🔢 In a quiz-app flow, what comes right after “read a question”? (a) tap “Start quiz” (b) see the final score (c) see if it is right (d) pick an answer
- 26.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) makes it harder (b) helps everyone
- 27.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) input (c) output
-
28.💾 pop() takes off the last item. What does this code show?
let notes = ["Hindi", "Art", "Maths"];
notes.pop();
show(notes[notes.length - 1]); (a) Maths (b) Art (c) Hindi - 29.🔀 What does if / else let an app do? (a) repeat forever (b) draw a screen (c) pick one of two actions (d) save a photo
- 30.Which of these is true of a final design? (a) uses the final pictures (b) uses plain grey boxes (c) is a quick sketch (d) shows where things go
- 31.🎨 Who should you test the UX with? (a) real users (b) the app icon (c) only yourself (d) nobody
- 32.True or false: the user taps Play is a tap event. (a) True (b) False
- 33.💡 Which app idea solves this problem: pupils forget due dates? (a) a bill splitter (b) a lost-and-found board (c) a study-room finder (d) a homework planner
- 34.♿ Accessibility means an app works for ___. (a) only experts (b) nobody (c) everyone (d) only the coder
-
35.💾 pop() takes off the last item. What does this code show?
let songs = ["Monsoon", "Sunrise", "Rain"];
songs.pop();
show(songs[songs.length - 1]); (a) Sunrise (b) Rain (c) Monsoon - 36.🧭 Which part of navigation hides extra links? (a) a menu button (b) a tab bar (c) the back button
-
37.💾 What number does this code show?
let coins = 4;
coins = coins - 1;
coins = coins + 3;
show(coins); -
38.🧰 What does this code show?
function greet(name) {
return "Welcome, " + name + "!";
}
show(greet("Kabir")); (a) Kabir (b) greet (c) Welcome, name! (d) Welcome, Kabir! -
39.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. open “Match report”
3. tap the Chat tab
Which screen are you on now? (a) Settings (b) Chat (c) Match report (d) Feed -
40.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 130; // typed by the user
line 2: let off = 50; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 1 (b) line 4 (c) line 3 (d) line 2
Answer key
- 70
- poor design
- 3
- get an idea
- a bug fix
- 190
- good design
- 52
- False
- UI
- Home
- 485
- Bronze
- see today’s total
- something that happens
- 31
- 1
- 5
- True
- line 1
- True
- Hint
- 40
- False
- pick an answer
- helps everyone
- input
- Art
- pick one of two actions
- uses the final pictures
- real users
- True
- a homework planner
- everyone
- Sunrise
- a menu button
- 6
- Welcome, Kabir!
- Chat
- line 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students