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 for (let i = 0; i < 3; i++), which values does i take? (a) 3 (b) 0, 1, 2, 3 (c) 1, 2, 3 (d) 0, 1, 2
- 2.🔘 Is this good or poor button design: buttons almost touching? (a) poor design (b) good design
-
3.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Item → Search → Offers
Design B: Home → Item → Pay → Address → Menu → Pens - 4.🔢 In a quiz-app flow, which comes first: “see the final score” or “tap “Start quiz””? (a) see the final score (b) tap “Start quiz”
-
5.🔀 What does this PIN rule show?
let pin = "173";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
6.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 6 or more right answers.
function result(right) {
if (right > 6) {
return "Pass";
}
return "Try again";
}
Test 1: result(7) → expected Pass
Test 2: result(6) → expected Pass
Test 3: result(3) → expected Try again (a) Test 1 (b) Test 3 (c) Test 2 - 7.True or false: adding up a bill is an input. (a) False (b) True
- 8.🔍 Which is the odd one out? (a) labels on every icon (b) tiny tap areas (c) big touch targets (d) strong colour contrast
-
9.👆 The user taps the button 7 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF - 10.🔍 Which is the odd one out? (a) add the buttons (b) write down the bugs (c) connect the data (d) write the code
- 11.🧭 Which part of navigation hides extra links? (a) a menu button (b) the back button (c) a tab bar
- 12.🔁 What does a loop do? (a) deletes code (b) draws icons (c) repeats code (d) saves photos
- 13.🧰 What is a function? (a) a screen size (b) a type of phone (c) a named block of code (d) a list of colours
- 14.True or false: chat messages to friends fits saving in the cloud. (a) False (b) True
-
15.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 34; // start at 34
line 2: lives = lives * 2; // double it
line 3: lives = lives + 1; // take away 1
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it - 16.🔢 In a food-order flow, which comes LAST? (a) check the cart (b) track the order (c) pay for the order (d) open the menu
-
17.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 4 days
show the score: 4 days - 18.True or false: a pocket-money tracker is the best fit for a teen whose money runs out by Friday. (a) False (b) True
-
19.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 42; // start at 42
line 2: stars = stars + 7; // add 4
line 3: stars = stars - 5; // take away 5
line 4: show(stars); // show it - 20.🔀 In this course’s code, which sign tests “is equal to”? (a) !== (b) => (c) === (d) =
-
21.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello, nameBox.text! (b) Kabir (c) Hello! (d) Hello, Kabir! -
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Badges”
3. open “Help page”
4. tap Back
Which screen are you on now? (a) Quiz (b) Help page (c) Badges (d) Lessons -
23.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Menu: 19 px
Body text: 14 px
Label: 12 px
Title: 13 px - 24.Which of these requests is fair? (a) torch → contacts (b) calculator → location (c) timer → your photos (d) map app → location
- 25.Which of these fits saving on the phone? (a) chat messages to friends (b) photos on two devices (c) a class leaderboard (d) notes to read offline
- 26.Which of these is true of a menu button? (a) opens a list of pages (b) goes to the last screen (c) undoes one move (d) shows 3 to 5 icons
- 27.🗂️ What kind of app is a sleep tracker? (a) a tool app (b) a health app (c) a learning app (d) a game
- 28.🎯 Which app would help this user most: a runner who forgets to sip water? (a) a bus tracker (b) a big-text reader (c) a water reminder (d) a recipe finder
- 29.🔍 Which is the odd one out? (a) whether users get lost (b) how users feel after (c) how easy sign-up is (d) the screen layout
-
30.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 40; // start at 40
line 2: stars = stars - 4; // take away 3
line 3: stars = stars - 4; // take away 4
line 4: show(stars); // show it (a) line 2 (b) line 1 (c) line 3 - 31.🔀 A screen with no way forward or back is called a ___. (a) dead end (b) home screen (c) tab bar (d) shortcut
-
32.🖼️ In this wireframe (top to bottom), what is right above the big picture?
[ list of items ]
[ big picture ]
[ Save button ]
[ Add button ]
[ menu icon ] (a) Save button (b) list of items (c) menu icon (d) Add button - 33.♿ A screen has 10 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
- 34.♿ Accessibility means an app works for ___. (a) only experts (b) only the coder (c) nobody (d) everyone
-
35.📊 Survey: which problem bugs you most? Which problem should your app solve first?
missing the bus: 13 votes
wasting pocket money: 3 votes
no quiet study place: 9 votes (a) missing the bus (b) wasting pocket money (c) no quiet study place - 36.🔢 In a photo-post flow, which comes first: “post the photo” or “take the photo”? (a) post the photo (b) take the photo
- 37.🔢 In a sign-up flow, which comes FIRST? (a) make a password (b) open the app (c) tap “Sign up” (d) enter the code sent
-
38.🔀 Which badge does this quiz app show?
let marks = 95;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 39.True or false: an app is installed on a phone. (a) False (b) True
-
40.⚙️ What number does this app show?
let price = 25; // typed by the user
let qty = 2; // typed by the user
let total = price * qty;
show(total);
Answer key
- 0, 1, 2
- poor design
- 2
- tap “Start quiz”
- Use 4 digits
- Test 2
- False
- tiny tap areas
- ON
- write down the bugs
- a menu button
- repeats code
- a named block of code
- True
- 134
- track the order
- 0
- True
- 44
- ===
- Hello, Kabir!
- Badges
- 3
- map app → location
- notes to read offline
- opens a list of pages
- a health app
- a water reminder
- the screen layout
- line 2
- dead end
- list of items
- 4
- everyone
- missing the bus
- take the photo
- open the app
- Gold
- True
- 50
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students