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.True or false: a barcode scanner needs your location. (a) True (b) False
-
2.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Label: 24 px
Body text: 17 px
Caption: 16 px
Footer: 12 px
Menu: 11 px -
3.🖼️ In this wireframe (top to bottom), what is right below the Add button?
[ Add button ]
[ filter buttons ]
[ Save button ]
[ search box ] (a) search box (b) Save button (c) filter buttons - 4.🚀 Which version is newer: 4.9.14 or 4.9.3? (a) 4.9.3 (b) 4.9.14
- 5.🔘 Our rule: buttons are at least 48 px tall. The Save button is 28 px tall. How many px taller must it be?
-
6.👆 Two designs for the same task (each arrow is one tap). Which needs FEWER taps?
Design A: Home → Results → Confirm → Shop
Design B: Home → Item → Address → Menu → Search → Pens → Results (a) Design A (b) Design B - 7.True or false: an app has a web address. (a) True (b) False
-
8.💾 What number does this code show?
let points = 5;
points = points - 4;
points = points + 3;
show(points); -
9.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Results
Design B: Home → Item → Offers → Pens → Pay → Cart - 10.🧪 What is the actual result of a test? (a) the test’s number (b) the app’s name (c) what the app really does (d) what we hope for
- 11.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) !== (c) = (d) ===
- 12.Which of these fits saving on the phone? (a) a shared to-do list (b) a class leaderboard (c) chat messages to friends (d) notes to read offline
- 13.🔀 A screen with no way forward or back is called a ___. (a) tab bar (b) dead end (c) home screen (d) shortcut
- 14.🔢 In a food-order flow, which comes LAST? (a) pay for the order (b) pick a dish (c) track the order (d) open the menu
-
15.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(0)); -
16.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Feed tab
2. tap the Chat tab
3. tap the Feed tab
4. open “Edit photo”
Which screen are you on now? (a) Feed (b) Settings (c) Chat (d) Edit photo - 17.🔀 What is a user flow? (a) a colour theme (b) a charging cable (c) a type of font (d) the path through screens
-
18.💾 What number does this code show?
let stars = 7;
stars = stars - 5;
stars = stars + 3;
show(stars); -
19.🔁 What number does this code show?
let runs = [17, 9, 9];
let best = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] > best) {
best = runs[i];
}
}
show(best); - 20.💾 Which works with no internet at all? (a) a cloud backup (b) a shared chat (c) data saved on the phone (d) a cloud leaderboard
- 21.🔢 After an app is released, what comes right after “test it again”? (a) fix and improve (b) list what to fix (c) release an update (d) read user reviews
- 22.👥 A school app has 20 students, 30 teachers and 245 parents as users. How many more teachers than students are there?
- 23.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
- 24.🚀 Which version is newer: 1.10.2 or 1.2.0? (a) 1.10.2 (b) 1.2.0
- 25.True or false: “fast-flashing lights” helps everyone use the app. (a) True (b) False
- 26.🔢 In a photo-post flow, what comes right after “take the photo”? (a) write a caption (b) post the photo (c) open the camera screen (d) add a filter
-
27.🔁 What number does this code show?
let marks = [84, 21, 91, 23];
let count = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] >= 60) {
count = count + 1;
}
}
show(count); - 28.Which of these is true of an app? (a) comes from an app store (b) opens from a link (c) opens in a web browser (d) has a web address
-
29.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age < 14) {
return 50;
}
return 100;
}
Test 1: price(15) → expected 100
Test 2: price(16) → expected 100
Test 3: price(13) → expected 50 -
30.👆 The user types Aman in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Aman (b) Hi, nameBox.text! (c) Hi! (d) Hi, Aman! - 31.👆 What kind of event is this: the user presses Save? (a) a load event (b) a tap event (c) a text event (d) a timer event
- 32.💡 How can you check that people really have the problem? (a) pick a colour (b) just guess (c) ask possible users (d) copy another app
- 33.🎯 Who are the users of an app? (a) the app icons (b) only the testers (c) only the coders (d) the people who use it
- 34.📱 The word “app” is short for ___. (a) appointment (b) application (c) appetite (d) apparatus
- 35.True or false: a page of random dots solves a real problem. (a) False (b) True
- 36.⚙️ In an app, is a pop-up message an input, processing or an output? (a) output (b) processing (c) input
- 37.💾 Which can hold many values in order? (a) a single number (b) a switch (c) a button (d) a list
- 38.Which of these is a feature? (a) a reminder alarm (b) “Small text is hard” (c) “I forget my homework” (d) “I keep missing the bus”
-
39.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 34; // start at 34
line 2: score = score * 3; // double it
line 3: score = score + 4; // add 4
line 4: show(score); // show it (a) line 3 (b) line 1 (c) line 2 -
40.🗒️ Version 1 of a water reminder must be ready in 14 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 1 days
see today’s total: 5 days
Answer key
- False
- 2
- filter buttons
- 4.9.14
- 20
- Design A
- False
- 4
- 3
- what the app really does
- ===
- notes to read offline
- dead end
- track the order
- 50
- Edit photo
- the path through screens
- 5
- 17
- data saved on the phone
- release an update
- 10
- an app
- 1.10.2
- False
- add a filter
- 2
- comes from an app store
- 3
- Hi, Aman!
- a tap event
- ask possible users
- the people who use it
- application
- False
- output
- a list
- a reminder alarm
- line 2
- 5
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students