Android AND-401 Questions & Answers

Full Version: 228 Q&A


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


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: Massey*****

Finding reliable study materials for the and-401 certification was daunting, as I doubted my ability to gain admission to my desired university. Killexams.com transformed my perspective with their well-structured test prep resources, enabling me to prepare thoroughly and pass the exam with confidence. Their materials gave me the clarity and focus I needed to succeed, and I am immensely grateful for their support.
User: Slavka*****

I am thrilled to have received my AND-401 certificate after passing the exam with Killexams.com. Killexams has been my go-to for all my certifications, so I cannot compare taking the exam with or without them. However, my repeated use of their bundles is a testament to my satisfaction with their exam preparation materials. I particularly enjoyed being able to study on my computer, from the comfort of my home, especially since most of the questions on the exam were identical to those on the exam simulator. Thanks to Killexams.com, I was able to achieve a professional level of certification, and though I may not move up anytime soon, I am content where I am.
User: Raphaël*****

I am happy to report that I passed the and-401 exam with the help of Killexams.com Questions and Answers and their Exam Simulator. Although the exam was tough, I was able to get through it thanks to the hours I spent honing my skills on the Killexams.com exam simulator. Consolidating the different sections helped me achieve success, and I am absolutely thrilled to have obtained my certification.
User: Iman*****

I have full faith in the offerings of Killexams.com, as they helped me attain 96% in my AND-401 certification. My friend introduced me to this website a year ago, and I admit I made fun of him for using the AND-401 exam engine. However, he bet with me about his highest grades, and it turned out that he had scored 91%. Now, I have entirely accepted this website as true, and I will definitely use it again.
User: Margaret*****

Using killexams.com’s Questions and Answers and AND-401 Exam Simulator was a smart choice for my preparation. The materials pinpointed my weaknesses, allowing me to focus on key areas and improve my knowledge. I passed the exam with confidence and wish every candidate the same success with killexams.com’s resources.

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

All Android Exams

Android Exams

Certification and Entry Test Exams

Complete exam list