1. Which subclass of a Preference class displays a list of entries as a dialog?
2. Application component that can perform long-running operations in the background and does not provide a user interface?
3. What is the first method called in the Activity Lifecycle?
4. Which Virtual Machine (VM) does the android system use?
5. Brand name of Google's own line of Android smartphones?
6. Which is a function of the manifest file?
7. What kernel is Android based on?
8. Your Android application components are defined in the...
9. In order to specify layouts so that they adapt to any screen size, specify dimensions in:
10. Which are versions of Android?
11. Which statement correctly changes content of a TextView named textLabel to show 'Your Text'?
12. The Android Manifest file has what extension?
13. Do you need to buy an android developer account to start developing and testing applications on Android ?
14. Different types of Android application components?
15. An android application can be converted into an IOS application using a desktop application called 'And-to-IOS' easily and still get the same result on IOS.
16. How to detect when a user clicks or taps on a button?
17. Which widget is an input box for a user to enter text?
18. Who can submit applications to the Marketplace?
19. What is the recommended IDE for Android by Google
20. If you wanted to store a name/value string pair for your Android application, which class would you use?
21. Which is NOT a default value used for a Toast length parameter?
22. The Android SDK tools compile your application into an Android application (.apk file) which...
23. In activity A if you start Activity B with result you should override
24. What is the main hardware platform of Android?
25. It is possible to give the preferred install location, internal or external memory, in the manifest.xml
26. If your application uses the camera on an Android powered device, the following line should be in your manifest file:
27. Proper order of life cycle methods called when an Activity is first run?
28. In which resource folder do we create an animation file ?
29. In order to be notified of a device switching from landscape to portrait view, you should:
30. The Android operating system is a multi-user Linux system in which each application is a different user.
31. How do you disable the scrollbars for a webview?
32. Is it possible to include code written in C?
33. What permission does your application need to use the network?
34. Name of the main thread in Android
35. Which tag is used to add 'Star Rating' in XML layout file?
36. Which layout is deprecated since version 2.3?
37. Every Android application runs in its own process...
38. What causes an Activity's onDestroy() method to be called.
39. Name of the new design guidelines given by Google ?
40. Relative layout has two types of orientations: vertical and horizontal.
41. Examples of direct descendants of the android.view object?
42. What AIDL is?
43. Who is known as the 'Father' of Android?
44. Which is NOT a Layout derived from the ViewGroup class?
45. How do you get an intent data inside a fragment basically?
46. How can you assign a custom (NOT BUILT IN ANDROID) font typeface to a TextView?
47. Which ListAdapter subclass is not a direct subclass of BaseAdapter?
48. Fragments are independent from Activities.
49. Android applications can 'borrow' functionality from other applications by using...
50. If the UI begins to behave sluggishly or crash while making network calls this is likely due to ....
51. Which one allows you to instantinate a LocationManager class?
52. Is it possible to reverse engineer an android application using the apk file alone without external app resources?
53. In order to get paired Bluetooth device list you need to :
54. What should you extend in case you need to apply a portion of code to your entire application?
55. if you want to access list of paired Bluetooth devices on Android, what should you do ?
56. Which is NOT a subclass of TextView?
57. How to enable overlay mode On API level 11 or higher, to create a custom theme for your activity.
58. Which is a public constructor for canvas?
59. How do you enable hardware acceleration in android?
60. Which service is used to perform IPC, when bind application to a service?
61. Hardcoding string values in xml speeds up android execution.
62. Android has more users than IOS as at 20th February 2007
63. What permission is required for your application to use the device's vibrate hardware?
64. You can control process usage in your Android application by...
65. How do you display the Action Bar back button on all Android versions?
66. AppWidgetProvider is a subclass of
67. Which class MediaPlayer extends in android?
68. Which is an Android class for the playback of sound?
69. how can you check if your activity is first on stack ?
70. Correct argument passed in the Array.sort() function
71. Which method can be called to destroy an activity?
72. Which one runs in a separate thread?
73. What does this layout show?
74. What is an Intent ?
75. What's the output? Intent intent = new Intent(A.this, B.class); startActivityForResult(intent , -1);
76. Where is navigation drawer support available?
77. According to the Activity's lifecycle, how is named the first method callback of an Activity?
78. Which component does not exist in the android sdk ?
79. Codename of the latest Android platform?
80. invalidateOptionsMenu() method of ActionBarActivity calls:
81. Is it possible to update this textView as follows ? new Thread(new Runnable() { @Override public void run() { textView.setText('Hello World'); } }).start();
82. Which method can get the context tied to the lifecycle of the entire application ?
83. AsyncTask methods can run on the UI thread, but one of them doesn't run on this UI thread, which one?
84. Latest layout proposed by the android sdk?
85. Which type of file are Android layouts read from?
86. Which system service does Android rely on for the Linux kernel?
87. Can the ActionBarCompat library propose ActionBar features for old phones?
88. Which is Android's main programming language ?
89. Which defines your Android application components?
90. What should dimensions be specified in so that layouts adapt to any screen size?
91. What version(s) will you NOT be able to run the app if you set min sdk version to be 8 for an app?
92. Which database is available for developers in Android?
93. Which folder should the App Icon be kept under?
94. Which extension does the Android Manifest file have?
95. Correct way to get pass string in an Intent, where key and value are both string variables?
96. Name of component used to display web pages in the application?
97. Which of these Activity lifecycle events is when the activity is about to become visible to the user from a hidden state?
98. Which API should you use to bring the data over to the device asynchronously if you have a fragment which displays a ListViewContaining query results?
99. What is likely to cause the UI to behave sluggishly or crash while making network calls?
100. How can Android applications 'borrow' functionality from other applications?
101. Which event listener is used when an Android device has changed orientation?
102. Which externalizing resources are needed for application development?
103. Why is a Parcelable used?
104. What class does Android use to communicate a request for an action to be performed?
105. Which AsyncTask method does not run on the UI thread?
106. How to notify a Fragment is visible when they are inside a ViewPager?
107. Which method should be used to refresh the ActionBar if you use ActionBarCompat library?
108. Which theme's attribute changes the color of the status bar in Lollipop?
109. Default behavior of an Activity when you manually rotate the device screen?
110. What should you do if you want access list of paired Bluetooth devices on Android?
111. Which is a benefit of deodexing?
112. When an asynchronous task is executed, the task goes through several steps. Which option is not a step of an asynchronous task?
113. What should you specify if your application needs to access information about the device's wi-fi networks?
114. How do you request permission for your application?
115. Build system recommended by Google?
116. Which tool of Android sdk allows installing applications, viewing logs and pooling files from Android device?
117. Which package encompasses the interactive UI components of Android such as buttons and text fields?
118. Which class should you extend when using/creating a database?
119. What should you do in order to get paired Bluetooth device list?
120. Android naming has followed an alphabetical order from Android 1.0 to Lollipop.
121. Descriptive file that presents essential information about your app to the Android system?
122. What is the message content for Discount: %1$d € String message = context.getString(R.string.discount, 10); ?
123. In which resource folder should we create an animation file?
124. Which is not a valid stage in an Activity's lifecycle?
125. Maximum size of an Android app?
126. Which callbacks in AsyncTask get executed on main thread?
127. What is the key used for a bundle extra parameter on a PendingIntent holding a location?
128. Layout that organizes its children into a horizontal or vertical stack?
129. What is the attribute of EditText called that displays a text that goes away once you write something?
130. Which function is used to send value from one activity to another?
131. Where should you specify which activity should launch first in your app?
132. Which method from Activity is used to update the UI ?
133. C2DM was deprecated and replaced by:
134. Which manifest uses-configuration should you use if your application requires a finger activated touch screen on the device?
135. Which method is called first when an Activity is started?
136. Valid features that you can request using requestWindowFeature?
137. How to bind data from an SQL database to a ListView in an Android application?
138. Which one to include in your project to use the SimpleAdapter class?
139. Purpose of the ContentProvider class?
140. Which is the parent class for the main application class in an Android application that has a user interface?
141. Which can be accomplished by using the TelephoneNumberUtil class?
142. Which is the immediate base class for Activity and Service classes?
143. Which one to include in your project to use the APIs and classes required to access the camera on the mobile device?
144. Classes that can be used to handle the Bluetooth functionality on a device?
145. Which life-cycle method of an Activity that can be implemented to perform various operations during the lifetime of an Activity?
146. Which Integrated Development Environments can be used for developing software applications for the Android platform?
147. How to save the unsaved data and release resources being used by an Android application?
148. Which fields of the Message class should be used to store custom message codes about the Message?
149. Consider the code snippet below: public class MyReceiver extends PhoneStateIntentReceiver { @Override public void onReceiveIntent(Context context, Intent intent) { if (intent.action == Intent.CALL_ACTION) { } } } Assuming that notifyPhoneCallState has been called to enable MyReceiver to receive notifications about the phone call states, in which of the following cases will the code in get executed?
150. Which are true about Intent.CALL_ACTION and Intent.DIAL_ACTION?
151. How to display an HTML web page in an Android application?
152. How to navigate between screens of different Android applications?
153. What is 'Android-activityCreator'?
154. What is 'Android-dx'?
155. Suppose MyView is a class derived from View and mView is a variable of type MyView. Which should be used to display mView when the Android application is started?
156. Which can be used to handle commands from menu items in an Android application?
157. Which are true about enabling/disabling menu items from an Activity class?
158. Which function calls can be used to start a Service from your Android application?
159. What is the interface Spannable used for?
160. What is Android?
161. What is the ListActivity class used for?
162. Which one can you use to add items to the screen menu?
163. Which are UI elements that you can use in a window in an Android application?
164. Which is NOT a life-cycle methods of an Activity that can be implemented to perform various operations during the lifetime of an Activity?
165. Which are correct with regards to signing applications? a) All applications must be signed. b) No certificate authority is needed. c) When releasing application special debug key that is created by the Android SDK build tools can be used.
166. What's the output? SensorManager mgr = (SensorManager) getSystemService(SENSOR_SERVICE); List sensors = mgr.getSensorList(Sensor.TYPE_ALL); for (Sensor sensor : sensors) { System.out.println(''''+sensor.getName()); }
167. What's the output try {String token = GoogleAuthUtil.getToken(this, email, 'https://www.googleapis.com/auth/devstorage.read_only'); System.out.println(token); } catch (IOException e) { System.out.println('IOException'); } catch (UserRecoverableAuthException e) { System.out.println('UserRecoverableAuthException'); } catch (GoogleAuthException e) { System.out.println('GoogleAuthException'); }
168. Using a content provider, which operations are able to perform? a) create b) read c) update d) delete
169. Which widgets help to embed images in activities?
170. Best way of opening camera as sub-activity?
171. Correct way to restrict app visibility on Google Play to devices that have a camera?
172. Which sensor is only hardware-based?
173. Which format is not supported in Android?
174. Which permissions and configurations must be added in manifest file for implementing GCM Client? A) com.google.android.c2dm.permission.RECEIVE B) android.permission.INTERNET C) android.permission.GET_ACCOUNTS D) android.permission.WAKE_LOCK E) applicationPackage + '.permission.C2D_MESSAGE' F) A receiver for com.google.android.c2dm.intent.RECEIVE, with the category set as applicationPackage. The receiver should require the com.google.android.c2dm.SEND permission
175. Which is needed to perform the network operations through internet? a) INTERNET b) ACCESS_NETWORK_STATE
176. Consider the following snippet of code: @Override protected void onStop { Super.onStop(); SharedPreferences setting = getSharedPreferences('MyPrefs', 0); SharedPreferences.Editor editor = settings.edit(); editor.putBoolean('MyBool', true); } Which of the following should be used ?
177. What does the following statement define? It provides query(), insert(), update(), and delete() methods for accessing data from a content provider and invokes identically-named methods on an instance of a concrete content provider.
178. Advantage of using AsyncTaskLoader instead of AsyncTask?
179. What's the output? public boolean isOnline() { ConnectivityManager connMgr = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo networkInfo = connMgr.getActiveNetworkInfo(); return (networkInfo != null && networkInfo.isConnected()); }
180. Which are correct with regards to running of the Sync Adapter? A) Running sync adapter in response to a user request. B) Running sync adapter periodically by setting a period of time to wait between runs, or by running it at certain times of the day, or both.
181. Which are correct with regards to calling place GoogleAuthUtil.getToken()? A) call getToken() on the UI thread B) call getToken() on AsyncTask
182. Which protocols are provided by Google for GCM Connection Servers? A) HTTP B) XMPP C) SOAP D) RMI
183. Which 4 classes does not relate to others? ApplicationInfo, SyncInfo, ActivityInfo, PackageInfo
184. Valid ways to deploy an Android application to a device?
185. Which class is not used in working with database?
186. Consider the XML fragment below, which is taken from one of the files in an Android project: android:layout_width = 'fill_parent' android:layout_height = 'fill_parent' android:text = 'Some Text'> Which are true about the XML fragment above?
187. Which is correct regarding StrictMode?
188. Which are correct with regards to publishing updates of apps on Google Play?
189. Consider the code snippet below: MediaPlayer mp = new MediaPlayer(); mp.setDataSource(PATH_TO_FILE); mp.start(); Which should be placed at ?
190. Best way to request user permission if an Android application receives location updates from both NETWORK_PROVIDER and GPS_PROVIDER?
191. Which are correct with regards to Content Providers? A) A content provider allows applications to access data. B) A content provider must be declared in the AndroidManifest.xml file.
192. Which functions will return all available Content Providers?
193. What is correct regarding GCM - Google Cloud Messaging service?
194. Which procedures will get the package name of an APK file?
195. What is the maximum supported file size for a single APK file (excluding expansion packages) in the Google Play Store?
196. Once an app is published, the ... cannot be changed. It should be unique for each APK.
197. Which attribute in the manifest file defines version information of an application for the Google Play Store (as opposed to defining version information for display to users)?
198. Maximum supported size for a single expansion file in the Google Play Store?
199. Which tools can be used to reduce apk package size?
200. ..... makes appropriate list of application data for the other applications.
201. Which are Android build modes?
202. Correct way to fix if checking the status of the GPS_PROVIDER throws SecurityException?
203. Which packages provide the classes required to manage the Bluetooth functionality on an Android device?
204. Which is correct to use for data transfer regularly and efficiently, but not instantaneously?
205. Which are appropriate for saving the state of an Android application?
206. Which are true about PhoneStateIntentReceiver.notifyPhoneCallState?
207. Which programming language can be used to develop software applications for the Android platform?
208. Which class does not relate to other? SQLiteOpenHelper, SQLiteDatabase, Cursor, ContentProvider
209. Which is not correct with regards to using Content Providers?
210. What is 'Android-Positron'?
211. Which is not Content Provider?
212. How many expansion files can an APK file have? Select all correct options.
213. In the context of the Android OS, what is the GC?
214. Correct file in which you should request permissions that an app will use?
215. What feature of the Google Play Store allows developers to release pre-production builds to testers?
216. Which is considered best practice according to Google’s Android Development documentation?
217. The default action resultant when pressing the device back button is to pop the backstack. What is the backstack?
218. What is the purpose of the AppCompat library?
219. When does ANR occur?
220. What is a Master Detail pattern?
221. Where should layouts be defined wherever possible?
222. What does a strikethrough formatting indicate in Android Studio?
223. What is Retrofit?
224. What are the Android Support Libraries for?
225. What was Project Butter?
226. What is a RemoteView for?
227. What must be done after a TypedArray is no longer needed?
228. What is the largest size of a texture that can be loaded within an Android application?
229. What does ANR stand for?
230. When defining a View within an XML layout, which two attributes are always required?
231. In which situation is it acceptable to make network calls on the UI thread?
232. Which will cause a Force Close event?
233. Which superclass do most UI elements extend?
234. What is a WakeLock?
235. Difference between a Broadcast Receiver and an Intent Filter?
236. Which are true with regard to an AsyncTask class.
237. With regard to Android Wear, what is Ambient Mode?
238. Which Java build process allows for Android projects with more than 65k method calls?
239. What is the purpose of Volley?
240. If required during the build process, where should sensitive information such as API Keys, keystore passwords and VCS login details be kept when using Android Studio?
241. Which FragmentTransaction methods allow the transaction to occur after the parent Activity’s state has been saved?
242. What are the two types of Intent in Android?
243. What is Lint?
244. In the context of Android development tools, what does DDMS stand for?
245. What is Guava?
246. Which tool used for profiling the performance of Android apps?
247. Correct way to request permission to allow an app feature to access the internet?
248. How could using Guava in an Android application cause problems at build time in particular?
249. Within the context of Android resource definitions, what do 'sw600' and 'w800' mean?
250. Which is true when an Android device is rotated?
251. What is the primary purpose of an Intent?
252. What is an Intent Filter?
253. What is the purpose of a Loader?
254. Which enables you to use Java 8 features when building apps for Android?
255. What is Robotium?
256. Which exception is thrown when an image exceeds the maximum allocated size in memory?
257. What is the purpose of the Systrace tool?
258. With regard to graphics, what is the 'dirty rect'?
259. What is Google Cloud Messaging?
260. What is Espresso?
261. Which table element does not exists?
262. What is Robolectric?
263. A service has lifecycle callback methods that you can implement to __ changes in the service's state and you can perform work at the appropriate stage?
264. By default, ArrayAdapter creates a view for each array item by calling toString() on each item and placing the contents in?
265. Following Android Classes use Design Patterns?
266. The addCategory() method places a category in an Intent object, ____ deletes a category previously added, and ____ gets the set of all categories currently in the object?
267. Which are key components under the Android application Architecture?
268. What does the following code? public void launchScreen(Activity activity) { Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGORY_HOME); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); activity.startActivity(intent); }
269. Technically you can use Eclipse with versions 5 and newer. However, the latest version of Eclipse was only tested on the __ JRE ?
270. The setData() method specifies data only as a ____ , setType() specifies it only as a MIME type, and setDataAndType() specifies it as both a URI and a MIME type. The URI is read by getData() and the type by getType()?
271. When creating main Android App project with Android studio, how can we support localization of the Android App?
272. What does A() function do? private void A() { B(getActivity(), 'com.app.package.here'); } public void B(Context context, String packageN) { Intent i = context.getPackageManager().getLaunchIntentForPackage(packageN); if (i == null) { i.addCategory(Intent.CATEGORY_LAUNCHER); context.startActivity(i); } else { try { context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse('http://play.google.com/store/apps/details?id=' + packageN))); } } }
273. An Intent object is a bundle of information and what are the object contains?
274. What's the output? Calendar cal = Calendar.getInstance(); DateFormat dateFormat = new SimpleDateFormat('yyyy-MM-dd'); cal.add(Calendar.DATE, -1); return dateFormat.format(cal.getTime());
275. What's the output? Values/google_maps_api.xml google_maps_key (key from https://console.developers.google.com/) AndroidManifest.xml Build.gradle(Module: app) Dependencies{ … Compile ‘com.google.android.gms:play-services:8.4.0’ }
276. What's the output? public int pxToDp(int px) { DisplayMetrics displayMetrics = getContext().getResources().getDisplayMetrics(); int dp = Math.round(px / (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT)); return dp; } public int dpToPx(int dp) { DisplayMetrics displayMetrics = getContext().getResources().getDisplayMetrics(); int px = Math.round(dp * (displayMetrics.xdpi / DisplayMetrics.DENSITY_DEFAULT)); return px; }
277. what is the purpose of generating R.java as follows?
278. If you are going to check a network connection with the below source code, what would be required to make it work? public boolean isOnline() { ConnectivityManager cm = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo netInfo = cm.getActiveNetworkInfo(); if (netInfo != null && netInfo.isConnectedOrConnecting()) return true; return false; }
279. What's the output? final Intent mainIntent = new Intent(Intent.ACTION_MAIN, null); mainIntent.addCategory(Intent.CATEGORY_LAUNCHER); final List pkgAppsList = getPackageManager().queryIntentActivities(mainIntent, 0); for (Object object : pkgAppsList) { ResolveInfo info = (ResolveInfo) object; File file = new File(info.activityInfo.applicationInfo.publicSourceDir); // … }
280. Which common design patterns are used in Android?
281. Following methods called during the life cycle of an android activity are?
282. Which are possible states of a process?
283. Android Architecture is consisted of the following components?
284. Which ADT generates a debug certificate automatically for emulator and device?
285. How to show option menu using the following source on Samsung phone but cannot see it. How to fix it? try { ViewConfigurationconfig = ViewConfiguration.get(this); Field menuKeyField = ViewConfiguration.class .getDeclaredField('sHasPermanentMenuKey'); if (menuKeyField != null) { menuKeyField.setAccessible(true); menuKeyField.setBoolean(config, false); } } catch (Exception e) { e.printStackTrace(); }
286. What does mean by the following XML code? AndroidManifest.xml … …. …
287. What's the output? public class XYZ extends AsyncTask { @Override protected String doInBackground(String... params) { PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); final WakeLockwl = pm.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK |PowerManager.ACQUIRE_CAUSES_WAKEUP |PowerManager.ON_AFTER_RELEASE, ''''); wl.acquire(); return ''Executed''; } @Override protected void onPostExecute(String result) {} }
288. Which data type does AIDL support?
289. The 'showAsAction' attribute of in a menu resource file can have which of the following values?
290. Which file contains information about the app?
291. Which statement correctly assigns the id to textView element in layout file?
292. AndroidMainfest.xml file contains the following essential information about your app
293. The strings.xml has a .... element, which contains one or more elements.
294. A layout can retrieve the value of the String named 'stringmessage' using `....`.
295. The best practice is to put string values in .... file.
296. Buttons and text views both inherit from the same Android class named ...
297. If the intent has extra integer information passed to it with a name of 'message', we can retrieve that information using which of the following?
298.
When publishing updates to an app on the Google Play Store, which of the following are true?
299. Which one correctly adds a string array resource to strings.xml?
300. Which of the following are true?
301. Suppose Screen1 is the main screen of an Android application MyAndroid. Now if another screen, Screen2 has to be opened from Screen1, then which of the following are true?
302. Which one to display a progress bar in an Android application?
303. One can declare a logical parent '.MainActivity' to < activity > by adding the following line in the respective < activity > in AndroidManifest.xml.
304. Which lifecycle methods are common to both Activity and Fragment?
305. Which statement converts the Object into String?
306. Which is not an activity lifecycle method?
307. ____ are like reusable components or subactivities and can be reused between screens.
308. To pass extra information with intent we can use which Intent object method?
309. Which is correct in order to get a reference to the TextView having an id of 'water'?
310. To run your app on a REAL device which of the following are required?
311. Which is true for R.java?
312. Which are correct about Intent filter?
313. Which of the following are true for intent?
314. Correct location of the menu resource file?
315. Which object can be used to display a pop-up message?
316. Which method sets the layout for the activity?
317. To connect list view to array we can use:
318. A menu resource file in Java can be referenced as (...)?
319. Which folder location can be used for layouts to accomodate different screen sizes?
320. Which tool is used for stress-testing an Android application and reporting back the errors that come up?
321. Which log message should you select for displaying the expected log messages for regular usage and the message levels lower in the list?
322. Which is the default log level of selendroid?
323. While working on Android Studio, which features are supported by the monkeyrunner tool in order to perform Android testing? i) It supports functional testing. ii) It supports regression testing. iii) It supports only single device control. iv) It supports extensible automation.
324. Which Selenium command is used for returning the text from a specified cell in a table?
325. Correct syntax of the bmgr restore command used for immediately invoking the restore operation for an application whose testing is being done?
326. Which method can be used to Check whether or not an element supports multi—selection?
327. Correct syntax of the command that you will be running if you want to see how your app's memory is divided between different types of RAM allocation?
328. Which command is passed to the dumpsys tool so that it provides an output in logcat with performance information that is related to the frames of animation, which occur during the recording phase?
329. Which Android classes provides JUnit framework, Android-specific setup, teardown, and helper methods?
330. Which is the general syntax of the 'am instrument' command used in Android Studio?
331. Correct syntax of monkeyrunnner command used in Android Studio?
332. Correct syntax of zipalign command for confirming the alignment of existing.apk?
333. Correct command for generating an API reference for monkeyrunner?
334. Which statement is correct about GPU tracing in Android Studio?
335. While using Appium tool, what is the function of the following command? > appium --nodeconfig /path/to/nodeconfig.json
336. Which is the correct format of logcat messages?
337. Correct syntax for using jobb in order to dump the contents of an existing 088 file?
338. Which option of the Monkey command stops the Monkey from executing until a debugger is attached to it?
339. Which debug type can you use if you wish to use only LLDB for debugging your code where Java debugger session view is NOT available?
340. While using uiautomator tool, correct syntax of the command that needs to be executed for creating the required build configuration files for building the output JAR?
341. Which monkeyrunner API class provides methods for installing and uninstalling packages and is also used for running test packages?
342. Which is an argument of the sleep method of MonkeyRunner class that pauses the current program for a specified amount of time?
343. Correct Java syntax for retrieving the innerText value contained within an element?
344. With which tool is the Ul/Application Exerciser Monkey tool run in order to send pseudo-random streams of keystrokes, touches, and gestures to an Android device?
345. What is the function of the Thread.dumpStack0 method?
346. While running some tests against an Android device using Selenium, which command can be used to forward the HTTP traffic to the device?
347. Which key would you press to add a line breakpoint after you have located the code line where you wish to pause the execution and placed the caret on that line? (Consider the operating system to be Windows.)
348. Correct syntax of the method used for waking the screen of Mon keyDevice?
349. Which command is used for importing the Python modules?
350. Correct return type of MonkeyDevice waitForConnection (float timeout, string deviceld) method that tries to establish a connection between the monkeyrunner backend and the specified device or emulator?
351. Which tool provides an API for writing programs that are used for controlling an Android device or emulator from outside of Android code?
352. Extending your class with TestCase class and implementing which method allows you to use a JUnit TestCase?
353. Which method in Selendroid starts a mobile web testing session?
354. Which tool is used for shrinking, optimizing, and obfuscating the user
355. While using Selendroid, which property specifies the app id of a native or hybrid app under test?
356. Suppose. you want to analyse the UI components of an application that is to be tested. You have already connected your Android device to your deployment machine, Opened the terminal window, and navigated to ltoolsl. The next step is to run the uiautomatorviewer tool. Which of the following commands will you use to run this tool?
357. Correct syntax of a command for launching the Monkey in a quiet. non-verbose mode in Android Studio?
358. Correct syntax of the activity manager command used for starting profile on and writing results to ?
359. Which log is compiled in but stripped at runtime?
360. Which debugging tool provides the user a graphical viewer for execution logs saved by the user
361. Which selendroid-standalone command line parameters Specifies the port for selendroid-standalone to run on?
362. Correct syntax of the ui automator tool command that is used for deploying the user generated test JAR file to the test device?
363. While using Android studio, which command would you run in order to run your instrumented unit tests with Cradle?
364. Which tool in Android Studio, allows the user to analyze his/her application's execution in the context of system processes, to help in the diagnosis of display and performance issues?
365. As a test engineer of an IT organization if you are required to check whether or not the target app returns the correct UI output in response to user interactions in the activities of the app, then which type of testing would you use?
366. Which arguments is NOT used by the alert method, of MonkeyRunner class, that displays an alert dialog to the process running the current program?
367. Which tool allows the users to debug and optimize their user interface?
368. Which command is used by Selenium grid for checking the ports used by all running programs on your machine?
369. In your JUnit 4 test class, which annotation would you use for specifying static methods for each test class to invoke only once?
370. Correct syntax of the command that is executed for using Monkey tool on the default Android Ul application, given that the user has already navigated to the required directory and connected the Android device with the PC?
371. Correct syntax of the shell command used for listing all the available shell programs?
372. Which features are provided by the Ul/Application Exerciser Monkey? i) It provides Options for Operational constraints, for example, restricting the test to a single package. ii) It provides options for event types and frequencies. iii) It provides basic configuration Options. iv) It provides debugging options.
373. Which tool helps a user in analyzing their application's Ul in different orientations?
374. While running tests against Safari on a real iOS device, what is the use of 'iOS-webkit-debug-proxy'?
375. Correct syntax of CSS partial match that will use the 'checkName' part in the middle of the ID of an element 'abc_checkName_xyz' to match and find the element in Selenium?
376. Correct syntax for using screencap command from the command line in order to take a screenshot of a device display?
377. Which option of etcl tool command line utility is used for creating a PNG file from an ETC1 file?
378. Correct syntax for changing the test build type to 'staging' in your module-level build.gradle file using Android Studio?
379. In order to use the MonkeyDevice class in Android Studio. a command is used for creating a new object from a connection to a device or emulator. What is the correct syntax of that command?
380. After deploying a user generated test JAR file to the test device using uiautomator tool. which is used for running the test?
381. ____ is a linux-based operating system developed by the open handset alliance.
382. To hide a selected column, click the _____ button in the cells group on the home tab.
383. The _____ is a possible media type value for the media attribute.