Android Applications
This test is based on the Android apps development and it is useful for CS and GATE aspirants.
Questions
What are the functionalities that the Android Emulator has for Android devices?
- It provides the application's interoperability.
- Dalvik VM is used for execution environment.
- It used Android API libraries for execution.
- It turns the Android source code into executable Android applications.
- Options 1 and 2.
What is the task of the Resource Manager?
- To support some non-code resources.
- To provide a consistent and non-intrusive mechanism for signaling users.
- To share data among applications.
- To limit application resources.
- Options 1 and 4.
Which of the following statements is/are incorrect regarding data manipulation in the application components by the SQLite Database?
- It provides rapid and efficient data storage.
- It provides a light weight relational database for each application.
- The content is available only to the application that created it.
- It stores data securely and efficiently.
- Options 3 and 4.
Which of the following is/are correct about adapters?
- Provides binding the interfaces to the views
- Provides activity migration
- To provide user specific controls to the existing controls
- All of the above
- Options 1 and 3
Which of the following is correct about android.webkit library?
- The WebKit package features APIs for working with Web-based content.
- The telephony APIs to directly interact with the device’s phone stack.
- To ease developer access to certain standard Content Providers.
- It is a high-level package that provides access to the application model.
- None of these
What is the task of Android Debug Bridge (ADB) Android Development Tool?
- It supports emulator for the executing environment in a networking medium.
- It installs compiled application packages (.apk), and run shell commands.
- It uses the DDMS perspective to monitor and control Dalvik virtual machines.
- It is used to test and debug the android applications.
- Options 1 and 4.
Which of the following is/are applicable for the optimised memory and process management in Android applications?
- The virtual machine can be used for effective memory management
- By run time
- The memory should be based on priority
- All of the above
- Options 2 and 3
How do Android applications share Data in Interapplication Communication?
- By content providers
- Using notifications
- Using intents
- All of the above
- Options 1 and 3
How do you save the Activity state in a non-shared medium?
- Activity.getPreferences() can be used for that.
- There must be a single SharedPreferences object.
- By overriding an Activity's onSaveInstanceState event handler.
- Options 1 and 2.
- Options 1, 2 and 3.
Which of the following is/are correct about LocationProviders in Location-Based Services?
- To find the location of the device.
- Provides hooks to the location-based services.
- Track movement.
- Set proximity alerts for detecting movement into and out of a specified area.
- Option 1 and 2.
Which of the following is termed shared preferences?
- Used to set the values with the UI specific preference.
- Provides key-value data in named preference.
- Supports managed and structured data.
- All of the above
- Options 1 and 2.
Which of the following is/are correct about Proximity Alerts in the Android applications?
- Provides the location specific information to the user.
- It can be multiple location providers.
- These alerts are set for the longitude and latitude values.
- All of the above
- Options 1 and 3.
Which of the following is/are applicable for Content Resolver in Android applications?
- To provide a query specific interface for the content providers.
- To specify the specific data values.
- It is accessed using the getContentResolver method.
- All of the above
- Options 1 and 3.
Which of the following Activity states is called 'inactive'?
- After an Activity has been killed and before it has been launched.
- When an Activity is not visible.
- Activity will be visible but will not have focus.
- When an Activity is at the top of the stack and it is the visible.
- None of the above
What is the work of Sensor Manager in Android applications?
- To provide the hardware specific information.
- To provide resource management.
- getSystemService is used to get a reference to the Sensor Service.
- To provide storage management.
- Options 1 and 3.