AND-402

AND-402 practice questions, page 3 of 5, with answer review and explanations.

Question 11

Which XML tag is used to make use of protected features of the device?

  1. <uses sdk>
  2. <uses""permission>
  3. <application>

Question 12

Application can send permissions programmatically.

  1. Depends on developer
  2. Yes but not all times
  3. No
  4. Yes

Question 13

Which of the following is the only Android application component which interacts with user?

  1. Activity
  2. Service
  3. Content Provider
  4. broadcast Receivers

Question 14

When are permissions enforced in Activities?

  1. When they launched by Context.startActivity() or Context.startActivityFor Result().
  2. When method Context.enforcepermission() is called.
  3. When method Context.stopActivity() is called.
  4. When Context.checkPermission() is called.

Question 15

Service is an Android component which runs in the background to perform background task.

  1. True.
  2. False.
  3. Depends on the situation.
  4. Services is not an Android component.