Android Application Development AND-401 Exam Questions in PDF

Free Android AND-401 Dumps Questions (page: 9)

Which of the following classes is used by Intent to transfer data between different android components?

  1. Extras
  2. Bundle
  3. Parcelables
  4. PendingIntent

Answer(s): B

Explanation:

Bundle is generally used for passing data between various activities of android. It depends on you what type of values you want to pass, but bundle can hold all types of values, and pass to the new activity.


Reference:

http://stackoverflow.com/questions/4999991/what-is-a-bundle-in-an-android-application



Which of the following is true about implicit intents? (Choose two)

  1. They do not have a component specified
  2. They have components specified to run an exact class.
  3. They must include information that allows Android system to choose the best component to run.
  4. They must contain extra information saved in a Bundle object.

Answer(s): A,C

Explanation:

Implicit intents do not name a specific component, but instead declare a general action to perform, which allows a component from another app to handle it.


Reference:

http://developer.android.com/guide/components/intents-filters.html



Which of the following classes should be extended to create a custom view?

  1. View
  2. ViewGroup
  3. Context
  4. Activity

Answer(s): A

Explanation:

All of the view classes defined in the Android framework extend View. Your custom view can also extend View directly, or you can save time by extending one of the existing view subclasses, such as Button.


Reference:

http://developer.android.com/training/custom-views/create-view.html



An AsyncTask can be cancelled anytime from any thread.

  1. True
  2. False

Answer(s): A

Explanation:

A task can be cancelled at any time by invoking cancel(boolean).


Reference:

http://developer.android.com/reference/android/os/AsyncTask.html



Which of the following is NOT true about onMeasure() method of class View?

  1. It measures the view and its contents to determine the measured width and height.
  2. It is invoked by measure().
  3. When overriding this method, a developer must call setMeasuredDimension().
  4. It takes three parameters: the height, width, and the depth of the view.

Answer(s): D

Explanation:

Syntax: protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)
onMeasure() measures the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overridden by subclasses to provide accurate and efficient measurement of their contents.


Reference:

http://developer.android.com/reference/android/view/View.html#onMeasure(int, int)



Share your comments for Android AND-401 exam with other users:

A
Anonymus
11/9/2023 5:41:00 AM

anyone who wrote this exam recently?

K
Khalid Javid
11/17/2023 3:46:00 PM

kindly share the dump

N
Na
8/9/2023 8:39:00 AM

could you please upload cfe fraud prevention and deterrence questions? it will be very much helpful.

S
shime
10/23/2023 10:03:00 AM

this is really very very helpful for mcd level 1

V
Vnu
6/3/2023 2:39:00 AM

very helpful!

S
Steve
8/17/2023 2:19:00 PM

question #18s answer should be a, not d. this should be corrected. it should be minvalidityperiod

R
RITEISH
12/24/2023 4:33:00 AM

thanks for the exact solution

S
SB
10/15/2023 7:58:00 AM

need to refer the questions and have to give the exam

M
Mike Derfalem
7/16/2023 7:59:00 PM

i need it right now if it was possible please

I
Isak
7/6/2023 3:21:00 AM

i need it very much please share it in the fastest time.

M
Maria
6/23/2023 11:40:00 AM

correct answer is d for student.java program

N
Nagendra Pedipina
7/12/2023 9:10:00 AM

q:37 c is correct

J
John
9/16/2023 9:37:00 PM

q6 exam topic: terramearth, c: correct answer: copy 1petabyte to encrypted usb device ???

S
SAM
12/4/2023 12:56:00 AM

explained answers

A
Andy
12/26/2023 9:35:00 PM

plan to take theaws certified developer - associate dva-c02 in the next few weeks

S
siva
5/17/2023 12:32:00 AM

very helpfull

M
mouna
9/27/2023 8:53:00 AM

good questions

B
Bhavya
9/12/2023 7:18:00 AM

help to practice csa exam

M
Malik
9/28/2023 1:09:00 PM

nice tip and well documented

R
rodrigo
6/22/2023 7:55:00 AM

i need the exam

D
Dan
6/29/2023 1:53:00 PM

please upload

A
Ale M
11/22/2023 6:38:00 PM

prepping for fsc exam

A
ahmad hassan
9/6/2023 3:26:00 AM

pd1 with great experience

Ž
Žarko
9/5/2023 3:35:00 AM

@t it seems like azure service bus message quesues could be the best solution

S
Shiji
10/15/2023 1:08:00 PM

helpful to check your understanding.

D
Da Costa
8/27/2023 11:43:00 AM

question 128 the answer should be static not auto

B
bot
7/26/2023 6:45:00 PM

more comments here

K
Kaleemullah
12/31/2023 1:35:00 AM

great support to appear for exams

B
Bsmaind
8/20/2023 9:26:00 AM

useful dumps

B
Blessious Phiri
8/13/2023 8:37:00 AM

making progress

N
Nabla
9/17/2023 10:20:00 AM

q31 answer should be d i think

V
vladputin
7/20/2023 5:00:00 AM

is this real?

N
Nick W
9/29/2023 7:32:00 AM

q10: c and f are also true. q11: this is outdated. you no longer need ownership on a pipe to operate it

N
Naveed
8/28/2023 2:48:00 AM

good questions with simple explanation

AI Tutor 👋 I’m here to help!