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.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Menu → Item → Pay → Pens → Search
Design B: Home → Offers → Confirm → Pens → Shop -
2.💾 pop() takes off the last item. What does this code show?
let notes = ["Art", "Hindi", "Music", "Maths", "Sports"];
notes.pop();
show(notes[notes.length - 1]); (a) Maths (b) Art (c) Music (d) Hindi - 3.True or false: a barcode scanner needs the microphone. (a) True (b) False
- 4.🧪 A test fails when ___. (a) the font is big (b) actual is not expected (c) the app is new (d) both are the same
- 5.👆 What kind of event is this: the app starts up? (a) a load event (b) a tap event (c) a text event (d) a timer event
-
6.🧩 Which of these is a button on this screen?
[title] Add Homework
[text box] Age
[button] Done
[button] Send
[text box] Email (a) Email (b) Done (c) Age - 7.🚀 A privacy policy tells users ___. (a) the app’s colours (b) the screen size (c) what data is collected (d) the app’s price
- 8.🔢 In a photo-post flow, which comes first: “add a filter” or “take the photo”? (a) take the photo (b) add a filter
-
9.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ top bar ]
[ menu icon ]
[ Add button ]
[ search box ] (a) top bar (b) menu icon (c) search box - 10.💡 An app that tries to do everything at once is usually ___. (a) easy to build (b) finished fast (c) very small (d) hard to use
- 11.♿ Does this help everyone, or make the app harder to use: captions on videos? (a) makes it harder (b) helps everyone
- 12.⚙️ In an app, is a result on screen an input, processing or an output? (a) processing (b) input (c) output
- 13.True or false: tap to Save is a button. (a) True (b) False
- 14.💾 Which can hold many values in order? (a) a switch (b) a single number (c) a list (d) a button
- 15.🔢 In a food-order flow, which comes first: “pay for the order” or “pick a dish”? (a) pick a dish (b) pay for the order
-
16.🧪 One test case fails. Which one?
🎟️ Rule: a ticket costs 50 for children under 8, and 100 for everyone else.
function price(age) {
if (age <= 8) {
return 50;
}
return 100;
}
Test 1: price(8) → expected 100
Test 2: price(14) → expected 100
Test 3: price(5) → expected 50 (a) Test 1 (b) Test 2 (c) Test 3 - 17.👥 A library app has 120 readers, 195 librarians and 20 volunteers as users. How many more librarians than readers are there?
- 18.🧪 A test case is an input together with its ___. (a) screen colour (b) font size (c) app icon (d) expected result
-
19.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. open “Score card”
3. tap the Settings tab
4. tap the Feed tab
How many times must you tap Back to reach the main screen of this tab? - 20.Which of these happens at the idea stage? (a) sketch the screens (b) spot a problem to solve (c) write the code (d) let friends try it
-
21.🧪 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(5) → expected Try again
Test 2: result(13) → expected Pass
Test 3: result(10) → expected Pass - 22.👆 “On tap → do this” links an event to ___. (a) a font (b) a web address (c) an action (d) a charger
- 23.📅 An app team plans for 4 days, builds for 4 days, tests for 3 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
- 24.💾 Where should the app save a draft you are typing: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 25.Which colour pair is easy to read? (a) light grey on white (b) red on green (c) white on black (d) pale pink on white
- 26.True or false: the theme colours is about UI (the look). (a) True (b) False
- 27.Which of these is true of a menu button? (a) sits at the bottom (b) shows 3 to 5 icons (c) switches main sections (d) opens a list of pages
- 28.✏️ Is this true of a wireframe or of a final design: is a quick sketch? (a) a final design (b) a wireframe
- 29.True or false: sorting the scores is processing. (a) False (b) True
- 30.🗒️ You are planning version 1 of a homework planner. Which feature is a MUST-HAVE? (a) share tasks to friends (b) see tasks by day (c) earn stickers (d) pick a theme colour
- 31.True or false: icons with no meaning is good button design. (a) True (b) False
-
32.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let score = 48; // start at 48
line 2: score = score + 9; // add 6
line 3: score = score + 5; // add 5
line 4: show(score); // show it -
33.👆 The user taps the button 2 times. What number does the label show now?
let stars = 1;
button.onTap = function () {
stars = stars + 1;
label.text = stars;
}; - 34.Which of these is an input? (a) adding up a bill (b) a buzz (vibration) (c) taking a photo (d) sorting the scores
- 35.True or false: adding up a bill is an input. (a) False (b) True
- 36.🔍 Which is the odd one out? (a) try every button (b) write the store text (c) put it on an app store (d) share the download link
-
37.🖼️ In this wireframe (top to bottom), what is right above the search box?
[ tab bar ]
[ search box ]
[ top bar ]
[ menu icon ] (a) tab bar (b) top bar (c) menu icon -
38.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 60;
}
show(fee(10) + fee(6)); - 39.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
- 40.🛠️ At which stage do you write down the bugs? (a) the plan stage (b) the idea stage (c) the test stage (d) the release stage
Answer key
- 1
- Maths
- False
- actual is not expected
- a load event
- Done
- what data is collected
- take the photo
- menu icon
- hard to use
- helps everyone
- output
- True
- a list
- pick a dish
- Test 1
- 75
- expected result
- 0
- spot a problem to solve
- 3
- an action
- 8
- on the phone
- white on black
- True
- opens a list of pages
- a wireframe
- True
- see tasks by day
- False
- 62
- 3
- taking a photo
- False
- try every button
- tab bar
- 120
- when the test is false
- the test stage
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students