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.🔢 In a sign-up flow, which comes LAST? (a) see the home screen (b) tap “Sign up” (c) open the app (d) enter the code sent
-
2.🔁 What number does this code show?
let runs = [89, 20, 73, 80, 27];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 50) {
count = count + 1;
}
}
show(count); - 3.🔀 In this course’s code, which sign tests “is equal to”? (a) === (b) => (c) !== (d) =
-
4.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(85, 4)); -
5.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. open “Match report”
2. open “Edit photo”
3. open “Map”
4. tap Back
Which screen are you on now? (a) Map (b) Edit photo (c) Home (d) Match report - 6.🔢 When you make an app, which comes FIRST? (a) plan the screens (b) test the app (c) get an idea (d) release it
- 7.🗒️ A to-do app with no “add a task” feature is ___. (a) well planned (b) ready to release (c) a nice extra (d) missing a must-have
-
8.💾 What does this code show? (Positions start at 0.)
let friends = ["Aman", "Meera", "Zoya", "Kabir"];
show(friends[1]); (a) Zoya (b) Meera (c) Kabir (d) Aman -
9.👆 The user taps the button 6 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 10.🧪 A test case is an input together with its ___. (a) screen colour (b) expected result (c) font size (d) app icon
- 11.Which of these happens at the plan stage? (a) try every button (b) write the code (c) list what users need (d) sketch the screens
- 12.🧰 How do you run (call) a function called greet? (a) greet() (b) run greet (c) greet[] (d) #greet
- 13.Which colour pair is hard to read? (a) dark blue on white (b) black on yellow (c) light grey on white (d) white on dark green
-
14.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Caption: 12 px
Footer: 17 px
Body text: 20 px (a) Body text (b) Footer (c) Caption - 15.👆 Code that runs when an event happens is called a ___. (a) hashtag (b) header (c) headline (d) handler
- 16.💡 Does an app idea like a lost-and-found board solve a real problem? (a) No (b) Yes
- 17.🧰 Why write a function? (a) to slow the app (b) to make code longer (c) to reuse code (d) to hide errors
- 18.🧩 What do we call one full page of an app? (a) a screen (b) a variable (c) a battery (d) a cable
- 19.🚀 A privacy policy tells users ___. (a) the screen size (b) what data is collected (c) the app’s price (d) the app’s colours
- 20.🔁 What does a loop do? (a) saves photos (b) deletes code (c) repeats code (d) draws icons
-
21.⚙️ What number does this app show?
let bill = 195; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 22.🔁 Why use a loop to show 100 messages? (a) less code to write (b) it hides them (c) it uses more lines (d) it is slower
-
23.🔁 What number does this code show?
let steps = [16, 5, 10, 10, 5];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); - 24.💾 Where should the app save your last game level: on the phone or in the cloud? (a) on the phone (b) in the cloud
-
25.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 46; // start at 46
line 2: stars = stars + 2; // double it
line 3: stars = stars - 3; // take away 3
line 4: show(stars); // show it -
26.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 45; // start at 45
line 2: stars = stars - 6; // take away 5
line 3: stars = stars - 5; // take away 5
line 4: show(stars); // show it (a) line 3 (b) line 2 (c) line 1 - 27.True or false: a recipe finder is the best fit for a teen learning to make snacks. (a) False (b) True
- 28.Which of these happens at the release stage? (a) draw the user flow (b) share the download link (c) try every button (d) list what users need
-
29.📊 Survey: which problem bugs you most? How many more votes did “forgetting homework” get than “missing the bus”?
forgetting homework: 25 votes
missing the bus: 14 votes
losing water bottles: 17 votes - 30.🐞 After fixing a bug you should ___. (a) release at once (b) never test (c) delete the test (d) test it again
-
31.🔁 What number does this code show?
let runs = [15, 3, 4, 17, 6];
let total = 0;
for (let i = 0; i < runs.length; i++) {
total = total + runs[i];
}
show(total); - 32.🔢 In a quiz-app flow, what comes right after “see if it is right”? (a) read a question (b) pick an answer (c) tap “Start quiz” (d) see the final score
- 33.Which of these is a screen? (a) tap to Start (b) tap to Save (c) tap to Send (d) the game-over page
- 34.🚀 Which version is newer: 3.6.11 or 3.6.5? (a) 3.6.11 (b) 3.6.5
- 35.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a pocket-money tracker (b) a bus tracker (c) a water reminder (d) a big-text reader
- 36.🗒️ You are planning version 1 of a pocket-money tracker. Which feature can WAIT for a later version? (a) show the balance (b) add money spent (c) pie-chart colours (d) add money received
-
37.💾 What number does this code show?
let points = 9;
points = points - 4;
points = points + 2;
show(points); -
38.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Help button: 52 px tall
Back button: 60 px tall
Done button: 60 px tall
Cancel button: 64 px tall - 39.📅 An app team plans for 4 days, builds for 8 days, tests for 1 days and releases on 1 more day. How many days does the whole project take?
-
40.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Hint: 22 px
Caption: 15 px
Footer: 15 px
Menu: 14 px
Answer key
- see the home screen
- 3
- ===
- 340
- Edit photo
- get an idea
- missing a must-have
- Meera
- 4
- expected result
- sketch the screens
- greet()
- light grey on white
- Caption
- handler
- Yes
- to reuse code
- a screen
- what data is collected
- repeats code
- 65
- less code to write
- 46
- on the phone
- 89
- line 2
- True
- share the download link
- 11
- test it again
- 45
- see the final score
- the game-over page
- 3.6.11
- a water reminder
- pie-chart colours
- 7
- 4
- 14
- 3
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students