Pass4itsure > Android > Android Certified Trainer > AND-801 > AND-801 Online Practice Questions and Answers

AND-801 Online Practice Questions and Answers

Questions 4

Which of the following methods updates a ListView when an element is added to the data set?

A. notify()

B. notifyAll()

C. notifyDataSetChanged()

D. notifyDataSetInvalidate()

Buy Now
Questions 5

Consider the following AndroidManifest.xml file.

package="com.androidatc "

android:versionCode="1"

android:versionName="1.0" >

android:minSdkVersion="12"

android:targetSdkVersion="17" />

android:name="MyApp "

android:allowBackup="true"

android:icon="@drawable/ic_launcher"

android:label="@string/app_name"

android:theme="@style/AppTheme" >

android:name="com.androidatc.MainActivity"

android:label="@string/app_name"

android:screenOrientation="portrait" >

Which of the following is correct?

A. The application will run as intended.

B. The application will not compile.

C. The application will crash on fetching data from the internet.

D. The app will run in Landscape orientation.

Buy Now
Questions 6

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

A. View

B. ViewGroup

C. Context

D. Activity

Buy Now
Questions 7

What two methods you have to override when implementing Android option menus?

A. onCreateOptionsMenu, onCreateContextMenu

B. onCreateContextMenu, onContextItemSelected

C. onCreateOptionsMenu, onOptionsItemSelected

D. onCreateOptionsMenu, onContextItemSelected

Buy Now
Questions 8

Which Which of the following is true about method startActivity?

A. It starts a new activity and destroys the previous one.

B. It starts a new activity and sends the previous one to the background.

C. It starts a new activity and pauses the previous one.

D. It starts a new activity in a paused mode.

Buy Now
Questions 9

Which of the following is not a ContentProvider provided natively by Android?

A. The contacts list

B. The telephone log

C. The bookmarks

D. The application list

Buy Now
Questions 10

Which of the following tools dumps system log messages including stack traces when the device or emulator throws an error?

A. DDMS

B. Logcat

C. Console

D. ADB

Buy Now
Questions 11

Which of the following is NOT true about class ListActivity?

A. An activity that displays a list of items by binding to a data set.

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

C. It contains a ListView object that can be bound to different data sets. Binding, screen layout, and row layout are discussed in the following sections.

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

Buy Now
Questions 12

Which of the following makes a ListView Clickable?

A. setClickable(true)

B. setVisibility(View.Visible)

C. setEnabled(true)

D. setItemsEnabled(true)

Buy Now
Questions 13

Check the following image which includes Android code for a sum calculator. Which of the following choices is correct about this Android code?

A. The sum result will not appear on the app until adding another print out method.

B. The sum result of N1 and N2 will appear in result_view TextView widget when the user clicks button_sum button.

C. The sum result will not work, because N1 and N2 must be changed to Integer first.

D. You must add input method to this code to enter the value of N1 and N2 numbers.

Buy Now
Exam Code: AND-801
Exam Name: Android Application Development v8
Last Update:
Questions: 174
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99