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?
let notes = ["Maths", "Music", "Sports"];
notes.push("Art");
show(notes.length); -
2.🧩 How many buttons does this app screen have?
[title] Settings
[button] Send
[text box] Subject
[button] Done
[button] Cancel
[text box] Age - 3.🛠️ At which stage do you spot a problem to solve? (a) the release stage (b) the idea stage (c) the plan stage (d) the build stage
-
4.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(4) + points(2)); -
5.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let lives = 50; // start at 50
line 2: lives = lives + 2; // double it
line 3: lives = lives + 4; // add 4
line 4: lives = lives * 2; // double it
line 5: show(lives); // show it - 6.🔍 Which is the odd one out? (a) a step counter (b) a calculator (c) a sleep tracker (d) a water reminder
- 7.🎯 Which app would help this user most: a parent waiting at the bus stop? (a) a water reminder (b) a recipe finder (c) a bus tracker (d) a pocket-money tracker
- 8.🗒️ You are planning version 1 of a homework planner. Which feature can WAIT for a later version? (a) set a due date (b) earn stickers (c) see tasks by day (d) add a homework task
- 9.🐞 Finding and fixing bugs is called ___. (a) decorating (b) designing (c) downloading (d) debugging
- 10.Which of these is true of a website? (a) has a home-screen icon (b) is installed on a phone (c) updates from the store (d) has a web address
-
11.💾 What does this code show? (Positions start at 0.)
let songs = ["Sunrise", "Rain", "Monsoon"];
show(songs[1]); (a) Sunrise (b) Monsoon (c) Rain - 12.🔍 Which is the odd one out? (a) the font size (b) whether users get lost (c) how fast a task is done (d) how many taps it takes
-
13.💾 What number does this code show?
let notes = ["Hindi", "Art", "Music", "Sports"];
notes.push("Maths");
notes.push("Science");
show(notes.length); - 14.True or false: an app that just says hi solves no real problem. (a) True (b) False
- 15.🗂️ What kind of app is a word battle? (a) a game (b) a learning app (c) a health app (d) a tool app
- 16.🧰 What is a function? (a) a named block of code (b) a screen size (c) a type of phone (d) a list of colours
- 17.Which of these is true of an app? (a) updates from the store (b) opens in a web browser (c) needs no installing (d) has a web address
- 18.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
- 19.True or false: a unit converter is a learning app. (a) True (b) False
- 20.True or false: grey text on grey is good button design. (a) True (b) False
-
21.💾 What does this code show? (Positions start at 0.)
let friends = ["Zoya", "Arjun", "Aman"];
show(friends[1]); (a) Arjun (b) Aman (c) Zoya -
22.🔁 What number does this code show?
let runs = [22, 62, 69];
let count = 0;
for (let i = 0; i < runs.length; i++) {
if (runs[i] >= 40) {
count = count + 1;
}
}
show(count); - 23.True or false: a word battle is a game. (a) False (b) True
-
24.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let stars = 40; // start at 40
line 2: stars = stars + 2; // double it
line 3: stars = stars + 6; // add 6
line 4: stars = stars - 2; // take away 2
line 5: show(stars); // show it -
25.🗒️ Version 1 of a quiz app must be ready in 9 days. How many days are left for extras after the must-haves?
show a question: 1 days
check the answer: 3 days
show the score: 4 days -
26.👆 The user taps the button 5 times. What does the label show now?
let on = false;
button.onTap = function () {
on = !on;
if (on) {
label.text = "ON";
} else {
label.text = "OFF";
}
}; (a) ON (b) OFF -
27.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Riya", "Zoya", "Aman", "Meera"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Meera (b) Hi, Kabir (c) Hi, Zoya (d) Hi, Riya -
28.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Save button: 72 px tall
Cancel button: 28 px tall
Start button: 72 px tall
Send button: 52 px tall (a) Start (b) Save (c) Send (d) Cancel - 29.Which of these is a feature? (a) “What should I cook?” (b) “I keep missing the bus” (c) a share button (d) “Small text is hard”
-
30.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 52 px tall
Send button: 52 px tall
Save button: 32 px tall
Back button: 52 px tall (a) Save (b) Next (c) Send (d) Back - 31.🧭 Where is a tab bar usually placed in a phone app? (a) in the middle (b) inside a button (c) nowhere (d) at the bottom
- 32.Which of these is true of a website? (a) has a home-screen icon (b) opens in a web browser (c) is installed on a phone (d) updates from the store
-
33.♿ Our rule: text is at least 16 px. Which text on this screen is too small?
Title: 26 px
Footer: 21 px
Body text: 11 px (a) Footer (b) Body text (c) Title - 34.True or false: speaking a command is an output. (a) True (b) False
- 35.🧰 Why write a function? (a) to slow the app (b) to reuse code (c) to hide errors (d) to make code longer
- 36.🗒️ You are planning version 1 of a bus tracker. Which feature is a MUST-HAVE? (a) pick your bus stop (b) a dark mode (c) change the bus icon (d) rate the driver
- 37.🎯 An app for “everyone” with no clear user usually ___. (a) needs no testing (b) wins every prize (c) is easy to build (d) helps nobody well
- 38.True or false: a beep sound is an input. (a) True (b) False
- 39.🗒️ A to-do app with no “add a task” feature is ___. (a) ready to release (b) well planned (c) missing a must-have (d) a nice extra
- 40.🔐 Which permission does a barcode scanner really need? (a) the microphone (b) the camera (c) location (d) contacts
Answer key
- 4
- 3
- the idea stage
- 70
- 112
- a calculator
- a bus tracker
- earn stickers
- debugging
- has a web address
- Rain
- the font size
- 6
- True
- a game
- a named block of code
- updates from the store
- an app
- False
- False
- Arjun
- 2
- True
- 46
- 1
- ON
- Hi, Meera
- Cancel
- a share button
- Save
- at the bottom
- opens in a web browser
- Body text
- False
- to reuse code
- pick your bus stop
- helps nobody well
- False
- missing a must-have
- the camera
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students