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 is true of a final design? (a) shows where things go (b) has no real colours (c) is a quick sketch (d) shows the real fonts
- 2.True or false: a pop-up message is an output. (a) True (b) False
- 3.Which of these is about UI (the look)? (a) the button colours (b) whether users get lost (c) how users feel after (d) how easy sign-up is
-
4.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Hint: 27 px
Caption: 16 px
Footer: 25 px
Title: 13 px (a) Hint (b) Footer (c) Caption (d) Title - 5.🔍 Which is the odd one out? (a) the button colours (b) the font size (c) the theme colours (d) how many taps it takes
- 6.🗒️ In MVP, the M stands for ___. (a) minimum (b) maximum (c) music (d) mobile
- 7.🔐 Which permission does a homework photo scanner really need? (a) the microphone (b) contacts (c) the camera (d) location
- 8.🔐 Is this permission request fair or too much: calculator → location? (a) too much (b) fair
- 9.🔐 Which permission does a walking map really need? (a) the camera (b) location (c) the microphone (d) contacts
-
10.🧪 What is the ACTUAL result of Test 2?
🚚 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(200) → expected 40
Test 2: delivery(500) → expected 0
Test 3: delivery(550) → expected 0 - 11.⚙️ In an app, is speaking a command an input, processing or an output? (a) processing (b) output (c) input
-
12.🔁 What number does this code show?
let marks = [7, 17, 15, 2, 15];
let best = 0;
for (let i = 0; i < marks.length; i++) {
if (marks[i] > best) {
best = marks[i];
}
}
show(best); -
13.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Match report”
2. open “Friend list”
3. tap the Quiz tab
4. tap the Lessons tab
5. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? -
14.💾 What does this code show? (Positions start at 0.)
let songs = ["Sunrise", "Kites", "Ocean"];
show(songs[2]); (a) Sunrise (b) Kites (c) Ocean -
15.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Arjun (c) Hi, Zoya - 16.🚀 What should an app ask for only when it really needs it? (a) its icon (b) its name (c) a permission (d) a font
- 17.🚀 Your app is at version 4.5.3. The next release is a big redesign that changes how the app works. What is its version number? (a) 4.6.3 (b) 4.6.0 (c) 5.0.0 (d) 4.5.4
- 18.Which of these is a screen? (a) a slider for volume (b) a box to type a name (c) the settings page (d) your friends list
- 19.🔢 In a photo-post flow, what comes right after “add a filter”? (a) post the photo (b) write a caption (c) open the camera screen (d) take the photo
- 20.True or false: a finger hits Like is a tap event. (a) True (b) False
- 21.🚀 Which version is newer: 1.4.3 or 1.14.3? (a) 1.14.3 (b) 1.4.3
-
22.🔀 What does this PIN rule show?
let pin = "686";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 23.🧪 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
- 24.👥 A clinic app has 80 patients, 100 doctors and 170 nurses as users. Which user group is the biggest? (a) doctors (b) patients (c) nurses
- 25.♿ Showing right or wrong only in red and green is a problem for ___. (a) colour-blind users (b) the battery (c) the server (d) fast typists
- 26.True or false: a water reminder is the best fit for a student who often misses the school bus. (a) False (b) True
- 27.⚙️ In an app, is sorting the scores an input, processing or an output? (a) processing (b) input (c) output
- 28.True or false: a water reminder is a game. (a) False (b) True
-
29.🔁 What number does this code show?
let scores = [20, 20, 15, 10];
let best = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] > best) {
best = scores[i];
}
}
show(best); - 30.🌐 Which program do you need to open a website? (a) a calculator (b) a web browser (c) a camera app (d) an app store
- 31.True or false: a button with no action solves no real problem. (a) False (b) True
- 32.🔢 In a food-order flow, which comes first: “check the cart” or “open the menu”? (a) open the menu (b) check the cart
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let score = 42; // start at 42
line 2: score = score - 3; // take away 3
line 3: score = score * 3; // double it
line 4: score = score * 2; // double it
line 5: show(score); // show it -
34.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Well done, " + nameBox.text + "!";
}; (a) Well done! (b) Kabir (c) Well done, nameBox.text! (d) Well done, Kabir! - 35.🔀 What does >= mean? (a) not equal (b) smaller or equal (c) greater than or equal (d) less than
- 36.♿ Does this help everyone, or make the app harder to use: labels on every icon? (a) helps everyone (b) makes it harder
- 37.🔍 Which is the odd one out? (a) typing your age (b) adding up a bill (c) working out a tip (d) sorting the scores
- 38.🧪 A test case is an input together with its ___. (a) expected result (b) app icon (c) screen colour (d) font size
-
39.💾 pop() takes off the last item. What does this code show?
let notes = ["Hindi", "Sports", "Art", "Music", "Maths"];
notes.pop();
show(notes[notes.length - 1]); (a) Art (b) Sports (c) Music (d) Hindi - 40.🧩 In an app, what is a box to type a name? (a) an input (b) a screen (c) a button (d) data
Answer key
- shows the real fonts
- True
- the button colours
- Title
- how many taps it takes
- minimum
- the camera
- too much
- location
- 0
- input
- 17
- 1
- Ocean
- Hi, Arjun
- a permission
- 5.0.0
- the settings page
- write a caption
- True
- 1.14.3
- Use 4 digits
- what the app really does
- nurses
- colour-blind users
- False
- processing
- False
- 20
- a web browser
- True
- open the menu
- 156
- Well done, Kabir!
- greater than or equal
- helps everyone
- typing your age
- expected result
- Music
- an input
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students