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 photo-post flow, what comes right after “write a caption”? (a) open the camera screen (b) add a filter (c) post the photo (d) take the photo
-
2.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 42; // start at 41
line 2: stars = stars - 3; // take away 3
line 3: stars = stars + 6; // add 6
line 4: show(stars); // show it (a) line 3 (b) line 1 (c) line 2 - 3.Which of these app ideas solves no real problem? (a) a bill splitter (b) a page of random dots (c) a free study-room finder (d) a medicine reminder
-
4.🧪 One test case fails. Which one?
🚚 Rule: delivery is free (0) when the order is 300 or more; otherwise it costs 40.
function delivery(total) {
if (total > 300) {
return 0;
}
return 40;
}
Test 1: delivery(300) → expected 0
Test 2: delivery(400) → expected 0
Test 3: delivery(100) → expected 40 (a) Test 3 (b) Test 2 (c) Test 1 - 5.🔢 In a food-order flow, which comes first: “pay for the order” or “open the menu”? (a) pay for the order (b) open the menu
- 6.💡 Does an app idea like a blank grey screen solve a real problem? (a) No (b) Yes
- 7.Which of these is processing? (a) a beep sound (b) adding up a bill (c) tapping a button (d) taking a photo
-
8.💾 What does this code show? (Positions start at 0.)
let notes = ["Sports", "Art", "Hindi", "Maths"];
show(notes[0]); (a) Sports (b) Art (c) Hindi (d) Maths -
9.🖼️ How many parts (boxes) does this wireframe have?
[ big picture ]
[ list of items ]
[ title text ]
[ Add button ]
[ Save button ] - 10.Which of these is a button? (a) your high score (b) the game-over page (c) the home page of an app (d) tap to Save
-
11.🧪 One test case fails. Which one?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right > 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(8) → expected Pass
Test 2: result(7) → expected Try again
Test 3: result(9) → expected Pass (a) Test 1 (b) Test 3 (c) Test 2 -
12.🗒️ Version 1 of a water reminder must be ready in 13 days. How many days are left for extras after the must-haves?
set a reminder time: 2 days
log a glass of water: 4 days
see today’s total: 3 days - 13.Which of these is true of a final design? (a) uses plain grey boxes (b) shows where things go (c) uses the final pictures (d) has no real colours
-
14.🔁 What number does this code show?
let steps = [7, 11, 17, 2];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
15.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 35; // start at 32
line 2: stars = stars - 1; // take away 1
line 3: stars = stars - 2; // take away 2
line 4: show(stars); // show it (a) line 2 (b) line 3 (c) line 1 - 16.📅 An app team plans for 2 days, builds for 10 days, tests for 3 days and releases on 1 more day. How many more days does building take than testing?
- 17.👆 Code that runs when an event happens is called a ___. (a) handler (b) hashtag (c) headline (d) header
- 18.🔢 When you make an app, what comes right after “build the app”? (a) plan the screens (b) release it (c) get an idea (d) test the app
-
19.👆 The user taps the button 2 times. What number does the label show now?
let lives = 7;
button.onTap = function () {
lives = lives + 4;
label.text = lives;
}; - 20.🔐 Is this permission request fair or too much: calculator → location? (a) fair (b) too much
-
21.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(90, 4)); - 22.Which of these is true of the back button? (a) sits at the bottom (b) hides extra links (c) goes to the last screen (d) shows 3 to 5 icons
- 23.🎨 Who should you test the UX with? (a) real users (b) nobody (c) only yourself (d) the app icon
-
24.🔀 What does this battery rule show?
let battery = 45;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery - 25.🔍 Which is the odd one out? (a) the screen layout (b) the icon shapes (c) the font size (d) how fast a task is done
-
26.⚙️ Which line does the processing (works out the answer)?
line 1: let bill = 62; // typed by the user
line 2: let friends = 2; // typed by the user
line 3: let share = bill / friends;
line 4: show(share); (a) line 3 (b) line 4 (c) line 1 (d) line 2 -
27.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Zoya", "Riya", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Riya (c) Hi, Kabir (d) Hi, Meera - 28.📅 An app team plans for 2 days, builds for 12 days, tests for 2 days and releases on 1 more day. How many days does the whole project take?
-
29.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. tap the Me tab
2. open “Video”
3. open “Video”
4. tap Back
5. tap Back
How many times must you tap Back to reach the main screen of this tab? -
30.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Caption: 19 px
Body text: 10 px
Footer: 17 px - 31.🔢 When you make an app, which comes first: “test the app” or “build the app”? (a) test the app (b) build the app
- 32.True or false: the theme colours is about UX (the experience). (a) True (b) False
-
33.🧪 How many of these test cases pass?
📝 Rule: a quiz is passed with 8 or more right answers.
function result(right) {
if (right >= 8) {
return "Pass";
}
return "Try again";
}
Test 1: result(12) → expected Pass
Test 2: result(10) → expected Pass
Test 3: result(7) → expected Try again - 34.🌗 Is black on pale grey easy or hard to read on a button? (a) hard to read (b) easy to read
-
35.🗒️ 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: 2 days
add money spent: 3 days
show the balance: 2 days - 36.⚙️ In an app, is adding up a bill an input, processing or an output? (a) input (b) output (c) processing
- 37.🔍 Which is the odd one out? (a) strong colour contrast (b) colour as the only clue (c) fast-flashing lights (d) icons with no labels
- 38.👆 An event in an app is ___. (a) a kind of list (b) something that happens (c) a colour theme (d) an app store
-
39.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(75, 5)); -
40.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Match report”
2. tap the Settings tab
3. open “Match report”
4. open “Badges”
5. open “Badges”
Which screen are you on now? (a) Feed (b) Match report (c) Badges (d) Chat
Answer key
- post the photo
- line 1
- a page of random dots
- Test 1
- open the menu
- No
- adding up a bill
- Sports
- 5
- tap to Save
- Test 1
- 4
- uses the final pictures
- 37
- line 1
- 7
- handler
- test the app
- 15
- too much
- 360
- goes to the last screen
- real users
- Battery OK
- how fast a task is done
- line 3
- Hi, Meera
- 17
- 0
- 1
- build the app
- False
- 3
- easy to read
- 2
- processing
- strong colour contrast
- something that happens
- 375
- Badges
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students