0

Android Applications

Description: This test is based on the Android apps development and it is useful for CS and GATE aspirants.
Number of Questions: 15
Created by:
Tags: Applocations mobile device android cs gate Computer Basics
Attempted 0/15 Correct 0 Score 0

What are the functionalities that the Android Emulator has for Android devices?

  1. It provides the application's interoperability.

  2. Dalvik VM is used for execution environment.

  3. It used Android API libraries for execution.

  4. It turns the Android source code into executable Android applications.

  5. Options 1 and 2.


Correct Option: E
Explanation:

These are correct.

What is the task of the Resource Manager?

  1. To support some non-code resources.

  2. To provide a consistent and non-intrusive mechanism for signaling users.

  3. To share data among applications.

  4. To limit application resources.

  5. Options 1 and 4.


Correct Option: A
Explanation:

It supports non-code resources like strings and graphics to be externalised.

Which of the following statements is/are incorrect regarding data manipulation in the application components by the SQLite Database?

  1. It provides rapid and efficient data storage.

  2. It provides a light weight relational database for each application.

  3. The content is available only to the application that created it.

  4. It stores data securely and efficiently.

  5. Options 3 and 4.


Correct Option: C
Explanation:

This is incorrect as each application database is sandboxed, but Content Providers supply a mechanism for the managed sharing of these application databases.

Which of the following is/are correct about adapters?

  1. Provides binding the interfaces to the views

  2. Provides activity migration

  3. To provide user specific controls to the existing controls

  4. All of the above

  5. Options 1 and 3


Correct Option: E
Explanation:

These are correct statements.

Which of the following is correct about android.webkit library?

  1. The WebKit package features APIs for working with Web-based content.

  2. The telephony APIs to directly interact with the device’s phone stack.

  3. To ease developer access to certain standard Content Providers.

  4. It is a high-level package that provides access to the application model.

  5. None of these


Correct Option: A
Explanation:

This is correct and it includes a WebView control for embedding browsers in the activities and a cookie manager.

What is the task of Android Debug Bridge (ADB) Android Development Tool?

  1. It supports emulator for the executing environment in a networking medium.

  2. It installs compiled application packages (.apk), and run shell commands.

  3. It uses the DDMS perspective to monitor and control Dalvik virtual machines.

  4. It is used to test and debug the android applications.

  5. Options 1 and 4.


Correct Option: A
Explanation:

It is a client-server application that provides a link to a running emulator.

Which of the following is/are applicable for the optimised memory and process management in Android applications?

  1. The virtual machine can be used for effective memory management

  2. By run time

  3. The memory should be based on priority

  4. All of the above

  5. Options 2 and 3


Correct Option: D
Explanation:

All are correct.

How do Android applications share Data in Interapplication Communication?

  1. By content providers

  2. Using notifications

  3. Using intents

  4. All of the above

  5. Options 1 and 3


Correct Option: A
Explanation:

Content providers are a way to give managed access to the application’s private database.

How do you save the Activity state in a non-shared medium?

  1. Activity.getPreferences() can be used for that.

  2. There must be a single SharedPreferences object.

  3. By overriding an Activity's onSaveInstanceState event handler.

  4. Options 1 and 2.

  5. Options 1, 2 and 3.


Correct Option: E
Explanation:

Yes, it the correct answer.

Which of the following is/are correct about LocationProviders in Location-Based Services?

  1. To find the location of the device.

  2. Provides hooks to the location-based services.

  3. Track movement.

  4. Set proximity alerts for detecting movement into and out of a specified area.

  5. Option 1 and 2.


Correct Option: A
Explanation:

It represents a different location-finding technology used to determine the device’s current location.

Which of the following is termed shared preferences?

  1. Used to set the values with the UI specific preference.

  2. Provides key-value data in named preference.

  3. Supports managed and structured data.

  4. All of the above

  5. Options 1 and 2.


Correct Option: D
Explanation:

These are the correct statements.

Which of the following is/are correct about Proximity Alerts in the Android applications?

  1. Provides the location specific information to the user.

  2. It can be multiple location providers.

  3. These alerts are set for the longitude and latitude values.

  4. All of the above

  5. Options 1 and 3.


Correct Option: D
Explanation:

These are correct.

Which of the following is/are applicable for Content Resolver in Android applications?

  1. To provide a query specific interface for the content providers.

  2. To specify the specific data values.

  3. It is accessed using the getContentResolver method.

  4. All of the above

  5. Options 1 and 3.


Correct Option: D
Explanation:

All are correct.

Which of the following Activity states is called 'inactive'?

  1. After an Activity has been killed and before it has been launched.

  2. When an Activity is not visible.

  3. Activity will be visible but will not have focus.

  4. When an Activity is at the top of the stack and it is the visible.

  5. None of the above


Correct Option: A
Explanation:

This is correct as Inactive activities have been removed from the Activity stack, and need to be restarted before they can be displayed and used.

What is the work of Sensor Manager in Android applications?

  1. To provide the hardware specific information.

  2. To provide resource management.

  3. getSystemService is used to get a reference to the Sensor Service.

  4. To provide storage management.

  5. Options 1 and 3.


Correct Option: E
Explanation:

These are correct statements about Sensor manager.

- Hide questions