Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 5 subjective questions Smart Device Communication and Sensing Systems

CSE227 — Advanced Android App Development 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define Bluetooth technology and elaborate on its primary communication principles. Provide at least three common use cases for Bluetooth in modern Android application development.

  2. Question 2 of 20

    Compare and contrast Classic Bluetooth with Bluetooth Low Energy (BLE) across key parameters such as data throughput, power consumption, and typical application scenarios. When would an Android developer choose one over the other for a new project?

  3. Question 3 of 20

    Describe the essential steps an Android application must take to discover available Bluetooth devices in its vicinity. Include a discussion of the necessary Android permissions required for this operation, especially considering different Android API levels.

  4. Question 4 of 20

    Differentiate between "available devices" and "paired devices" in the context of Bluetooth. Explain how an Android application retrieves a list for each category, outlining the distinct methods involved.

  5. Question 5 of 20

    Outline the process of initiating a connection to a specific Bluetooth device from an Android application. What are the common challenges an Android developer might face during this connection process, and how can they be mitigated?

  6. Question 6 of 20

    Explain the concept of Wi-Fi Companion device pairing in Android. What specific problems does the Companion Device Manager API solve, and what benefits does it offer compared to traditional Wi-Fi connection methods for IoT devices?

  7. Question 7 of 20

    Describe the typical workflow for an Android application to connect to a Wi-Fi companion device using the CompanionDeviceManager API. Include the necessary steps from permission declaration to receiving connection callbacks.

  8. Question 8 of 20

    How do Android applications perform network operations over Wi-Fi, specifically for sending and receiving data to/from a connected device? Describe the typical APIs involved and essential considerations for reliable communication.

  9. Question 9 of 20

    List and briefly explain the three primary motion sensors available on Android devices. Provide a distinct example use case for each in an Android application.

  10. Question 10 of 20

    Describe how to register a SensorEventListener in an Android activity to receive data from an accelerometer. Explain the significance of sensor delay rates when registering the listener.

  11. Question 11 of 20

    Explain the difference between a raw accelerometer reading and a linear acceleration reading in Android. Why might an application prefer to use one over the other for specific functionalities?

  12. Question 12 of 20

    How can an Android application detect complex gestures like a "shake" using motion sensors? What specific sensor data would be relevant, and what fundamental algorithm or logic is typically employed?

  13. Question 13 of 20

    What are the key position sensors available on Android devices? Explain how they contribute to determining a device's orientation and provide an example of their combined use for enhanced accuracy.

  14. Question 14 of 20

    Explain the challenges in accurately determining absolute device position indoors using only built-in sensors on an Android device, without relying on external infrastructure like Wi-Fi APs or Bluetooth beacons.

  15. Question 15 of 20

    Identify and explain at least three common environment sensors found in modern Android devices. For each sensor, provide a distinct example application where its data would be crucial for enhancing user experience or functionality.

  16. Question 16 of 20

    How can an Android application access data from an ambient light sensor? What are the typical units of measurement for ambient light, and how might an app utilize this data for practical purposes?

  17. Question 17 of 20

    Discuss the importance of environment sensors in developing context-aware applications. Provide a concrete example where multiple environment sensors work together to create a richer, more intelligent user experience.

  18. Question 18 of 20

    What considerations are essential when performing network operations, particularly over Wi-Fi, in terms of user experience, battery life, and data privacy in an advanced Android application?

  19. Question 19 of 20

    Compare and contrast Bluetooth and Wi-Fi for short-range device communication in terms of data throughput, power consumption, and setup complexity. Provide scenarios where each technology would be the optimal choice for an Android application.

  20. Question 20 of 20

    Describe the use of the geomagnetic field sensor and gyroscope in conjunction with the accelerometer to calculate a device's orientation in 3D space. Explain the concept of sensor fusion and why it is essential for stable orientation tracking.

That's unit 5

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.