Download Android.AND-401.BrainDumps.2019-03-01.228q.vcex

Download Exam

File Info

Exam Android Application Development
Number AND-401
File Name Android.AND-401.BrainDumps.2019-03-01.228q.vcex
Size 340 KB
Posted Mar 01, 2019
Download Android.AND-401.BrainDumps.2019-03-01.228q.vcex

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

During an Activity life-cycle, what is the first callback method invoked by the system?


  1. onStop()
  2. onStart()
  3. onCreate()
  4. onRestore()
Correct answer: C
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 5

Which configuration file holds the permission to use the internet?


  1. Layout file
  2. Property file
  3. Java source file
  4. Manifest file
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 6

What does the following line of code achieve? 
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );


  1. Creates a hidden Intent
  2. Creates an implicit Intent
  3. Create an explicit Intent
  4. Create an explicit Intent
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 7

Which of the following is NOT a valid usage for Intents?


  1. Activate and Activity
  2. Activate a Service
  3. Activate a Broadcast receiver
  4. Activate a SQLite DB Connection.
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 8

Which of the following is not a valid Android resource file name?


  1. mylayout.xml
  2. myLayout.xml
  3. my_layout.xml
  4. mylayout1.xml
Correct answer: B
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 9

Which of these is not defined as a process state?


  1. Non-visible
  2. Visible
  3. Foreground
  4. Background
Correct answer: A
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 10

What is the name of the folder that contains the R.java file?


  1. src
  2. res
  3. bin
  4. gen
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 11

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 12

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 13

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 14

During an Activity life-cycle, what is the first callback method invoked by the system?


  1. onStop()
  2. onStart()
  3. onCreate()
  4. onRestore()
Correct answer: C
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 15

Which configuration file holds the permission to use the internet?


  1. Layout file
  2. Property file
  3. Java source file
  4. Manifest file
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 16

What does the following line of code achieve? 
Intent intent = new Intent(FirstActivity.this, SecondActivity.class );


  1. Creates a hidden Intent
  2. Creates an implicit Intent
  3. Create an explicit Intent
  4. Create an explicit Intent
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 17

Which of the following is NOT a valid usage for Intents?


  1. Activate and Activity
  2. Activate a Service
  3. Activate a Broadcast receiver
  4. Activate a SQLite DB Connection.
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 18

Which of the following is not a valid Android resource file name?


  1. mylayout.xml
  2. myLayout.xml
  3. my_layout.xml
  4. mylayout1.xml
Correct answer: B
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 19

Which of these is not defined as a process state?


  1. Non-visible
  2. Visible
  3. Foreground
  4. Background
Correct answer: A
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study



Question 20

What is the name of the folder that contains the R.java file?


  1. src
  2. res
  3. bin
  4. gen
Correct answer: D
Explanation:
References:Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study
References:
Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study









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