exam questions

Exam AND-401 All Questions

View all questions & answers for the AND-401 exam

Exam AND-401 topic 1 question 83 discussion

Actual exam question from AndroidATC's AND-401
Question #: 83
Topic #: 1
[All AND-401 Questions]

Which of the following statements about DDMS is incorrect?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Note: 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.
Incorrect:
A: LogCat is integrated into DDMS, and outputs the messages that you print out using the Log class along with other system messages such as stack traces when exceptions are thrown.
C: DDMS allows you to view how much heap memory a process is using. This information is useful in tracking heap usage at a certain point of time during the execution of your application.
To view heap usage for a process:
1. In the Devices tab, select the process that you want to see the heap information for.
2. Click the Update Heap button to enable heap information for the process.
3. In the Heap tab, click Cause GC to invoke garbage collection, which enables the collection of heap data. When the operation completes, you will see a group of object types and the memory that has been allocated for each type. You can click Cause GC again to refresh the data.
D: The Telephony Status section of the Emulator controls tab lets you change different aspects of the phone's networks status, speed and latency. The following options are available to you and are effective immediately after you set them:
Voice - unregistered, home, roaming, searching, denied
Data - unregistered, home, roaming, searching, denied
Speed - Full, GSM, HSCSD, GPRS, EDGE, UMTS, HSDPA

Latency - GPRS, EDGE, UMTS -
References:
http://developer.android.com/tools/debugging/ddms.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mmadi
1 year, 12 months ago
D. You can do simulations of network zone speed and bandwidth limitations.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago