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.Which of these fits saving on the phone? (a) a class leaderboard (b) notes to read offline (c) a shared to-do list (d) photos on two devices
- 2.💾 Saving data in the cloud lets you ___. (a) skip the internet (b) shrink the app (c) never need a password (d) use it on any device
- 3.🔘 Our rule: buttons are at least 48 px tall. The Cancel button is 28 px tall. How many px taller must it be?
-
4.🔘 Our rule: buttons are at least 48 px tall. How many of these buttons follow the rule?
Done button: 32 px tall
Next button: 48 px tall
Save button: 64 px tall
Start button: 52 px tall -
5.🔁 What number does this code show?
let scores = [7, 9, 12];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 6.🔁 list.length tells you ___. (a) the first item (b) the last item (c) how many items it has (d) the biggest item
- 7.🧭 Which part of navigation shows 3 to 5 icons? (a) a menu button (b) a tab bar (c) the back button
-
8.📊 Survey: which problem bugs you most? How many more votes did “wasting pocket money” get than “missing the bus”?
missing the bus: 4 votes
wasting pocket money: 10 votes
forgetting homework: 23 votes - 9.🔘 Is this good or poor button design: space between buttons? (a) good design (b) poor design
- 10.Which of these is about UI (the look)? (a) whether users get lost (b) the screen layout (c) how easy sign-up is (d) how many taps it takes
-
11.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 38; // start at 38
line 2: points = points * 2; // double it
line 3: points = points - 4; // take away 4
line 4: points = points - 6; // take away 4
line 5: show(points); // show it - 12.🧪 What is the actual result of a test? (a) what we hope for (b) the test’s number (c) the app’s name (d) what the app really does
-
13.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Video”
2. open “Score card”
3. tap the Lessons tab
Which screen are you on now? (a) Video (b) Quiz (c) Lessons (d) Score card -
14.🔀 What does this sign-up rule show?
let age = 17;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! - 15.👥 A cricket club app has 90 players, 215 coaches and 170 fans as users. How many more coaches than fans are there?
- 16.💡 Which is a problem statement? (a) “Make it fast” (b) “Kids forget homework” (c) “Add a logo” (d) “Use blue buttons”
-
17.⚙️ What number does this app show?
let price = 350; // typed by the user
let off = 30; // typed by the user
let pay = price - off;
show(pay); - 18.🔢 In a photo-post flow, which comes first: “open the camera screen” or “take the photo”? (a) open the camera screen (b) take the photo
-
19.👆 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 - 20.🧭 Why should every screen show where you are? (a) to look busy (b) to use more battery (c) to hide the menu (d) so users do not get lost
-
21.🔀 Which badge does this quiz app show?
let marks = 54;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Bronze (c) Gold -
22.🔀 What does this PIN rule show?
let pin = "3733";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 23.🔍 Which is the odd one out? (a) fast-flashing lights (b) text that can grow (c) captions on videos (d) labels on every icon
- 24.💾 In most code, the first item of a list is at position ___. (a) 0 (b) 2 (c) 10 (d) 1
-
25.⚙️ What number does this app show?
let bill = 250; // typed by the user
let friends = 5; // typed by the user
let share = bill / friends;
show(share); - 26.Which of these is a user need? (a) “I keep missing the bus” (b) a reminder alarm (c) a search bar (d) a share button
- 27.🐞 After fixing a bug you should ___. (a) delete the test (b) release at once (c) never test (d) test it again
-
28.👆 The user types Meera in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hello, " + nameBox.text + "!";
}; (a) Hello, Meera! (b) Meera (c) Hello! (d) Hello, nameBox.text! - 29.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 30.🔀 What does if / else let an app do? (a) repeat forever (b) save a photo (c) draw a screen (d) pick one of two actions
- 31.🧩 What does a button do when you tap it? (a) saves the battery (b) shows the time (c) starts an action (d) changes the phone
- 32.🔍 Which is the odd one out? (a) an alarm clock (b) a cricket run chase (c) a puzzle with levels (d) a racing challenge
- 33.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) pick your bus stop (b) a dark mode (c) rate the driver (d) change the bus icon
- 34.🔢 In a sign-up flow, which comes first: “type name and email” or “make a password”? (a) type name and email (b) make a password
- 35.🔢 In a food-order flow, which comes first: “open the menu” or “pick a dish”? (a) pick a dish (b) open the menu
- 36.🗂️ What kind of app is a spelling coach? (a) a tool app (b) a health app (c) a game (d) a learning app
- 37.👥 A school app has 250 students, 265 teachers and 125 parents as users. How many users does it have in all?
-
38.🔀 What does this sign-up rule show?
let age = 11;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
39.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(100, 4)); -
40.🗒️ Version 1 of a pocket-money tracker must be ready in 9 days. How many days are left for extras after the must-haves?
add money received: 1 days
add money spent: 2 days
show the balance: 2 days
Answer key
- notes to read offline
- use it on any device
- 20
- 3
- 28
- how many items it has
- a tab bar
- 6
- good design
- the screen layout
- 66
- what the app really does
- Lessons
- Welcome!
- 45
- “Kids forget homework”
- 320
- open the camera screen
- ON
- so users do not get lost
- Silver
- PIN saved
- fast-flashing lights
- 0
- 50
- “I keep missing the bus”
- test it again
- Hello, Meera!
- a wireframe
- pick one of two actions
- starts an action
- an alarm clock
- pick your bus stop
- type name and email
- open the menu
- a learning app
- 640
- Ask a parent
- 400
- 4
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students