Google Developers Certification - Associate Android Developer (Kotlin and Java Exam) 온라인 연습
최종 업데이트 시간: 2024년11월08일
당신은 온라인 연습 문제를 통해 Google Associate Android Developer 시험지식에 대해 자신이 어떻게 알고 있는지 파악한 후 시험 참가 신청 여부를 결정할 수 있다.
시험을 100% 합격하고 시험 준비 시간을 35% 절약하기를 바라며 Associate Android Developer 덤프 (최신 실제 시험 문제)를 사용 선택하여 현재 최신 107개의 시험 문제와 답을 포함하십시오.
/ 3
Question No : 1
Run your test in one of the following ways (select possible): (Choose three.)
정답:
Question No : 2
With our Context we can get SharedPreferences with a method, named: getSharedPreferences (String name, int mode).
What value can we transfer in a “mode”parameter?
정답:
Question No : 3
What is illustrated in the picture?
정답:
Question No : 4
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?
정답:
Question No : 5
For example, we have a file in our raw folder app/src/main/res/raw/sample_teas.json.
To get an InputStream for reading it, from out Context context, we can do this:
정답:
Question No : 6
In a class extended PreferenceFragmentCompat.
What method is used to inflate the given XML resource and add the preference hierarchy to the current preference hierarchy?
정답:
Question No : 7
The easiest way of adding menu items (to specify the options menu for an activity) is inflating an XML file into the Menu via MenuInflater. With menu_main.xml we can do it in this way:
Each time your test invokes onView(), Espresso waits to perform the corresponding UI action or assertion until the following synchronization conditions are met: (Choose three.)
정답:
Question No : 9
SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object.
To mark in the editor that a preference value should be removed, which will be done in the actual preferences once commit() or apply() is called, what method in SharedPreferences.Editor should we use?
정답: Explanation:
clear() method marks in the editor to remove ALL values from the preferences. Once commit is called, the only remaining preferences will be any that you have defined in this editor.
And no delete and removeAll method exists in SharedPreferences.Editor
Question No : 10
What is a correct part of an Implicit Intent for sharing data implementation?
정답: Explanation:
Create the text message with a string val sendIntent = Intent().apply { action = Intent.ACTION_SEND putExtra(Intent.EXTRA_TEXT, textMessage) type = "text/plain" }
Reference: https://developer.android.com/guide/components/fundamentals
Question No : 11
Android Tests. You can use the childSelector() method to nest multiple UiSelector instances. For example, the following code example shows how your test might specify a search to find the first ListView in the currently displayed UI, then search within that ListView to find a UI element with the text property Apps.
What is the correct sample?
정답:
Question No : 12
For example, we have a BufferedReader reader, associated with the json file through
InputStreamReader.
To get a file data we can do this:
정답:
Question No : 13
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
정답:
Question No : 14
To run a debuggable build variant you must use a build variant that includes
정답:
Question No : 15
Filter logcat messages. If in the filter menu, a filter option “Edit Filter Configuration”? means: