ExamGecko
Home Home / Google / Associate Android Developer

Google Associate Android Developer Practice Test - Questions Answers, Page 4

Question list
Search
Search

List of questions

Search

Related questions











When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Into you can

A.
examine the object tree for a variable, expand it in the Variables view. If the Variables view is not visible
A.
examine the object tree for a variable, expand it in the Variables view. If the Variables view is not visible
Answers
B.
evaluate an expression at the current execution point
B.
evaluate an expression at the current execution point
Answers
C.
advance to the next line in the code (without entering a method)
C.
advance to the next line in the code (without entering a method)
Answers
D.
advance to the first line inside a method call
D.
advance to the first line inside a method call
Answers
E.
advance to the next line outside the current method
E.
advance to the next line outside the current method
Answers
F.
continue running the app normally
F.
continue running the app normally
Answers
Suggested answer: D

When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Evaluate Expression you can

A.
examine the object tree for a variable; expand it in the Variables view
A.
examine the object tree for a variable; expand it in the Variables view
Answers
B.
evaluate an expression at the current execution point
B.
evaluate an expression at the current execution point
Answers
C.
advance to the next line in the code (without entering a method)
C.
advance to the next line in the code (without entering a method)
Answers
D.
advance to the first line inside a method call
D.
advance to the first line inside a method call
Answers
E.
advance to the next line outside the current method
E.
advance to the next line outside the current method
Answers
F.
continue running the app normally
F.
continue running the app normally
Answers
Suggested answer: B

When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Over you can

A.
examine the object tree for a variable; expand it in the Variables view.
A.
examine the object tree for a variable; expand it in the Variables view.
Answers
B.
evaluate an expression at the current execution point
B.
evaluate an expression at the current execution point
Answers
C.
advance to the next line in the code (without entering a method)
C.
advance to the next line in the code (without entering a method)
Answers
D.
advance to the first line inside a method call
D.
advance to the first line inside a method call
Answers
E.
advance to the next line outside the current method
E.
advance to the next line outside the current method
Answers
F.
continue running the app normally
F.
continue running the app normally
Answers
Suggested answer: C

When your code execution reaches the breakpoint, Android Studio pauses execution of your app. You can then use the tools in the Debugger tab to identify the state of the app. With Step Out you can

A.
examine the object tree for a variable; expand it in the Variables view. If the Variables view is not visible
A.
examine the object tree for a variable; expand it in the Variables view. If the Variables view is not visible
Answers
B.
evaluate an expression at the current execution point
B.
evaluate an expression at the current execution point
Answers
C.
advance to the next line in the code (without entering a method)
C.
advance to the next line in the code (without entering a method)
Answers
D.
advance to the first line inside a method call
D.
advance to the first line inside a method call
Answers
E.
advance to the next line outside the current method
E.
advance to the next line outside the current method
Answers
F.
continue running the app normally
F.
continue running the app normally
Answers
Suggested answer: E

The Log class allows you to create log messages that appear in logcat. Generally, you could use the following log methods: (Choose five.)

A.
Log.e(String, String) (error)
A.
Log.e(String, String) (error)
Answers
B.
Log.a(String, String) (all outputs)
B.
Log.a(String, String) (all outputs)
Answers
C.
Log.w(String, String) (warning)
C.
Log.w(String, String) (warning)
Answers
D.
Log.i(String, String) (information)
D.
Log.i(String, String) (information)
Answers
E.
Log.q(String, String) (questions)
E.
Log.q(String, String) (questions)
Answers
F.
Log.d(String, String) (debug)
F.
Log.d(String, String) (debug)
Answers
G.
Log.v(String, String) (verbose)
G.
Log.v(String, String) (verbose)
Answers
Suggested answer: A, C, D, F, G

Filter logcat messages. If in the filter menu, a filter option "Show only selected application"? means:

A.
Display the messages produced by the app code only (the default). Logcat filters the log messages using the PID of the active app.
A.
Display the messages produced by the app code only (the default). Logcat filters the log messages using the PID of the active app.
Answers
B.
Apply no filters. Logcat displays all log messages from the device, regardless of which process you selected.
B.
Apply no filters. Logcat displays all log messages from the device, regardless of which process you selected.
Answers
C.
Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
C.
Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
Answers
Suggested answer: A

Filter logcat messages. If in the filter menu, a filter option "Edit Filter Configuration"? means:

A.
Display the messages produced by the app code only (the default). Logcat filters the log messages using the PID of the active app.
A.
Display the messages produced by the app code only (the default). Logcat filters the log messages using the PID of the active app.
Answers
B.
Apply no filters. Logcat displays all log messages from the device, regardless of which process you selected.
B.
Apply no filters. Logcat displays all log messages from the device, regardless of which process you selected.
Answers
C.
Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
C.
Create or modify a custom filter. For example, you could create a filter to view log messages from two apps at the same time.
Answers
Suggested answer: C

The Layout Inspector in Android Studio allows you to compare your app layout with design mockups, display a magnified or 3D view of your app, and examine details of its layout at runtime. When this is especially useful?

A.
when your layout is built entirely in XML rather than runtime and the layout is behaving expectedly.
A.
when your layout is built entirely in XML rather than runtime and the layout is behaving expectedly.
Answers
B.
when your layout is built at runtime rather than entirely in XML and the layout is behaving unexpectedly.
B.
when your layout is built at runtime rather than entirely in XML and the layout is behaving unexpectedly.
Answers
Suggested answer: B

If you want the Database Inspector to automatically update the data it presents as you interact with your running app, check the Live updates checkbox at the top of the inspector window. While live updates are enabled, what happens with the table in the inspector window?

A.
It is still editable. You can modify data in a table by double-clicking a cell, typing a new value, and pressing Enter.
A.
It is still editable. You can modify data in a table by double-clicking a cell, typing a new value, and pressing Enter.
Answers
B.
It becomes read-only and you cannot modify its values.
B.
It becomes read-only and you cannot modify its values.
Answers
C.
It becomes read-only, but you cannot see its updated values before updating the data by clicking the Refresh table button at the top of the inspector window.
C.
It becomes read-only, but you cannot see its updated values before updating the data by clicking the Refresh table button at the top of the inspector window.
Answers
Suggested answer: B

Enable debugging on your device: If you are using the emulator, this is enabled by default. But for a connected device, you need to

A.
enable transfer data from the device in usb connection options.
A.
enable transfer data from the device in usb connection options.
Answers
B.
enable debugging in the device developer options.
B.
enable debugging in the device developer options.
Answers
C.
enable connection in bluetooth options.
C.
enable connection in bluetooth options.
Answers
Suggested answer: B
Total 128 questions
Go to page: of 13