Android Application Development Fundamentals

Covers Android app development topics including device administration, testing frameworks, security permissions, graphics rendering, and data storage APIs

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How do we expose the private date to other applications?

  1. Central Provider
  2. Content Provider
  3. Data Provider
  4. None of the above
Question 2 Multiple Choice (Single Answer)

What is the tool used to debug an Android database?

  1. dbdebug
  2. Sqldebug
  3. mysql
  4. sqlite3
Question 3 Multiple Choice (Single Answer)

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

  1. getSharedPreferences()
  2. getPreferences()
  3. openFileOutput()
  4. putBoolean()
Question 4 Multiple Choice (Single Answer)

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

  1. Internal Storage
  2. Shared Preferences
  3. diskStorage
  4. SQLite Databases
Question 5 Multiple Choice (Single Answer)

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

  1. Canvas
  2. View Object
  3. Sandbox
  4. Paper
Question 6 True/False

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

  1. True
  2. False
Question 7 Multiple Choice (Single Answer)

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
Question 8 Multiple Choice (Single Answer)

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

  1. VideoPlayer
  2. AudioPlayer
  3. MediaPlayer
  4. SoundPlayer
Question 9 Multiple Choice (Single Answer)

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
Question 10 True/False

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
Question 11 Multiple Choice (Single Answer)

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

  1. Default file
  2. Manifest file
  3. random file
  4. access file
Question 12 Multiple Choice (Single Answer)

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

  1. User
  2. Activity
  3. Application
  4. command
Question 13 Multiple Choice (Single Answer)

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

  1. openkey
  2. zipalign
  3. jarsigner
  4. keytool
Question 14 True/False

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

  1. True
  2. False
Question 15 True/False

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

  1. True
  2. False
Question 16 Multiple Choice (Multiple Answers)

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
Question 17 Multiple Choice (Multiple Answers)

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
Question 18 True/False

Test applications are themselves Android applications

  1. True
  2. False
Question 19 True/False

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

  1. True
  2. False
Question 20 Multiple Choice (Multiple Answers)

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