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.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(8)); - 2.🛠️ At which stage do you let friends try it? (a) the build stage (b) the release stage (c) the idea stage (d) the test stage
- 3.🔢 When you make an app, which comes first: “get an idea” or “release it”? (a) release it (b) get an idea
- 4.🧩 What does a button do when you tap it? (a) changes the phone (b) saves the battery (c) starts an action (d) shows the time
- 5.💾 Saving data in the cloud lets you ___. (a) never need a password (b) shrink the app (c) use it on any device (d) skip the internet
- 6.True or false: a speak-to-type notes app needs the microphone. (a) False (b) True
- 7.🧪 Values right at a limit, like age 12 for “under 12”, are called ___. (a) old cases (b) easy cases (c) edge cases (d) phone cases
-
8.👆 Two designs for the same task (each arrow is one tap). How many taps does Design B need?
Design A: Home → Cart → Search → Offers → Pay → Shop
Design B: Home → Address → Search → Item → Pay → Shop → Offers -
9.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 10; // typed by the user
line 2: let qty = 3; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 1 (b) line 2 (c) line 3 (d) line 4 - 10.🧪 What is the actual result of a test? (a) what we hope for (b) the test’s number (c) the app’s name (d) what the app really does
- 11.📱 Which one opens from a link: an app or a website? (a) an app (b) a website
- 12.🔢 In a quiz-app flow, which comes first: “see the final score” or “read a question”? (a) see the final score (b) read a question
- 13.🔁 Why use a loop to show 100 messages? (a) it is slower (b) it hides them (c) less code to write (d) it uses more lines
- 14.📅 An app team plans for 5 days, builds for 4 days, tests for 1 days and releases on 1 more day. Planning starts on day 1. On which day does building finish?
-
15.🧰 What number does this code show?
function triple(n) {
return n * 3;
}
show(triple(17)); - 16.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) share your streak (b) water animations (c) custom alert sounds (d) log a glass of water
-
17.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Score card”
3. tap Back
4. open “Friend list”
How many times must you tap Back to reach the main screen of this tab? -
18.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Edit photo”
2. open “Map”
3. tap Back
4. open “Score card”
5. tap Back
Which screen are you on now? (a) Edit photo (b) Map (c) Feed (d) Score card - 19.💡 How can you check that people really have the problem? (a) pick a colour (b) just guess (c) ask possible users (d) copy another app
- 20.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a wireframe (b) a final design
-
21.🧩 How many inputs (text boxes, switches and sliders) does this screen have?
[title] Sign Up
[button] Help
[text box] Email
[text box] Notes
[button] Cancel
[button] Done - 22.🔢 In a sign-up flow, which comes LAST? (a) make a password (b) enter the code sent (c) tap “Sign up” (d) see the home screen
- 23.🌗 Is dark blue on white easy or hard to read on a button? (a) easy to read (b) hard to read
- 24.♿ A screen has 7 icon buttons. Only 3 of them have a text label for screen readers. How many still need a label?
- 25.🔍 Which is the odd one out? (a) how fast a task is done (b) how many taps it takes (c) the screen layout (d) how easy sign-up is
-
26.🔀 What does this PIN rule show?
let pin = "72350";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved -
27.🔀 Which badge does this quiz app show?
let marks = 69;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 28.💾 Where should the app save chat messages to friends: on the phone or in the cloud? (a) on the phone (b) in the cloud
- 29.🗒️ In MVP, the M stands for ___. (a) maximum (b) mobile (c) minimum (d) music
- 30.💡 Does an app idea like a lost-and-found board solve a real problem? (a) Yes (b) No
- 31.🔀 In a good flow, each screen should lead to ___. (a) a clear next step (b) a random page (c) the same screen (d) a dead end
-
32.🔀 What does this PIN rule show?
let pin = "641";
if (pin.length === 4) {
show("PIN saved");
} else {
show("Use 4 digits");
} (a) Use 4 digits (b) PIN saved - 33.True or false: a big, easy tap area is poor button design. (a) False (b) True
- 34.🚀 What should an app ask for only when it really needs it? (a) its name (b) a permission (c) its icon (d) a font
-
35.💾 What number does this code show?
let friends = ["Arjun", "Aman"];
friends.push("Riya");
friends.push("Kabir");
show(friends.length); - 36.True or false: a voice recorder needs your location. (a) True (b) False
-
37.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 51; // start at 49
line 2: coins = coins * 2; // double it
line 3: coins = coins + 3; // add 3
line 4: coins = coins - 1; // take away 1
line 5: show(coins); // show it - 38.♿ Showing right or wrong only in red and green is a problem for ___. (a) the battery (b) colour-blind users (c) fast typists (d) the server
-
39.👆 The user taps the button 6 times. What number does the label show now?
let coins = 7;
button.onTap = function () {
coins = coins + 1;
label.text = coins;
}; -
40.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 40; // start at 38
line 2: coins = coins - 4; // take away 4
line 3: coins = coins * 2; // double it
line 4: coins = coins + 4; // add 4
line 5: show(coins); // show it
Answer key
- 16
- the test stage
- get an idea
- starts an action
- use it on any device
- True
- edge cases
- 6
- line 3
- what the app really does
- a website
- read a question
- less code to write
- 9
- 51
- log a glass of water
- 2
- Edit photo
- ask possible users
- a wireframe
- 2
- see the home screen
- easy to read
- 4
- the screen layout
- Use 4 digits
- Silver
- in the cloud
- minimum
- Yes
- a clear next step
- Use 4 digits
- False
- a permission
- 4
- False
- 104
- colour-blind users
- 13
- 72
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students