MCQs / Computer Science / Lab: Campus Feedback App (Mini Project)
Lab: Campus Feedback App (Mini Project) MCQs — Computer Science 11 multiple-choice questions on Lab: Campus Feedback App (Mini Project) from Computer Science, each with the correct answer and, where available, a teacher's explanation. Read through them to revise the chapter, then practise the same questions one by one to test yourself.
1. Does the Campus Feedback App need the INTERNET or SENDSMS permission to send feedback? Both Only SENDSMS Neither – the email app sends the message Only INTERNET Answer: C) Neither – the email app sends the message
Explanation: The implicit email intent delegates sending to the email app.
Discuss this question
2. The email subject in the lab is built as: Only the message text The coordinates The app name only "[Type] Area – RollNo", e.g. [Complaint] Library – BSCS-23-014 Answer: D) "[Type] Area – RollNo", e.g. [Complaint] Library – BSCS-23-014
Explanation: A structured subject helps the admin sort feedback.
Discuss this question
3. Which widget in the lab lets the student choose the campus area from a list? SeekBar Spinner CheckBox RadioButton Answer: B) Spinner
Explanation: The Spinner is filled from the areas string-array.
Discuss this question
4. Which link included in the email body lets the admin open the location in a browser or Maps? mailto:lat,lng https://maps.google.com/?q=lat,lng smsto:lat,lng tel:lat,lng Answer: B) https://maps.google.com/?q=lat,lng
Explanation: A Google Maps URL with coordinates opens the location anywhere.
Discuss this question
5. What is the purpose of the 10-second countdown before opening email? To compress the email To give the student a chance to cancel and edit (undo window) while the location is attached To charge the battery To slow down the app Answer: B) To give the student a chance to cancel and edit (undo window) while the location is attached
Explanation: The countdown acts as a cancel/undo window.
Discuss this question
6. If location permission is denied, the app should: Send an SMS instead Still allow feedback to be sent, marking location as not available Crash Close immediately Answer: B) Still allow feedback to be sent, marking location as not available
Explanation: Graceful degradation keeps the core feature working.
Discuss this question
7. Which API gives a fresh high-accuracy location fix in the lab? Geocoder.getFromLocationName() FusedLocationProviderClient.getCurrentLocation() LocationManager.getLastKnownLocation only ConnectivityManager Answer: B) FusedLocationProviderClient.getCurrentLocation()
Explanation: The fused provider returns the current location.
Discuss this question
8. Why is the student's name stored in SharedPreferences? So it is filled in automatically the next time the app opens To send it by SMS Because email requires it To get the location Answer: A) So it is filled in automatically the next time the app opens
Explanation: Remembering details improves usability.
Discuss this question
9. Why does the app show the success dialog in the activity-result callback instead of checking a result code? Because email needs internet permission Because Gmail always returns RESULTOK Because dialogs cannot be shown otherwise Email apps do not return a reliable result code, so the app confirms when the user returns Answer: D) Email apps do not return a reliable result code, so the app confirms when the user returns
Explanation: The callback runs when the user comes back from the email app.
Discuss this question
10. android:entries="@array/areas" on a Spinner: Fills the Spinner with items from a string-array resource Opens the email app Creates a menu Sets the background Answer: A) Fills the Spinner with items from a string-array resource
Explanation: entries binds a string-array to the Spinner without an adapter in code.
Discuss this question
11. Which call cancels the running countdown when the student presses Cancel? timer.stop() timer.pause() timer.cancel() finish() Answer: C) timer.cancel()
Explanation: CountDownTimer.cancel() stops it.
Discuss this question
Practise Lab: Campus Feedback App (Mini Project) MCQs
More Computer Science chapters