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 permission does a voice recorder really need? (a) location (b) the camera (c) contacts (d) the microphone
-
2.🐞 This code has a bug. What number does it ACTUALLY show?
line 1: let points = 43; // start at 43
line 2: points = points - 2; // take away 1
line 3: points = points + 5; // add 5
line 4: points = points * 2; // double it
line 5: show(points); // show it -
3.👆 The user taps the button 6 times. What number does the label show now?
let points = 2;
button.onTap = function () {
points = points + 2;
label.text = points;
}; - 4.💾 Where should the app save notes to read offline: on the phone or in the cloud? (a) in the cloud (b) on the phone
- 5.🔢 In a quiz-app flow, what comes right after “tap “Start quiz””? (a) pick an answer (b) see if it is right (c) see the final score (d) read a question
-
6.⚙️ What number does this app show?
let price = 320; // typed by the user
let off = 50; // typed by the user
let pay = price - off;
show(pay); - 7.🧰 What does return do in a function? (a) closes the screen (b) sends back a value (c) repeats the code (d) deletes the app
- 8.🌗 Is dark blue on black easy or hard to read on a button? (a) hard to read (b) easy to read
- 9.Which of these fits saving in the cloud? (a) the sound on/off setting (b) your last game level (c) a shared to-do list (d) notes to read offline
- 10.Which of these fits saving on the phone? (a) photos on two devices (b) a shared to-do list (c) the sound on/off setting (d) chat messages to friends
- 11.👆 Code that runs when an event happens is called a ___. (a) headline (b) header (c) hashtag (d) handler
- 12.🗒️ You are planning version 1 of a water reminder. Which feature is a MUST-HAVE? (a) water animations (b) custom alert sounds (c) share your streak (d) log a glass of water
- 13.👥 A library app has 235 readers, 275 librarians and 20 volunteers as users. How many users does it have in all?
- 14.💡 Which is a problem statement? (a) “Make it fast” (b) “Kids forget homework” (c) “Add a logo” (d) “Use blue buttons”
- 15.🗒️ What is a must-have feature? (a) a colour theme (b) a sound effect (c) a nice extra (d) one the app cannot skip
- 16.👥 A cricket club app has 220 players, 210 coaches and 245 fans as users. How many more players than coaches are there?
-
17.🧰 What does this code show?
function greet(name) {
return "Hi, " + name + "!";
}
show(greet("Kabir")); (a) Hi, name! (b) greet (c) Kabir (d) Hi, Kabir! -
18.🗒️ Version 1 of a bus tracker must be ready in 9 days. How many days are left for extras after the must-haves?
see where the bus is: 1 days
show arrival time: 3 days
pick your bus stop: 4 days -
19.🧩 How many buttons does this app screen have?
[title] Order Snacks
[button] Start
[text box] Due date
[text box] Email
[switch] Dark mode - 20.🔢 In a quiz-app flow, which comes first: “read a question” or “see if it is right”? (a) read a question (b) see if it is right
- 21.📱 Which one opens in a web browser: an app or a website? (a) a website (b) an app
- 22.📱 Where do people usually download phone apps from? (a) a printer (b) a web server (c) an app store (d) a charger
- 23.True or false: the game-over page is a button. (a) True (b) False
-
24.🧩 Which of these is a button on this screen?
[title] Add Homework
[text box] Phone
[button] Start
[text box] City
[button] Done
[text box] Notes (a) City (b) Done (c) Notes (d) Phone - 25.🚀 Which version is newer: 2.9.17 or 2.9.7? (a) 2.9.7 (b) 2.9.17
- 26.Which of these is a feature? (a) a share button (b) “Small text is hard” (c) “What should I cook?” (d) “I keep missing the bus”
- 27.True or false: a website comes from an app store. (a) True (b) False
-
28.👆 The user taps the button 1 times. What number does the label show now?
let likes = 0;
button.onTap = function () {
if (likes < 4) {
likes = likes + 1;
}
label.text = likes;
}; - 29.Which of these is an output? (a) adding up a bill (b) a buzz (vibration) (c) taking a photo (d) working out a tip
-
30.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ top bar ]
[ menu icon ]
[ title text ]
[ list of items ] (a) menu icon (b) top bar (c) list of items (d) title text - 31.🔀 When does the else part run? (a) when the test is true (b) never (c) always (d) when the test is false
- 32.👥 A cricket club app has 35 players, 65 coaches and 235 fans as users. Which user group is the biggest? (a) fans (b) players (c) coaches
-
33.🐞 This code has a bug. What number SHOULD it show, if every line did what its comment says?
line 1: let points = 47; // start at 45
line 2: points = points + 2; // add 2
line 3: points = points - 4; // take away 4
line 4: show(points); // show it - 34.🧩 Which part lets the user give the app information? (a) a logo (b) an input (c) a title (d) an icon
- 35.🔢 In a quiz-app flow, which comes LAST? (a) read a question (b) see if it is right (c) tap “Start quiz” (d) see the final score
- 36.👆 An event in an app is ___. (a) something that happens (b) an app store (c) a kind of list (d) a colour theme
-
37.🖼️ In this wireframe (top to bottom), which part is at the very bottom?
[ list of items ]
[ menu icon ]
[ Save button ]
[ Add button ]
[ title text ] (a) Save button (b) title text (c) menu icon (d) Add button -
38.♿ Our rule: text is at least 16 px. How many texts on this screen are too small?
Title: 23 px
Hint: 24 px
Label: 16 px -
39.💾 What does this code show? (Positions start at 0.)
let notes = ["Hindi", "Music", "Science", "Maths"];
show(notes[1]); (a) Music (b) Maths (c) Hindi (d) Science - 40.Which of these app ideas solves no real problem? (a) a library due-date alert (b) a button with no action (c) a free study-room finder (d) a medicine reminder
Answer key
- the microphone
- 92
- 14
- on the phone
- read a question
- 270
- sends back a value
- hard to read
- a shared to-do list
- the sound on/off setting
- handler
- log a glass of water
- 530
- “Kids forget homework”
- one the app cannot skip
- 10
- Hi, Kabir!
- 1
- 1
- read a question
- a website
- an app store
- False
- Done
- 2.9.17
- a share button
- False
- 1
- a buzz (vibration)
- list of items
- when the test is false
- fans
- 43
- an input
- see the final score
- something that happens
- title text
- 0
- Music
- a button with no action
Free app development lessons, practice and worksheets at talentjr.in/app-development-for-students