Exam Details

  • Exam Code
    :AND-801
  • Exam Name
    :Android Application Development v8
  • Certification
    :Android Certified Trainer
  • Vendor
    :Android
  • Total Questions
    :174 Q&As
  • Last Updated
    :May 13, 2024

Android Android Certified Trainer AND-801 Questions & Answers

  • Question 141:

    To add a new Activity to your application, you need to perform the following steps:

    A. Create a Java class that extends View, set a layout, and add an Activity tag in AndroidManifest.xml.

    B. Create layout resource only.

    C. Create a Java class that extends Activity, add an Activity tag in AndroidManifest.xml, and create a layout for the activity.

    D. Add an Activity tag to AndroidManifest.xml, and add ACTIVITY permission.

  • Question 142:

    Which method is used to close an activity?

    A. Destroy()

    B. Finish()

    C. Stop()

    D. Close()

  • Question 143:

    Which of the following is a valid sequence of invokes to Activity lifecycle methods? (Choose two)

    A. onCreate > onStart > onResume > onPause> onStop> onCreate

    B. onCreate > onStart > onResume > onPause> onStop>onRestart

    C. onCreate > onStart > onResume > onPause> onStop>onDestroy

    D. onCreate > onStart > onResume > onPause> onStop>onResume

  • Question 144:

    Which of the following is a rule that developers must always follow when writing multi- threaded Android applications? (Choose two)

    A. A worker thread must not be created from inside the UI thread.

    B. Each UI thread must not create more than one worker thread.

    C. The UI thread must never be blocked.

    D. The Android UI must not be accessed from outside the UI thread.

  • Question 145:

    Which method should you use to start a sub-activity?

    A. startActivity(Intent intent)

    B. startActivityForResult(Intent intent)

    C. startService(Intent intent)

    D. startSubActivity(Intent intent)

  • Question 146:

    Consider the following code :

    @Override

    public void onCreateContextMenu(ContextMenu menu, View v,

    ContextMenuInfo menuInfo) {

    super.onCreateContextMenu(menu, v, menuInfo);

    menu.setHeaderTitle("Menu");

    AdapterContextMenuInfo cmi = (AdapterContextMenuInfo) menuInfo;

    menu.add(1, cmi.position, 0, "Open file");

    menu.add(2, cmi.position, 0, "Save file");}

    Which of the following best explains the code above?

    A. The code inflates an xml file into menu items.

    B. The code creates menu items for context menu programmatically.

    C. The code assign actions to menu items.

    D. The code Opens a menu resource file, modifies it, and saves the changes.

  • Question 147:

    Which of the following WebView methods allows you to manually load custom HTML markup?

    A. loadData

    B. loadHTML

    C. loadCustomData

    D. loadCustomHTML

  • Question 148:

    What does the following line of code do?

    Toast toast = Toast.makeText(this,"Android ATC", Toast.LENGTH_LONG);

    toast.setGravity(Gravity.TOP|Gravity.RIGH, 0, 0);

    A. The toast will have it UI components place on the top-right corner.

    B. The toast will appear on the top-right corner.

    C. The toast will show the text message on top-right corner of the toast box.

    D. The toast will appear at the center of the screen at position (0,0), but aligned to the top- right corner.

  • Question 149:

    What Eclipse plug-in is required to develop Android application?

    A. J2EE

    B. Android Software Development Kit

    C. Android Development Tools

    D. Web Development Tools

  • Question 150:

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

    A. onCreateOptionsMenu, onCreateContextMenu

    B. onCreateContextMenu, onContextItemSelected

    C. onCreateOptionsMenu, onOptionsItemSelected

    D. onCreateOptionsMenu, onContextItemSelected

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Android exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AND-801 exam preparations and Android certification application, do not hesitate to visit our Vcedump.com to find your solutions here.