0

embedded technologies Online Quiz - 3

Description: embedded technologies Online Quiz - 3
Number of Questions: 20
Created by:
Tags: embedded technologies
Attempted 0/20 Correct 0 Score 0

How do we expose the private date to other applications?

  1. Central Provider

  2. Content Provider

  3. Data Provider

  4. None of the above


Correct Option: B

AI Explanation

To answer this question, you need to understand how to expose private data to other applications in the context of mobile app development.

Option A) Central Provider - This option is incorrect because there is no concept called "Central Provider" in the context of exposing private data to other applications.

Option B) Content Provider - This option is correct because a Content Provider is a component in Android that allows you to share data between different applications. It provides a standardized interface for other applications to access and modify the private data of an application. By using a Content Provider, you can control the access and permissions for other applications to interact with your app's data.

Option C) Data Provider - This option is incorrect because there is no specific concept called "Data Provider" in the context of exposing private data to other applications.

Option D) None of the above - This option is incorrect because the correct answer is Option B, Content Provider.

The correct answer is B) Content Provider. This option is correct because a Content Provider is used to expose private data to other applications in Android development.

What is the tool used to debug an Android database?

  1. dbdebug

  2. Sqldebug

  3. mysql

  4. sqlite3


Correct Option: D

Which method is used to create and write a private file to the internal storage?

  1. getSharedPreferences()

  2. getPreferences()

  3. openFileOutput()

  4. putBoolean()


Correct Option: C

What is the storage option for primitive data in key-value pairs?

  1. Internal Storage

  2. Shared Preferences

  3. diskStorage

  4. SQLite Databases


Correct Option: B

Graphics for any application needs to regularly re-draw itself should draw directly in a

  1. Canvas

  2. View Object

  3. Sandbox

  4. Paper


Correct Option: A

An application does not require a significant amount of processing or frame-rate speed can be written on a view

  1. True

  2. False


Correct Option: A

Open GL API is used for

  1. Low performance 2D graphics

  2. High Performance 3D graphics

  3. Map and related graphics

  4. None of the above


Correct Option: B

Which class can be used to control playback of audio/video files and streams

  1. VideoPlayer

  2. AudioPlayer

  3. MediaPlayer

  4. SoundPlayer


Correct Option: C

To access the camera hardware directly, we need to add the permission to your application manifest file by

  1. android.permission.VIDEO

  2. android.permission.MEDIA

  3. android.permission.CAMERA

  4. all of the above


Correct Option: C

Android uses sandbox concept to enforce inter-application separation and permissions to allow or deny an application access to the device's resources

  1. True

  2. False


Correct Option: A

How do we request permission to access resources from other applications?

  1. Default file

  2. Manifest file

  3. random file

  4. access file


Correct Option: B

Linux user Id identifies an user and android user ID identifies a

  1. User

  2. Activity

  3. Application

  4. command


Correct Option: C

what is the command used to manually generate a key in Android?

  1. openkey

  2. zipalign

  3. jarsigner

  4. keytool


Correct Option: D

All Android applications (.apk files) must be signed with a certificate whose private key is held by their developer

  1. True

  2. False


Correct Option: A

Running both the main application and the test application in the same process is allowed in Android testing environment

  1. True

  2. False


Correct Option: A

What are the different tools used for testing an android application?

  1. Eclipse with ADT

  2. Using the adb tool

  3. Using a built in ant target

  4. none of the above


Correct Option: A,B,C

Which are the various items tested using an Android Test Application?

  1. Functional areas

  2. Activity life cycle events

  3. Database Operations

  4. Screen size and resolutions


Correct Option: A,B,C,D

Test applications are themselves Android applications

  1. True

  2. False


Correct Option: A

Device Administration API can be used to wipe the device's data.

  1. True

  2. False


Correct Option: A

Which of the following policies are supported by Device Administration API

  1. Minimum password length

  2. Maximum inactivity time limit

  3. Alphanumeric password requirement

  4. Prompt user to set new password


Correct Option: A,B,C,D
- Hide questions