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.True or false: an app updates from the store. (a) True (b) False
- 2.🔢 In a sign-up flow, which comes FIRST? (a) tap “Sign up” (b) enter the code sent (c) make a password (d) open the app
-
3.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Riya")); (a) Riya (b) Hi, Riya! (c) Hi, name! (d) greet -
4.👆 The user taps the button 4 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 - 5.True or false: taking a photo is an input. (a) True (b) False
- 6.🔢 After an app is released, what comes right after “list what to fix”? (a) read user reviews (b) test it again (c) fix and improve (d) release an update
-
7.🗒️ Version 1 of a quiz app must be ready in 8 days. How many days are left for extras after the must-haves?
show a question: 4 days
check the answer: 2 days
show the score: 2 days -
8.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 20;
}
show(fee(4) + fee(7)); - 9.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) MVP (d) CPU
- 10.Which of these happens at the plan stage? (a) spot a problem to solve (b) list what users need (c) sketch the screens (d) talk to possible users
- 11.👥 A library app has 90 readers, 120 librarians and 110 volunteers as users. How many more librarians than volunteers are there?
-
12.🧪 What is the ACTUAL result of Test 3?
🎟️ Rule: a ticket costs 50 for children under 14, and 100 for everyone else.
function price(age) {
if (age <= 14) {
return 50;
}
return 100;
}
Test 1: price(18) → expected 100
Test 2: price(10) → expected 50
Test 3: price(17) → expected 100 - 13.🗒️ In MVP, the M stands for ___. (a) music (b) maximum (c) mobile (d) minimum
- 14.True or false: a finger hits Like is a tap event. (a) False (b) True
-
15.🔘 Our rule: buttons are at least 48 px tall. Which button is too small?
Next button: 48 px tall
Save button: 32 px tall
Back button: 48 px tall (a) Back (b) Save (c) Next - 16.🛠️ At which stage do you put it on an app store? (a) the plan stage (b) the release stage (c) the idea stage (d) the build stage
- 17.🔢 In a sign-up flow, what comes right after “open the app”? (a) type name and email (b) enter the code sent (c) see the home screen (d) tap “Sign up”
-
18.🧪 What is the ACTUAL result of Test 1?
🚚 Rule: delivery is free (0) when the order is 500 or more; otherwise it costs 40.
function delivery(total) {
if (total > 500) {
return 0;
}
return 40;
}
Test 1: delivery(500) → expected 0
Test 2: delivery(400) → expected 40
Test 3: delivery(550) → expected 0 - 19.True or false: “labels on every icon” helps everyone use the app. (a) True (b) False
- 20.👥 A library app has 300 readers, 195 librarians and 270 volunteers as users. How many users does it have in all?
-
21.🔁 What is the LAST line this code shows?
let names = ["Aman", "Zoya", "Arjun"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Arjun (b) Hi, Aman (c) Hi, Zoya -
22.🧭 The app has tabs Lessons, Quiz, Me. You start on Lessons, then:
1. open “Edit photo”
2. open “Friend list”
3. open “Match report”
How many times must you tap Back to reach the main screen of this tab? -
23.🧪 How many of these test cases pass?
🎟️ Rule: a ticket costs 50 for children under 9, and 100 for everyone else.
function price(age) {
if (age <= 9) {
return 50;
}
return 100;
}
Test 1: price(13) → expected 100
Test 2: price(7) → expected 50
Test 3: price(9) → expected 100 - 24.🔢 In a sign-up flow, what comes right after “tap “Sign up””? (a) see the home screen (b) type name and email (c) open the app (d) enter the code sent
- 25.✏️ Why draw a wireframe before coding? (a) it adds colours (b) it runs the app (c) changes are quick (d) it saves data
- 26.🔢 In a sign-up flow, which comes first: “type name and email” or “make a password”? (a) make a password (b) type name and email
-
27.💾 What does this code show? (Positions start at 0.)
let friends = ["Meera", "Riya", "Arjun", "Aman"];
show(friends[0]); (a) Arjun (b) Meera (c) Riya (d) Aman - 28.🔀 When does the else part run? (a) when the test is true (b) never (c) when the test is false (d) always
-
29.🖼️ How many parts (boxes) does this wireframe have?
[ list of items ]
[ search box ]
[ Add button ]
[ menu icon ]
[ big picture ]
[ title text ] - 30.Which of these app ideas solves a real problem? (a) an app that just says hi (b) a free study-room finder (c) a button with no action (d) a page of random dots
- 31.🔍 Which is the odd one out? (a) strong colour contrast (b) captions on videos (c) tiny tap areas (d) big touch targets
- 32.🔢 In a food-order flow, which comes FIRST? (a) check the cart (b) open the menu (c) track the order (d) pick a dish
- 33.🔁 What does a loop do? (a) draws icons (b) deletes code (c) saves photos (d) repeats code
-
34.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ top bar ]
[ search box ]
[ Add button ]
[ list of items ] (a) list of items (b) top bar (c) search box - 35.🔐 Which permission does a voice recorder really need? (a) contacts (b) the camera (c) the microphone (d) location
- 36.🧩 In an app, what is a box to type a name? (a) a screen (b) data (c) an input (d) a button
-
37.🧰 What number does this code show?
function double(n) {
return n * 2;
}
show(double(35)); - 38.📱 Which one comes from an app store: an app or a website? (a) a website (b) an app
-
39.💾 What number does this code show?
let songs = ["Stars", "Sunrise", "Monsoon"];
songs.push("Rain");
show(songs.length); - 40.✏️ Is this true of a wireframe or of a final design: uses plain grey boxes? (a) a wireframe (b) a final design
Answer key
- True
- open the app
- Hi, Riya!
- OFF
- True
- fix and improve
- 0
- 20
- MVP
- sketch the screens
- 10
- 100
- minimum
- True
- Save
- the release stage
- tap “Sign up”
- 40
- True
- 765
- Hi, Arjun
- 3
- 2
- type name and email
- changes are quick
- type name and email
- Meera
- when the test is false
- 6
- a free study-room finder
- tiny tap areas
- open the menu
- repeats code
- search box
- the microphone
- an input
- 70
- an app
- 4
- a wireframe
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students