Download Android.AND-401.CertDumps.2017-12-02.228q.tqb

Download Exam

File Info

Exam Android Application Development
Number AND-401
File Name Android.AND-401.CertDumps.2017-12-02.228q.tqb
Size 994 KB
Posted Dec 02, 2017
Download Android.AND-401.CertDumps.2017-12-02.228q.tqb

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

What method you should override to use Android menu system?


  1. onCreateOptionsMenu()
  2. onCreateMenu()
  3. onMenuCreated()
  4. onCreateContextMenu()
Correct answer: A
Explanation:
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). References:http://developer.android.com/guide/topics/ui/menus.html
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). 
References:
http://developer.android.com/guide/topics/ui/menus.html



Question 2

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?


  1. findViewByReference(int id);
  2. findViewById(int id)
  3. retrieveResourceById(int id)
  4. findViewById(String id)
Correct answer: B
Explanation:
The findViewById(int id) method looks for a child view with the given id. References:http://developer.android.com/reference/android/view/View.html
The findViewById(int id) method looks for a child view with the given id. 
References:
http://developer.android.com/reference/android/view/View.html



Question 3

Which of the following is not an Android component (i.e. a point from which the system can enter your application)?


  1. Service
  2. Activity
  3. Layout
  4. Content Provider
Correct answer: C
Explanation:
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.References:http://developer.android.com/guide/components/fundamentals.html
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.
References:
http://developer.android.com/guide/components/fundamentals.html



Question 4

What method you should override to use Android menu system?


  1. onCreateOptionsMenu()
  2. onCreateMenu()
  3. onMenuCreated()
  4. onCreateContextMenu()
Correct answer: A
Explanation:
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). References:http://developer.android.com/guide/topics/ui/menus.html
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). 
References:
http://developer.android.com/guide/topics/ui/menus.html



Question 5

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?


  1. findViewByReference(int id);
  2. findViewById(int id)
  3. retrieveResourceById(int id)
  4. findViewById(String id)
Correct answer: B
Explanation:
The findViewById(int id) method looks for a child view with the given id. References:http://developer.android.com/reference/android/view/View.html
The findViewById(int id) method looks for a child view with the given id. 
References:
http://developer.android.com/reference/android/view/View.html



Question 6

Which of the following is not an Android component (i.e. a point from which the system can enter your application)?


  1. Service
  2. Activity
  3. Layout
  4. Content Provider
Correct answer: C
Explanation:
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.References:http://developer.android.com/guide/components/fundamentals.html
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.
References:
http://developer.android.com/guide/components/fundamentals.html



Question 7

What method you should override to use Android menu system?


  1. onCreateOptionsMenu()
  2. onCreateMenu()
  3. onMenuCreated()
  4. onCreateContextMenu()
Correct answer: A
Explanation:
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). References:http://developer.android.com/guide/topics/ui/menus.html
To specify the options menu for an activity, override onCreateOptionsMenu() (fragments provide their own onCreateOptionsMenu() callback). 
References:
http://developer.android.com/guide/topics/ui/menus.html



Question 8

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?


  1. findViewByReference(int id);
  2. findViewById(int id)
  3. retrieveResourceById(int id)
  4. findViewById(String id)
Correct answer: B
Explanation:
The findViewById(int id) method looks for a child view with the given id. References:http://developer.android.com/reference/android/view/View.html
The findViewById(int id) method looks for a child view with the given id. 
References:
http://developer.android.com/reference/android/view/View.html



Question 9

Which of the following is not an Android component (i.e. a point from which the system can enter your application)?


  1. Service
  2. Activity
  3. Layout
  4. Content Provider
Correct answer: C
Explanation:
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.References:http://developer.android.com/guide/components/fundamentals.html
Here are the four types of app components: Activities, Services, Content providers, and Broadcast receivers.
References:
http://developer.android.com/guide/components/fundamentals.html









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files