Android AND-401 Questions & Answers

Full Version: 228 Q&A


Latest AND-401 Exam Questions and Practice Tests 2024 - Killexams.com

Latest AND-401 Practice Tests with Actual Questions


Get Complete pool of questions with Premium PDF and Test Engine


Exam Code : AND-401
Exam Name : Android Application Development
Vendor Name :
"Android"








AND-401 Dumps AND-401 Braindumps

AND-401 Real Questions AND-401 Practice Test AND-401 Actual Questions


killexams.com


Android


AND-401


Android Application Development


https://killexams.com/pass4sure/exam-detail/AND-401


Question: 215


Consider the following AndroidManifest.xml file: What is the syntax error of this file?


  1. The INTERNET permission must be removed.

  2. Tag uses-sdk must have attribute android:maxSdkVersion set.

  3. The activity under tag should have the android:name property.

  4. The tag for Activity ".Compute" should be contained inside tag.




Answer: D



Question: 216 Consider the following:

public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.create_new: newFile(); return true default: return super.onOptionsItemSelected(item); } } Upon clicking on one of the menu items, the application did not behave as intended. Which of the following might be the cause of this problem? (Choose two)


  1. The developer did not set onClickListener on the menu item.

  2. The developer did not include "R.id.open" in the switch case.

  3. The developer should create onOptionsItemSelected method for each menu item.

  4. The developer did not override the activity method "onCreateOptionsMenu" and enflate the given menu layout.




Answer: B,D



Question: 217


Which of the following is NOT true about class ListActivity?


  1. D. data source that can be bound in a ListActivity can be an array or Cursor holding query results.

  2. Its layout must be set by calling method setContentView inside onCreate.

  3. It contains a ListView object that can be bound to different data sets.

  4. A data source that can be bound in a ListActivity can be an array or Cursor holding query results.




Answer: B



Question: 218


Which of the following Gradle statements adds the AppCompat library to an Android application?


  1. dependencies { compile "com.android.support:appcompat-v7:21.0.+" }

  2. compile { library "com.android.support:appcompat-v7:21.0.+" }

  3. apply plugin: æcom.android.support:appcompat-v7:21.0.+Æ

  4. defaultConfig { library "com.android.support:appcompat-v7:21.0.+" }

    Answer: A



Question: 219


Which of the following statements are correct about the v7 appcompat library? (Choose two.)


  1. It adds support to the CardView widget.

  2. It adds the RecyclerView class to provide support for the RecyclerView widget.

  3. It adds support for the Action Bar user interface.

  4. It includes support for the material design user interface implementations.




Answer: C,D



Question: 220


Which of the following statements are correct about the Action Bar? (Choose two.)


  1. It is a window feature that provides user actions and navigation modes.

  2. It allows applications to receives push notifications.

  3. It offers users a consistent interface across applications that the system dynamically adapts.

  4. It is a collection of Android libraries that can be included in your application for backward-compatibility.




Answer: A,C



Question: 221


You are building an application that supports API level 11 and higher. Which of the following classes you must import if you want to add an Action Bar to your application?


  1. android.support.v7.app.ActionBar

  2. android.app.ActionBar

  3. android.view.ActionBar

  4. android.widgets.ActionBar




Answer: B



Question: 222


When the user clicks on an action item in the action bar, which of the following Activity methods does the system call?

  1. onOptionsItemSelected( )

  2. onOptionsItemClicked( )

  3. onActionButtonSelected( )

  4. onActionBarItemSelected( )




Answer: A



Question: 223


Which of the following statements are NOT needed to adding support for RecyclerView with CardView in your application? (Choose two.)


  1. dependencies { compile 'com.android.support:recyclerview-v7:24.2.1' }

  2. dependencies { compile 'com.android.support:cardview-v7:24.2.1' }

  3. dependencies { compile 'com.android.support.recyclerview:design:24.2.1' }

  4. dependencies { compile 'com.android.support.recyclerview-v7:24.2.1' }




Answer: C,D



Question: 224


Which of the following is correct dependency for adding CardView?


  1. dependencies {compile 'com.android.support:cardview-v7:24.2.1' }

  2. dependencies {compile 'com.android.support:CardView-v7:24.2.1' }

  3. dependencies {compile 'com.android.support:cardView-v7:24.2.1' }

  4. dependencies {compile 'com.android.support.cardview-v7:24.2.1' }




Answer: A



Question: 225


Which of the following is the correct syntax for adding CardView to a layout file?


A.

B.

C.

D.




Answer: B



Question: 226

Which of the following options are correct about ConstraintLayoutÆs baseline constraint handle?


  1. Baseline constraint handles can be applied to only side constraint handles on the same axis.

  2. Baseline constraint handles aligns the bottom edges of views.

  3. "Baseline constraint handles can be applied to only side constraint handles on the same axis" and "Baseline constraint handles aligns the bottom edges of views".

  4. All answers are incorrect.




Answer: D



Question: 227


Which of the following methods can we call in Notification.Builder to add an action?


  1. setContentAction(

  2. setRemoteAction( )

  3. setAction( )

  4. addAction( )




Answer: D



Question: 228


Which of the following functions does not belong to LocationListener?


  1. onLocationChanged

  2. onStatusChanged

  3. onLocationCaptured

  4. onProviderDisabled




Answer: C


User: Milaslav*****

I used the Killexams.com materials and found their and-401 exam practice tests to be exceptional. With their help, I was able to answer 89% of the questions correctly. Planning for exams with Killexams.com Questions and Exam Simulator has been very beneficial for me, and this experience was no exception. However, it is worth noting that the and-401 exam is much harder than previous exams, so be prepared to feel challenged.
User: Tiahna*****

I took the and-401 exam in Romania and scored 98% using the practice test from killexams.com. The questions provided in the guide were the exact ones that appeared on the exam, which was remarkable. I highly recommend using killexams.com to anyone preparing for the and-401 exam.
User: Lyubov*****

Killexams provided me with valid and reliable AND-401 practice materials, which helped me prepare for the exam with confidence. I could test myself before the actual exam, which made me feel well-prepared. Thanks to Killexams, I could score well in the AND-401 exam.
User: Zoe*****

Thanks to Killexams.com, I achieved a nearly perfect score of 98% on my AND-401 exam. The study materials in the bundle are authentic and valid. The questions were similar to the ones covered in the study guide, and I knew the answers to most of them. This learning tool not only expanded my professional knowledge but also helped me pass my AND-401 certification with ease.
User: Romina*****

I was two weeks away from my and-401 exam, but unfortunately, my and-401 books were destroyed in a fire at my place. I thought about giving up on taking the exam since I had no resources to prepare from. Then I discovered Killexams.com, and I am still shocked that I passed my and-401 exam. The free demo of Killexams.com helped me understand the concepts easily.

Features of iPass4sure AND-401 Exam

  • Files: PDF / Test Engine
  • Premium Access
  • Online Test Engine
  • Instant download Access
  • Comprehensive Q&A
  • Success Rate
  • Real Questions
  • Updated Regularly
  • Portable Files
  • Unlimited Download
  • 100% Secured
  • Confidentiality: 100%
  • Success Guarantee: 100%
  • Any Hidden Cost: $0.00
  • Auto Recharge: No
  • Updates Intimation: by Email
  • Technical Support: Free
  • PDF Compatibility: Windows, Android, iOS, Linux
  • Test Engine Compatibility: Mac / Windows / Android / iOS / Linux

Premium PDF with 228 Q&A

Get Full Version

All Android Exams

Android Exams

Certification and Entry Test Exams

Complete exam list