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.🔘 Our rule: buttons are at least 48 px tall. The Send button is 44 px tall. How many px taller must it be?
- 2.🧩 Which part lets the user give the app information? (a) an icon (b) a logo (c) an input (d) a title
- 3.🧭 Which part of navigation sits at the bottom? (a) a menu button (b) the back button (c) a tab bar
-
4.🔀 What number does this shop app show?
let total = 750;
if (total > 500) {
total = total - 50;
}
show(total); -
5.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let coins = 50; // start at 50
line 2: coins = coins - 5; // take away 4
line 3: coins = coins - 3; // take away 3
line 4: show(coins); // show it (a) line 3 (b) line 2 (c) line 1 - 6.True or false: a racing challenge is a learning app. (a) False (b) True
-
7.🔁 What number does this code show?
let steps = [22, 16, 52, 68];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 40) {
count = count + 1;
}
}
show(count); - 8.Which of these happens at the plan stage? (a) sketch the screens (b) let friends try it (c) write the code (d) write down the bugs
- 9.⚙️ In an app, is a beep sound an input, processing or an output? (a) input (b) output (c) processing
-
10.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(31)); - 11.True or false: a bus tracker is the best fit for a grandparent with weak eyesight. (a) True (b) False
- 12.Which of these is a screen? (a) tap to Send (b) the log-in page (c) a date picker (d) your saved notes
- 13.🚀 Your app is at version 1.3.2. The next release adds a new feature. What is its version number? (a) 1.4.2 (b) 1.4.0 (c) 1.3.3 (d) 2.0.0
- 14.🚀 Your app is at version 2.12.3. The next release fixes a small bug. What is its version number? (a) 3.0.0 (b) 2.13.3 (c) 2.13.0 (d) 2.12.4
- 15.🔢 In a quiz-app flow, which comes FIRST? (a) pick an answer (b) read a question (c) tap “Start quiz” (d) see if it is right
-
16.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 36; // start at 33
line 2: lives = lives * 2; // double it
line 3: lives = lives - 1; // take away 1
line 4: show(lives); // show it - 17.True or false: how many taps it takes is about UI (the look). (a) True (b) False
- 18.🧩 In an app, what is tap to Save? (a) a screen (b) a button (c) data (d) an input
- 19.Which of these requests is fair? (a) calculator → location (b) timer → your photos (c) calling app → contacts (d) torch → contacts
- 20.🧭 About how many tabs suit a tab bar best? (a) 20 (b) 3 to 5 (c) 1 (d) 10 to 12
-
21.👆 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) Hi! (b) Hi, nameBox.text! (c) Hi, Aman! (d) Aman - 22.🔢 In a sign-up flow, which comes first: “see the home screen” or “open the app”? (a) see the home screen (b) open the app
- 23.True or false: the search box changes is a text event. (a) False (b) True
-
24.🗒️ Version 1 of a bus tracker must be ready in 12 days. How many days are left for extras after the must-haves?
see where the bus is: 3 days
show arrival time: 3 days
pick your bus stop: 5 days - 25.🔢 In a sign-up flow, which comes first: “open the app” or “type name and email”? (a) type name and email (b) open the app
-
26.🔀 What does this PIN rule show?
let pin = "87406";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 27.🔢 In a photo-post flow, what comes right after “add a filter”? (a) post the photo (b) take the photo (c) open the camera screen (d) write a caption
- 28.🔍 Which is the odd one out? (a) sketch the screens (b) let friends try it (c) draw the user flow (d) pick the features
- 29.🔍 Which is the odd one out? (a) a cricket run chase (b) a times-table quiz (c) a word battle (d) a puzzle with levels
- 30.🔢 After an app is released, what comes right after “fix and improve”? (a) list what to fix (b) release an update (c) read user reviews (d) test it again
- 31.🎨 Is this about UI or UX: the font size? (a) UX (b) UI
-
32.🔀 What number does this shop app show?
let total = 360;
if (total > 500) {
total = total - 50;
}
show(total); - 33.Which of these is true of a wireframe? (a) shows the real fonts (b) has the real colours (c) uses the final pictures (d) shows where things go
- 34.👆 What kind of event is this: the user taps Play? (a) a text event (b) a timer event (c) a tap event (d) a load event
- 35.🔢 In a photo-post flow, which comes first: “write a caption” or “open the camera screen”? (a) open the camera screen (b) write a caption
-
36.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 35; // start at 32
line 2: points = points - 1; // take away 1
line 3: points = points + 3; // add 3
line 4: show(points); // show it - 37.👆 “On tap → do this” links an event to ___. (a) a charger (b) a web address (c) an action (d) a font
- 38.🔐 Which permission does a birthday list of friends really need? (a) the microphone (b) contacts (c) the camera (d) location
- 39.♿ A screen has 11 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
- 40.True or false: you list what users need at the plan stage. (a) True (b) False
Answer key
- 4
- an input
- a tab bar
- 700
- line 2
- False
- 2
- sketch the screens
- output
- 62
- False
- the log-in page
- 1.4.0
- 2.12.4
- tap “Start quiz”
- 71
- False
- a button
- calling app → contacts
- 3 to 5
- Hi, Aman!
- open the app
- True
- 1
- open the app
- Use 4 digits
- write a caption
- let friends try it
- a times-table quiz
- test it again
- UI
- 360
- shows where things go
- a tap event
- open the camera screen
- 34
- an action
- contacts
- 9
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students