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 total(price, qty) {
return price * qty;
}
show(total(20, 6)); - 2.True or false: you let friends try it at the release stage. (a) True (b) False
-
3.🔁 What number does this code show?
let marks = [14, 20, 6, 7];
let total = 0;
for (let i = 0; i < marks.length; i++) {
total = total + marks[i];
}
show(total); - 4.True or false: you put it on an app store at the build stage. (a) True (b) False
- 5.🗒️ You are planning version 1 of a quiz app. Which feature is a MUST-HAVE? (a) show a question (b) an avatar shop (c) background music (d) confetti effects
-
6.👆 The user taps the button 3 times. What number does the label show now?
let lives = 4;
button.onTap = function () {
lives = lives + 4;
label.text = lives;
}; -
7.⚙️ What number does this app show?
let bill = 30; // typed by the user
let friends = 3; // typed by the user
let share = bill / friends;
show(share); - 8.👆 What kind of event is this: one second passes? (a) a tap event (b) a load event (c) a text event (d) a timer event
- 9.True or false: a medicine reminder solves a real problem. (a) True (b) False
-
10.🔀 What does this sign-up rule show?
let age = 13;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent -
11.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 450; // typed by the user
line 2: let off = 10; // typed by the user
line 3: let pay = price - off;
line 4: show(pay); (a) line 3 (b) line 1 (c) line 4 (d) line 2 - 12.🛠️ At which stage do you write down the bugs? (a) the test stage (b) the idea stage (c) the release stage (d) the build stage
- 13.🛠️ At which stage do you share the download link? (a) the test stage (b) the plan stage (c) the release stage (d) the build stage
- 14.🚀 A change from version 1.4.2 to 1.4.3 usually means ___. (a) a new app (b) a big redesign (c) a bug fix (d) a new feature
- 15.🔀 In a good flow, each screen should lead to ___. (a) the same screen (b) a random page (c) a clear next step (d) a dead end
-
16.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Kabir")); (a) Hi, Kabir! (b) Hi, name! (c) Kabir (d) greet - 17.🎯 Is this a user need or a feature: a dark mode switch? (a) a feature (b) a user need
- 18.🔍 Which is the odd one out? (a) a step counter (b) a sleep tracker (c) a water reminder (d) a calculator
-
19.🔁 What is the LAST line this code shows?
let names = ["Meera", "Arjun", "Kabir", "Zoya", "Aman"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Aman (b) Hi, Arjun (c) Hi, Meera (d) Hi, Kabir - 20.🎨 UX stands for user ___. (a) example (b) experience (c) express (d) extra
- 21.True or false: taking a photo is an output. (a) False (b) True
-
22.👆 The user taps the button 5 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; -
23.👆 Two designs for the same task (each arrow is one tap). How many taps does the shorter design save?
Design A: Home → Address → Results → Pay → Pens → Shop
Design B: Home → Offers → Pens → Size → Confirm → Pay → Menu -
24.🔀 Which badge does this quiz app show?
let marks = 25;
if (marks >= 80) {
show("Gold");
} else if (marks >= 50) {
show("Silver");
} else {
show("Bronze");
} (a) Silver (b) Gold (c) Bronze - 25.♿ A screen has 7 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
-
26.🧪 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(10) → expected Pass
Test 2: result(7) → expected Try again
Test 3: result(8) → expected Pass - 27.True or false: a tiny 20 px button is poor button design. (a) True (b) False
- 28.🔢 In a photo-post flow, what comes right after “open the camera screen”? (a) add a filter (b) write a caption (c) take the photo (d) post the photo
- 29.🐞 Finding and fixing bugs is called ___. (a) debugging (b) designing (c) downloading (d) decorating
- 30.Which of these is true of a wireframe? (a) uses the final pictures (b) has the real colours (c) uses plain grey boxes (d) looks like the real app
-
31.💾 What does this code show? (Positions start at 0.)
let notes = ["Hindi", "Maths", "Art", "Music"];
show(notes[0]); (a) Maths (b) Music (c) Hindi (d) Art - 32.🗒️ You are planning version 1 of a bus tracker. Which feature can WAIT for a later version? (a) show arrival time (b) change the bus icon (c) see where the bus is (d) pick your bus stop
-
33.📊 Survey: which problem bugs you most? How many students voted in all?
no quiet study place: 23 votes
losing water bottles: 8 votes
forgetting homework: 20 votes -
34.🗒️ 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: 2 days
pick your bus stop: 5 days -
35.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(37)); - 36.🧑 Who is an app really made for? (a) its users (b) its icon (c) its charger (d) its coder only
- 37.True or false: the icon shapes is about UI (the look). (a) True (b) False
- 38.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) True (b) False
-
39.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let coins = 50; // start at 48
line 2: coins = coins - 3; // take away 3
line 3: coins = coins - 1; // take away 1
line 4: show(coins); // show it - 40.True or false: an app that just says hi solves a real problem. (a) True (b) False
Answer key
- 120
- False
- 47
- False
- show a question
- 16
- 10
- a timer event
- True
- Welcome!
- line 3
- the test stage
- the release stage
- a bug fix
- a clear next step
- Hi, Kabir!
- a feature
- a calculator
- Hi, Aman
- experience
- False
- 4
- 1
- Bronze
- 1
- 2
- True
- take the photo
- debugging
- uses plain grey boxes
- Hindi
- change the bus icon
- 51
- 2
- 74
- its users
- True
- True
- 46
- False
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students