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.🔢 In a food-order flow, what comes right after “check the cart”? (a) pay for the order (b) add it to the cart (c) open the menu (d) pick a dish
- 2.Which of these is true of an app? (a) has a home-screen icon (b) opens in a web browser (c) needs no installing (d) has a web address
- 3.🔢 In a quiz-app flow, which comes FIRST? (a) read a question (b) tap “Start quiz” (c) pick an answer (d) see if it is right
-
4.⚙️ What number does this app show?
let price = 360; // typed by the user
let off = 10; // typed by the user
let pay = price - off;
show(pay); -
5.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Aman")); (a) greet (b) Hello, name! (c) Hello, Aman! (d) Aman - 6.🗒️ When should nice-to-have features be built? (a) after the must-haves (b) on day one (c) before anything (d) never
- 7.🎯 Is this a user need or a feature: “I keep missing the bus”? (a) a feature (b) a user need
-
8.🔁 What number does this code show?
let scores = [19, 15, 17, 18, 8];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); -
9.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 49; // start at 49
line 2: stars = stars + 2; // take away 2
line 3: stars = stars * 2; // double it
line 4: stars = stars - 4; // take away 4
line 5: show(stars); // show it (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 10.🔀 What does >= mean? (a) less than (b) smaller or equal (c) not equal (d) greater than or equal
-
11.🧰 What does this code show?
function greet(name) {
return "Hello, " + name + "!";
}
show(greet("Riya")); (a) Hello, Riya! (b) greet (c) Riya (d) Hello, name! - 12.Which of these is an input? (a) your friends list (b) your saved notes (c) tap to Start (d) a slider for volume
- 13.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) set a reminder time (b) share your streak (c) custom alert sounds (d) water animations
- 14.🛠️ At which stage do you sketch the screens? (a) the plan stage (b) the build stage (c) the idea stage (d) the release stage
- 15.🎯 What is a user need? (a) a problem a user has (b) a type of button (c) a phone setting (d) a colour theme
-
16.💾 What number does this code show?
let lives = 8;
lives = lives - 1;
lives = lives + 1;
show(lives); - 17.Which of these fits saving on the phone? (a) the sound on/off setting (b) photos on two devices (c) a class leaderboard (d) chat messages to friends
- 18.🔀 What does if / else let an app do? (a) save a photo (b) draw a screen (c) pick one of two actions (d) repeat forever
- 19.👆 What kind of event is this: a finger hits Like? (a) a timer event (b) a load event (c) a text event (d) a tap event
-
20.🔀 What does this battery rule show?
let battery = 54;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Battery OK (b) Low battery -
21.🔀 What does this battery rule show?
let battery = 22;
if (battery < 20) {
show("Low battery");
} else {
show("Battery OK");
} (a) Low battery (b) Battery OK -
22.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. tap the Chat tab
2. open “Badges”
3. tap the Chat tab
4. tap the Chat tab
Which screen are you on now? (a) Feed (b) Chat (c) Settings (d) Badges - 23.🗒️ A to-do app with no “add a task” feature is ___. (a) a nice extra (b) well planned (c) ready to release (d) missing a must-have
- 24.True or false: a page of random dots solves no real problem. (a) True (b) False
- 25.True or false: a buzz (vibration) is processing. (a) True (b) False
- 26.🧩 Which input is best for typing your name? (a) a switch (b) a slider (c) a text box (d) a picture
- 27.🔍 Which is the odd one out? (a) the font size (b) how fast a task is done (c) how users feel after (d) how easy sign-up is
-
28.🧰 What number does this code show?
function total(price, qty) {
return price * qty;
}
show(total(55, 4)); - 29.♿ Why add captions to videos? (a) to slow them down (b) so anyone can follow (c) to hide the sound (d) to add colour
-
30.🧰 What number does this code show?
function points(stars) {
return stars * 10 + 5;
}
show(points(5) + points(4)); -
31.🧩 Which of these is a button on this screen?
[title] Sign Up
[slider] Brightness
[button] Back
[button] Help
[text box] Name
[switch] Show hints
[button] Cancel
[text box] Due date (a) Cancel (b) Due date (c) Name (d) Show hints -
32.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 60 px tall
Back button: 48 px tall
Save button: 44 px tall (a) Back (b) Save (c) Next - 33.🎯 Who are the users of an app? (a) the app icons (b) the people who use it (c) only the testers (d) only the coders
- 34.💾 Data saved only on the phone is lost when ___. (a) the screen turns off (b) the phone is lost (c) you send a message (d) the app is closed
-
35.🔀 What does this sign-up rule show?
let age = 14;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Ask a parent (b) Welcome! -
36.🔁 What number does this code show?
let scores = [2, 19, 3, 19];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 37.🔍 Which is the odd one out? (a) a flashcard trainer (b) a unit converter (c) a calculator (d) an alarm clock
-
38.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Cancel button: 24 px tall
Next button: 64 px tall
Save button: 48 px tall (a) Save (b) Cancel (c) Next - 39.True or false: a homework planner is the best fit for a pupil juggling five projects. (a) False (b) True
- 40.✏️ Is this true of a wireframe or of a final design: shows where things go? (a) a final design (b) a wireframe
Answer key
- pay for the order
- has a home-screen icon
- tap “Start quiz”
- 350
- Hello, Aman!
- after the must-haves
- a user need
- 77
- line 2
- greater than or equal
- Hello, Riya!
- a slider for volume
- set a reminder time
- the plan stage
- a problem a user has
- 8
- the sound on/off setting
- pick one of two actions
- a tap event
- Battery OK
- Battery OK
- Chat
- missing a must-have
- True
- False
- a text box
- the font size
- 220
- so anyone can follow
- 100
- Cancel
- Save
- the people who use it
- the phone is lost
- Welcome!
- 43
- a flashcard trainer
- Cancel
- True
- a wireframe
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students