PrepAway - Latest Free Exam Questions & Answers

Which of the following statements about DDMS is incorrect?

Which of the following statements about DDMS is incorrect?

PrepAway - Latest Free Exam Questions & Answers

A.
You can display a list of currently running threads and select one to check its stack trace.

B.
You can use it to acquire screenshots of a terminal.

C.
You can forcibly execute garbage collection and check the present heap usage status.

D.
You can do simulations of network zone speed and bandwidth limitations.

5 Comments on “Which of the following statements about DDMS is incorrect?

  1. jrlaguardia says:

    I disagree…

    There is a multitab panel on the right side of the DDMS window. In that panel, there is a tab named ‘Emulator Control’ where you can simulate the telephony network status (voice anda data), including speed and latency.

    From the official documentation:
    (http://developer.android.com/tools/debugging/ddms.html)
    “Android Studio includes a debugging tool called the Dalvik Debug Monitor Server (DDMS), which provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more…”

    So, option D could not be correct.

    In fact, it could be the B option (terminal screenshot) the correct answer, despite the ATC Guide says.
    The guide says DDMS can do screenshots but I don’t see that posibility, except using the button ‘Screen Capture’ from the ‘Android Monitor’ window which is in the Android Studio IDE, not in DDMS.

  2. Rodrigo Digao says:

    Hi, all! The AND-401 exam has been updated, many new questions appeared in the real test, here are some new questions:

    NEW QUESTION 117
    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.

    Answer: B

    NEW QUESTION 118
    When is the intent resolution process triggered?

    A. When the system receives an implicit intent to start an activity.
    B. When an explicit intent starts a service.
    C. When the system receives an explicit intent to start an activity.
    D. When the application calls method startAcitivyIntentResolution.

    Answer: A

    NEW QUESTION 119
    Which of the following lines of codes adds zoom controls to a WebView?

    A. webView.getSettings().setBuiltInZoomControls(true);
    B. webView.getSettings().setZoomControls(true);
    C. webView.getZoomSettings().setControls(CONTROLS.enabled);
    D. Zoom controls are included by default in WebViews.

    Answer: A

    NEW QUESTION 120
    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.

    Answer: B

    NEW QUESTION 121
    Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?

    A. PageView
    B. WebView
    C. MapView
    D. HttpClient

    Answer: B

    NEW QUESTION 122
    Which of the following best explains the Android context menus?

    A. It is a popup menu displays a list of items in a vertical list that’s anchored to the view that invoked the menu.
    B. It is a floating menu that appears when the user performs a long-click on an element. It provides actions that affect the selected content or context frame.
    C. It is the primary collection of menu items for an activity. It’s where you should place actions that have a global impact on the app, such as”Search,” “Compose email,” and “Settings”.
    D. It is a sub-menu of an options menu item.

    Answer: B

    NEW QUESTION 123
    Which of the following is true about the Dialog class? (Choose two)

    A. You can add a custom layout to a dialog using setContentView().
    B. A dialog has a life-cycle independent of the Activity.
    C. A dialog is displayed on the screen using method show().
    D. It does not have a method to access the activity that owns it.

    Answer: AC

    NEW QUESTION 124
    Which of the following is NOT true about method getWindow() of class Dialog do?

    A. It retrieves the current window for the activity.
    B. It can be used to access parts of the Windows API.
    C. It displays the dialog on the screen.
    D. It returns null if the activity is not visual.

    Answer: C

    NEW QUESTION 125
    ……

    P.S. These New AND-401 Exam Questions Were Just Updated From The Real AND-401 Exam, You Can Get The Newest AND-401 Dumps In PDF And VCE From — http://bitly.com/and-401-exam-dumps (143q)

    Good Luck !!!


Leave a Reply

Your email address will not be published. Required fields are marked *