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.Which of these makes the app harder to use? (a) sudden loud sounds (b) labels on every icon (c) big touch targets (d) text that can grow
- 2.🔢 In a sign-up flow, which comes FIRST? (a) see the home screen (b) type name and email (c) make a password (d) open the app
- 3.🗒️ Why keep version 1 small? (a) to look bigger (b) to use up storage (c) to learn from users soon (d) to confuse users
- 4.True or false: a torch is a tool app. (a) True (b) False
-
5.💾 What number does this code show?
let notes = ["Maths", "Art", "Hindi", "Sports"];
notes.push("Music");
show(notes.length); -
6.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Caption: 12 px
Body text: 17 px
Footer: 19 px - 7.👆 What kind of event is this: the app starts up? (a) a timer event (b) a tap event (c) a text event (d) a load event
-
8.🔁 What is the LAST line this code shows?
let names = ["Kabir", "Meera", "Zoya", "Arjun", "Riya"];
for (let i = 0; i < names.length; i++) {
show("Hi, " + names[i]);
} (a) Hi, Zoya (b) Hi, Kabir (c) Hi, Riya (d) Hi, Meera -
9.🔀 What does this sign-up rule show?
let age = 12;
if (age >= 13) {
show("Welcome!");
} else {
show("Ask a parent");
} (a) Welcome! (b) Ask a parent - 10.True or false: a pocket-money tracker is the best fit for a parent waiting at the bus stop. (a) False (b) True
- 11.Which of these is a feature? (a) “Small text is hard” (b) “I keep missing the bus” (c) a reminder alarm (d) “I forget my homework”
-
12.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let stars = 50; // start at 50
line 2: stars = stars - 6; // take away 5
line 3: stars = stars * 2; // double it
line 4: show(stars); // show it (a) line 2 (b) line 3 (c) line 1 - 13.🐞 What is a bug? (a) a new feature (b) a mistake in the code (c) a fast phone (d) a nice icon
-
14.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let lives = 35; // start at 34
line 2: lives = lives - 5; // take away 5
line 3: lives = lives * 2; // double it
line 4: lives = lives + 6; // add 6
line 5: show(lives); // show it - 15.🔐 Which permission does a voice recorder really need? (a) the microphone (b) the camera (c) contacts (d) location
-
16.🧰 A museum app works out the entry fee. What number does this code show?
function fee(age) {
if (age < 5) {
return 0;
}
return 30;
}
show(fee(2) + fee(10)); - 17.📲 What happens when you tap an app’s icon? (a) the phone charges (b) the app opens (c) the app is deleted (d) the sound turns off
- 18.🔍 Which is the odd one out? (a) how users feel after (b) the screen layout (c) the icon shapes (d) the button colours
- 19.🔢 In a photo-post flow, which comes LAST? (a) post the photo (b) open the camera screen (c) add a filter (d) take the photo
- 20.♿ A screen has 7 icon buttons. Only 6 of them have a text label for screen readers. How many still need a label?
- 21.True or false: a wireframe shows where things go. (a) False (b) True
- 22.🧰 In function tip(bill), what is bill? (a) a parameter (b) an event (c) a loop (d) a screen
-
23.🔁 What number does this code show?
let scores = [31, 50, 53];
let count = 0;
for (let i = 0; i < scores.length; i++) {
if (scores[i] >= 60) {
count = count + 1;
}
}
show(count); - 24.👆 An event in an app is ___. (a) an app store (b) a kind of list (c) something that happens (d) a colour theme
-
25.👆 The user taps the button 2 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 - 26.Which of these is true of a final design? (a) shows the real fonts (b) uses plain grey boxes (c) has no real colours (d) shows where things go
- 27.Which of these helps everyone use the app? (a) strong colour contrast (b) fast-flashing lights (c) icons with no labels (d) colour as the only clue
- 28.Which of these is an input? (a) typing your age (b) a pop-up message (c) a buzz (vibration) (d) checking a password
- 29.True or false: a class leaderboard fits saving on the phone. (a) False (b) True
- 30.🔐 Is this permission request fair or too much: torch → contacts? (a) too much (b) fair
- 31.True or false: a racing challenge is a learning app. (a) False (b) True
- 32.🔀 What does >= mean? (a) less than (b) greater than or equal (c) not equal (d) smaller or equal
- 33.💡 After a survey, which need should version 1 solve? (a) a random need (b) the newest trend (c) the most common need (d) the rarest need
- 34.🎯 Is this a user need or a feature: a share button? (a) a user need (b) a feature
- 35.🔀 In this course’s code, which sign tests “is equal to”? (a) => (b) = (c) !== (d) ===
- 36.True or false: a shared to-do list fits saving on the phone. (a) False (b) True
-
37.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let coins = 32; // start at 32
line 2: coins = coins + 4; // add 4
line 3: coins = coins - 8; // take away 5
line 4: show(coins); // show it -
38.🖼️ In this wireframe (top to bottom), what is right above the Add button?
[ big picture ]
[ tab bar ]
[ Add button ]
[ filter buttons ]
[ list of items ] (a) list of items (b) filter buttons (c) tab bar (d) big picture - 39.Which of these is an output? (a) tapping a button (b) typing your age (c) a beep sound (d) working out a tip
-
40.🐞 Each comment says what its line SHOULD do. Which line has the bug?
line 1: let score = 46; // start at 46
line 2: score = score + 2; // double it
line 3: score = score + 2; // add 2
line 4: show(score); // show it (a) line 1 (b) line 3 (c) line 2
Answer key
- sudden loud sounds
- open the app
- to learn from users soon
- True
- 5
- 1
- a load event
- Hi, Riya
- Ask a parent
- False
- a reminder alarm
- line 2
- a mistake in the code
- 64
- the microphone
- 30
- the app opens
- how users feel after
- post the photo
- 1
- True
- a parameter
- 0
- something that happens
- OFF
- shows the real fonts
- strong colour contrast
- typing your age
- False
- too much
- False
- greater than or equal
- the most common need
- a feature
- ===
- False
- 31
- tab bar
- a beep sound
- line 2
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students