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 user taps the button 5 times. What number does the label show now?
let score = 0;
button.onTap = function () {
score = score + 1;
label.text = score;
}; - 2.Which of these is true of an app? (a) has a web address (b) is installed on a phone (c) opens from a link (d) opens in a web browser
-
3.🔁 What number does this code show?
let scores = [5, 5, 5, 13];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 4.True or false: how easy sign-up is is about UX (the experience). (a) False (b) True
-
5.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Back button: 60 px tall
Next button: 52 px tall
Send button: 52 px tall -
6.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 800 or more; otherwise it costs 40.
function delivery(total) {
if (total > 800) {
return 0;
}
return 40;
}
Test 1: delivery(900) → expected 0
Test 2: delivery(650) → expected 40
Test 3: delivery(800) → expected 0 (a) Test 2 (b) Test 3 (c) Test 1 - 7.🎯 Which app would help this user most: a student who keeps forgetting due dates? (a) a big-text reader (b) a homework planner (c) a pocket-money tracker (d) a bus tracker
- 8.🧩 In an app, what is your high score? (a) a button (b) a screen (c) data (d) an input
- 9.True or false: a bill splitter solves no real problem. (a) False (b) True
- 10.🛠️ At which stage do you connect the data? (a) the plan stage (b) the release stage (c) the build stage (d) the idea stage
- 11.Which of these is an input? (a) tap to Start (b) the log-in page (c) a date picker (d) the settings page
-
12.🧩 Which of these is a button on this screen?
[title] Settings
[switch] Remind me
[button] Next
[button] Cancel
[text box] Due date
[button] Help (a) Due date (b) Remind me (c) Next - 13.🔢 In a quiz-app flow, which comes first: “pick an answer” or “see if it is right”? (a) pick an answer (b) see if it is right
- 14.Which colour pair is easy to read? (a) white on dark green (b) red on green (c) dark blue on black (d) yellow on white
- 15.True or false: a bus tracker is the best fit for a student who often misses the school bus. (a) True (b) False
- 16.👆 What kind of event is this: the search box changes? (a) a tap event (b) a text event (c) a timer event (d) a load event
- 17.True or false: a torch is a health app. (a) True (b) False
- 18.🌐 Which program do you need to open a website? (a) an app store (b) a calculator (c) a camera app (d) a web browser
- 19.🎨 Is this about UI or UX: how users feel after? (a) UI (b) UX
-
20.🚀 Which of these versions is the OLDEST?
1.19.0, 0.27.6, 1.3.4, 1.11.4 (a) 0.27.6 (b) 1.3.4 (c) 1.19.0 (d) 1.11.4 -
21.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 45; // start at 45
line 2: score = score - 5; // take away 2
line 3: score = score + 6; // add 6
line 4: show(score); // show it (a) line 1 (b) line 3 (c) line 2 -
22.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 45; // start at 42
line 2: lives = lives - 5; // take away 5
line 3: lives = lives - 2; // take away 2
line 4: show(lives); // show it - 23.👥 A cricket club app has 95 players, 160 coaches and 225 fans as users. Which user group is the biggest? (a) fans (b) coaches (c) players
- 24.🔘 Is this good or poor button design: a big, easy tap area? (a) poor design (b) good design
-
25.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Match report”
2. tap the Feed tab
3. tap the Feed tab
Which screen are you on now? (a) Match report (b) Feed (c) Chat (d) Settings - 26.🔀 In a good flow, each screen should lead to ___. (a) a random page (b) a clear next step (c) the same screen (d) a dead end
- 27.👥 A school app has 95 students, 165 teachers and 40 parents as users. Which user group is the biggest? (a) parents (b) students (c) teachers
- 28.Which of these is true of a wireframe? (a) uses the final pictures (b) shows the real fonts (c) uses plain grey boxes (d) looks like the real app
-
29.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(2)); - 30.🔢 In a food-order flow, which comes first: “track the order” or “pay for the order”? (a) pay for the order (b) track the order
-
31.💾 What does this code show? (Positions start at 0.)
let notes = ["Sports", "Art", "Science", "Music", "Maths"];
show(notes[2]); (a) Music (b) Sports (c) Science (d) Art -
32.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 24 votes
forgetting birthdays: 10 votes
forgetting homework: 21 votes - 33.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
- 34.🧰 How do you run (call) a function called greet? (a) run greet (b) greet() (c) greet[] (d) #greet
-
35.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Edit Profile
[button] Done
[slider] Text size
[text box] Phone -
36.💾 What does this code show? (Positions start at 0.)
let friends = ["Aman", "Zoya", "Meera", "Riya"];
show(friends[0]); (a) Aman (b) Zoya (c) Meera (d) Riya - 37.📅 An app team plans for 5 days, builds for 7 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 38.🛠️ At which stage do you let friends try it? (a) the plan stage (b) the build stage (c) the release stage (d) the test stage
- 39.Which of these is true of a menu button? (a) undoes one move (b) sits at the bottom (c) shows 3 to 5 icons (d) hides extra links
- 40.👆 Which of these is an event? (a) the font size (b) the user taps a button (c) the icon colour (d) a list of names
Answer key
- 5
- is installed on a phone
- 28
- True
- 3
- Test 3
- a homework planner
- data
- False
- the build stage
- a date picker
- Next
- pick an answer
- white on dark green
- True
- a text event
- False
- a web browser
- UX
- 0.27.6
- line 2
- 38
- fans
- good design
- Feed
- a clear next step
- teachers
- uses plain grey boxes
- 80
- pay for the order
- Science
- 55
- good design
- greet()
- 2
- Aman
- 12
- the test stage
- hides extra links
- the user taps a button
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students