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.🗒️ Version 1 of a water reminder must be ready in 8 days. How many days are left for extras after the must-haves?
set a reminder time: 3 days
log a glass of water: 1 days
see today’s total: 2 days - 2.🚀 What should an app ask for only when it really needs it? (a) its name (b) a permission (c) a font (d) its icon
-
3.🧪 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(9) → expected Pass
Test 2: result(6) → expected Try again
Test 3: result(10) → expected Pass - 4.Which of these is true of an app? (a) opens in a web browser (b) opens from a link (c) has a home-screen icon (d) has a web address
- 5.Which of these is true of a tab bar? (a) hides extra links (b) sits at the bottom (c) undoes one move (d) opens a list of pages
-
6.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Map”
3. open “Edit photo”
How many times must you tap Back to reach the main screen of this tab? - 7.Which of these helps everyone use the app? (a) text that can grow (b) tiny tap areas (c) fast-flashing lights (d) icons with no labels
- 8.True or false: the screen first opens is a load event. (a) True (b) False
- 9.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a library due-date alert (c) a blank grey screen (d) a page of random dots
- 10.💡 Which app idea solves this problem: the library is always full? (a) a medicine reminder (b) a study-room finder (c) a homework planner (d) a bill splitter
-
11.🔁 What number does this code show?
let runs = [23, 98, 31];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); - 12.👆 An event in an app is ___. (a) a colour theme (b) an app store (c) something that happens (d) a kind of list
- 13.🐞 What is a good first step when an app gives a wrong result? (a) delete the app (b) add more colours (c) find where it goes wrong (d) buy a new phone
-
14.👆 The user taps the button 2 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 5) {
likes = likes + 1;
}
label.text = likes;
}; - 15.🔍 Which is the odd one out? (a) speaking a command (b) a beep sound (c) a result on screen (d) a pop-up message
- 16.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) type name and email (b) enter the code sent (c) see the home screen (d) make a password
- 17.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) custom alert sounds (b) water animations (c) share your streak (d) set a reminder time
- 18.True or false: a lost-and-found board solves no real problem. (a) True (b) False
- 19.Which of these is true of the back button? (a) sits at the bottom (b) goes to the last screen (c) shows 3 to 5 icons (d) switches main sections
- 20.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) pick your bus stop (b) show arrival time (c) change the bus icon (d) see where the bus is
- 21.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
- 22.🔀 What does if / else let an app do? (a) pick one of two actions (b) repeat forever (c) save a photo (d) draw a screen
-
23.🗒️ Version 1 of a homework planner must be ready in 9 days. How many days are left for extras after the must-haves?
add a homework task: 3 days
set a due date: 1 days
see tasks by day: 3 days - 24.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) phone cases (b) easy cases (c) edge cases (d) old cases
- 25.🛠️ At which stage do you share the download link? (a) the build stage (b) the plan stage (c) the idea stage (d) the release stage
- 26.🔀 Why plan the user flow before building? (a) so each step is clear (b) to hide the buttons (c) to skip testing (d) to add more taps
- 27.🧪 A test case is an input together with its ___. (a) screen colour (b) app icon (c) font size (d) expected result
-
28.📊 Survey: which problem bugs you most? How many students voted in all?
losing water bottles: 13 votes
forgetting homework: 21 votes
missing the bus: 24 votes -
29.💾 What does this code show? (Positions start at 0.)
let notes = ["Sports", "Maths", "Art", "Music"];
show(notes[0]); (a) Art (b) Maths (c) Music (d) Sports -
30.🔁 What is the LAST line this code shows?
let names = ["Zoya", "Riya", "Kabir"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Riya (c) Hi, Kabir -
31.🔀 What does this PIN rule show?
let pin = "6550";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) PIN saved (b) Use 4 digits - 32.✏️ Is this true of a wireframe or of a final design: has no real colours? (a) a wireframe (b) a final design
- 33.🚀 Which version is newer: 3.8.7 or 3.8.18? (a) 3.8.7 (b) 3.8.18
- 34.💡 An app that tries to do everything at once is usually ___. (a) finished fast (b) very small (c) hard to use (d) easy to build
-
35.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 40; // start at 39
line 2: points = points - 5; // take away 5
line 3: points = points - 5; // take away 5
line 4: points = points - 4; // take away 4
line 5: show(points); // show it - 36.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) a random page (c) a dead end (d) the same screen
- 37.♿ A screen has 6 icon buttons. Only 2 of them have a text label for screen readers. How many still need a label?
-
38.👆 The user types Meera 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) Meera (d) Hi, Meera! - 39.Which of these is a user need? (a) a reminder alarm (b) a share button (c) “What should I cook?” (d) a search bar
- 40.💡 How can you check that people really have the problem? (a) copy another app (b) just guess (c) pick a colour (d) ask possible users
Answer key
- 2
- a permission
- 3
- has a home-screen icon
- sits at the bottom
- 2
- text that can grow
- True
- a library due-date alert
- a study-room finder
- 1
- something that happens
- find where it goes wrong
- 2
- speaking a command
- type name and email
- set a reminder time
- False
- goes to the last screen
- change the bus icon
- a mistake in the code
- pick one of two actions
- 2
- edge cases
- the release stage
- so each step is clear
- expected result
- 58
- Sports
- Hi, Kabir
- PIN saved
- a wireframe
- 3.8.18
- hard to use
- 25
- a clear next step
- 4
- Hi, Meera!
- “What should I cook?”
- ask possible users
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students