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 has a web address. (a) False (b) True
- 2.🧰 Why write a function? (a) to make code longer (b) to hide errors (c) to slow the app (d) to reuse code
-
3.⚙️ Which line does the processing (works out the answer)?
line 1: let price = 30; // typed by the user
line 2: let qty = 2; // typed by the user
line 3: let total = price * qty;
line 4: show(total); (a) line 3 (b) line 4 (c) line 1 (d) line 2 - 4.🎯 Which app would help this user most: a gamer who forgets to drink? (a) a water reminder (b) a homework planner (c) a big-text reader (d) a recipe finder
- 5.🔍 Which is the odd one out? (a) speaking a command (b) a beep sound (c) a pop-up message (d) a buzz (vibration)
- 6.🗒️ The first small, working version of an app is often called an ___. (a) FAQ (b) URL (c) CPU (d) MVP
-
7.🖼️ How many parts (boxes) does this wireframe have?
[ top bar ]
[ big picture ]
[ title text ]
[ search box ]
[ menu icon ] - 8.💾 What is a variable? (a) a picture (b) a named box for a value (c) a phone setting (d) a type of screen
- 9.👥 A cricket club app has 245 players, 55 coaches and 195 fans as users. How many users does it have in all?
- 10.🎨 Is this about UI or UX: how easy sign-up is? (a) UX (b) UI
- 11.Which of these is true of a menu button? (a) undoes one move (b) hides extra links (c) goes to the last screen (d) switches main sections
- 12.🔍 Which is the odd one out? (a) draw the user flow (b) sketch the screens (c) pick the features (d) write the store text
- 13.🔐 Which permission does a barcode scanner really need? (a) location (b) contacts (c) the microphone (d) the camera
- 14.✏️ What is a wireframe? (a) the finished app (b) a type of password (c) a charging cable (d) a simple screen sketch
-
15.🔁 What number does this code show?
let scores = [13, 20, 10, 3, 6];
let total = 0;
for (let i = 0; i < scores.length; i++) {
total = total + scores[i];
}
show(total); - 16.🧩 In an app, what is the home page of an app? (a) an input (b) data (c) a screen (d) a button
-
17.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Friend list”
2. tap Back
3. open “Edit photo”
4. tap the Feed tab
5. open “Video”
Which screen are you on now? (a) Edit photo (b) Video (c) Friend list (d) Feed - 18.💡 After a survey, which need should version 1 solve? (a) the newest trend (b) the most common need (c) the rarest need (d) a random need
- 19.🚀 Which version is newer: 4.2.19 or 4.2.2? (a) 4.2.19 (b) 4.2.2
- 20.True or false: you add the buttons at the idea stage. (a) True (b) False
- 21.🔍 Which is the odd one out? (a) a water reminder (b) a spelling coach (c) a sleep tracker (d) a step counter
-
22.👆 The user types Kabir in nameBox and taps the button 1 time. What does the label show?
button.onTap = function () {
label.text = "Hi, " + nameBox.text + "!";
}; (a) Kabir (b) Hi! (c) Hi, nameBox.text! (d) Hi, Kabir! - 23.🐞 After fixing a bug you should ___. (a) never test (b) test it again (c) release at once (d) delete the test
-
24.🖼️ How many parts (boxes) does this wireframe have?
[ menu icon ]
[ Add button ]
[ big picture ]
[ title text ] - 25.🗒️ Why keep version 1 small? (a) to learn from users soon (b) to look bigger (c) to use up storage (d) to confuse users
-
26.🔁 What number does this code show?
let steps = [18, 1, 19, 5];
let total = 0;
for (let i = 0; i < steps.length; i++) {
total = total + steps[i];
}
show(total); -
27.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let stars = 42; // start at 42
line 2: stars = stars * 2; // double it
line 3: stars = stars + 4; // add 4
line 4: stars = stars + 8; // add 5
line 5: show(stars); // show it - 28.🧰 What does return do in a function? (a) closes the screen (b) repeats the code (c) sends back a value (d) deletes the app
- 29.🎯 Is this a user need or a feature: “What should I cook?”? (a) a feature (b) a user need
- 30.Which of these app ideas solves no real problem? (a) a free study-room finder (b) a page of random dots (c) a bill splitter (d) a lost-and-found board
- 31.📱 Which one is installed on a phone: an app or a website? (a) a website (b) an app
-
32.👆 The user taps the button 6 times. What number does the label show now?
let score = 7;
button.onTap = function () {
score = score + 5;
label.text = score;
}; -
33.🔀 What number does this shop app show?
let total = 570;
if (total > 500) {
total = total - 50;
}
show(total); - 34.Which of these is an input? (a) a result on screen (b) tapping a button (c) sorting the scores (d) checking a password
-
35.🔁 What number does this code show?
let steps = [64, 86, 83];
let count = 0;
for (let i = 0; i < steps.length; i++) {
if (steps[i] >= 40) {
count = count + 1;
}
}
show(count); -
36.🧭 The app has tabs Feed, Chat, Settings. You start on Feed, then:
1. open “Video”
2. tap Back
3. tap the Feed tab
4. open “Edit photo”
Which screen are you on now? (a) Feed (b) Chat (c) Edit photo (d) Video - 37.🔍 Which is the odd one out? (a) sorting the scores (b) a buzz (vibration) (c) adding up a bill (d) checking a password
-
38.🧭 The app has tabs Home, Search, Profile. You start on Home, then:
1. tap the Profile tab
2. open “Video”
3. tap the Search tab
Which screen are you on now? (a) Home (b) Profile (c) Search (d) Video - 39.🔀 When does the else part run? (a) when the test is false (b) always (c) when the test is true (d) never
- 40.🔁 In for (let i = 0; i < 3; i++), which values does i take? (a) 0, 1, 2, 3 (b) 3 (c) 0, 1, 2 (d) 1, 2, 3
Answer key
- False
- to reuse code
- line 3
- a water reminder
- speaking a command
- MVP
- 5
- a named box for a value
- 495
- UX
- hides extra links
- write the store text
- the camera
- a simple screen sketch
- 52
- a screen
- Video
- the most common need
- 4.2.19
- False
- a spelling coach
- Hi, Kabir!
- test it again
- 4
- to learn from users soon
- 43
- 93
- sends back a value
- a user need
- a page of random dots
- an app
- 37
- 520
- tapping a button
- 3
- Edit photo
- a buzz (vibration)
- Search
- when the test is false
- 0, 1, 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students