Android Question Compiled
Android Question Compiled
176
What is APK in android? Easy 1 Evaluation-
177 The emulator is identical to running a real phone expect when emulEasy 1 Evaluation-
178 In android studio, service that provides client-server interface is Easy 1 Evaluation-
179 Which method downloads content in Async Task? Easy 1 Evaluation-
180 JSON reader is __. Fill the gap Easy 1 Evaluation-
181 Which of these methods can be used to writing console output? Easy 1 Evaluation-
182
What are the wake locks available in android? Easy 1 Evaluation-
183
Fragment in Android can be found through Easy 1 Evaluation-
184
How do you join two notifications in android? Easy 1 Evaluation-
185 Which one is a android state? Easy 1 Evaluation-
186 What is the name of the AI inside Android? Easy 1 Evaluation-
187 Android is based on Linux for the followoing reasons Easy 1 Evaluation-
188 Broadcast that displays information of low battery Easy 1 Evaluation-
189 Required android tools for development is called Easy 1 Evaluation-
190 Icon and
Decision
to declare app name where it should be written Expert 1
making
Control
191 Icon and
android:layout_below="@+id/imageView" is used to Decision
Expert 1
define that the view will appear making
Control
192 What is a base adapter in android? Expert 1 Evaluation-
193 Which method to use for copying data into clipbord? Expert 1 Evaluation-
194 The R file is a generated file Expert 1 Evaluation-
195 An activity can be thought of as corresponding to what? Expert 1 Evaluation-
196 In which way , JSON reader permits to read string values? Expert 1 Evaluation-
197 Icon and
to create a view as big as its parent view which property should Decision
Expert 1
be used making
Control
198 Icon and
From which API level the view property "fill_parent" is Decision
Expert 1
depreacated and replaced it by "match_parent" making
Control
199 To create a unit of code within a method signature that can be exte Expert 1 Evaluation-
200 What is a Sticky Intent? Expert 1 Evaluation-
201 What role does Dalvik play in Android development? Expert 1 Evaluation-
202 Icon and
Which file the activity name should be declared to start as launch Decision
Expert 1
activity when app is running? making
Control
203 Android library that provides access to content, its publishing a Expert 1 Evaluation-
204 Icon and
first which method used to instantiate Decision
Hard 1
the object of SensorManager class making
Control
205 Icon and
Decision
android:layout_width="wrap_content" is used to define view widt Hard 1
making
Control
206
What are the functionalities in asyncTask in android? Hard 1 Evaluation-
207 Which method updates the percent progress in Async Task? Hard 1 Evaluation-
208
If you want share the data across the all applications ,you should
Hard 1 Evaluation-
go for?
214
The fields in an interface are implicitly specified as…? Hard 1 Evaluation-
215
What does AOAP stands for? Hard 1 Evaluation-
216 Which of these are not one of the three main components of the
Hard 1 Evaluation-
APK?
217 Icon and
Decision
which file should be define minSDK and target SDK version Medium 1
making
Control
218 Icon and
Decision
android:id="@+id/textView2" it define Medium 1
making
Control
219
Which exception is thrown by read() method? Medium 1 Evaluation-
220
Which of these class is used to read characters and strings in Java
Medium 1 Evaluation-
from console?
221
Which of these class is implemented by FilterInputStream class? Medium 1 Evaluation-
222 Which method is used for garbage collection? Medium 1 Evaluation-
223 To minimize loss, how large numeric values should be written in Medium 1 Evaluation-
224 To maintain precision, how large numeric values should be read i Medium 1 Evaluation-
225 What is the "Result" parameter type of Async Task? Medium 1 Evaluation-
226 Icon and
to create image as an app icon which file it's source path should Decision
Medium 1
be stored in making
Control
227 Which of these classes are used by character streams for input
and Medium 1 Evaluation-
output operations?
228 Which of these classes are used by Byte streams for input and
Medium 1 Evaluation-
output operation?
229 Which among these are NOT a part of Andriod native libraries Medium 1 Evaluation-
230 A class that allows to display messages on logcat windows is Medium 1 Evaluation-
231 In android studio, callback that is when activity is no longer visibleMedium 1 Evaluation-
232 How many JSON streams a JSON reader should read? Medium 1 Evaluation-
233 Icon and
to uniquely defined every view by it's id of Decision
Medium 1
Xml component which method skould be used? making
Control
234 Which of these are not one of the three main componenet of the A Medium 1 Evaluation-
235 What is the "Params" parameter type of Async Task? Medium 1 Evaluation-
236 Icon and
Decision
which sensor android platform support ? Medium 1
making
Control
237
Which of these class is used to read from byte array? Medium 1 Evaluation-
238 Which of these is used to read a string from the input stream? Medium 1 Evaluation-
239
Which of these class contains the methods print() & println()? Medium 1 Evaluation-
240 What is the "Progress" parameter type of Async Task? Medium 1 Evaluation-
241 How to declare an integer array in Android Medium 1 Evaluation
242 How to Assign a single value to a fixed position of an a Medium 1 Evaluation
243 How to assign multiple values to an array Hard 1 Evaluation
244
Easy 1 Evaluation
267 In which Activity life-cycle method you should do all of yEasy 1 Evaluation
268 Which of the following best explains the Android option Easy 1 Evaluation
269 Which of the following applies a context menu on a List Easy 1 Evaluation
270 Which of the following methods updates a ListView whenHard 1 Evaluation
271 What does the following code achieve? Intent intent = new Expert 1 Evaluation
272 What is a base adapter in android? Easy 1 Evaluation
273 Android doesn't support which format. Easy 1 Evaluation
274 Web browser available in android is based on Easy 1 Evaluation
275 Is list data type supported by AIDL? Easy 1 Evaluation
276
Expert 1 Evaluation
290
Expert 1 Evaluation
291
Which Class provides APIs that allow you to create an AlHard 1 Evaluation
311
What is the name of the activity allows itself to be start Medium 1 Evaluation
322
What if Flags in Intent Hard 1 Evaluation
323
The syntax for an ID, inside an XML tag is: Medium 1 Evaluation
331
What is the name of the APIs used to play audio and video
Medium 1 Evaluation
332 What is retrofit android ? Easy 1 Evaluation-A
333 What is the aim of Retrofit? Easy 1 Evaluation-A
334 What is by default being leaveraged by Retrofit 2? Medium 1 Evaluation-A
335 In which, OkHttp works as a networking layer? Hard 1 Evaluation-A
336 What is Volley? Medium Evaluation-A
337 What is the advantage of volley in android? Medium Evaluation-A
338 Which service isn't offered by Volley? Hard Evaluation-A
339 Which service is offered by Volley? Expert Evaluation-A
340 UI is populated by Volley using __ fill the gap Medium Evaluation-A
341 How a page of search is fetched by Volley? Hard Evaluation-A
342 Which uses HTTP as an underlying protocol? Medium Evaluation-A
343 Which are methods of HTTP ? Easy Evaluation-A
344 Which method of HTTP requests data? Easy Evaluation-A
345 Which method of HTTP submits data? Easy Evaluation-A
346 Which method of HttpURLConnection obtain a new HttpURLConnectioHard Evaluation-A
347 What are included in URI. Request headers metaData? Medium Evaluation-A
348 With which, instances of URLConnection class must be initialized if theMedium Evaluation-A
349 Which method returns the stream which is used by URLConnection classHard Evaluation-A
350 Which isn't imcluded in response headers metadata? Hard Evaluation-A
351 Which are included in response headers metadata? Medium Evaluation-A
352 What is returned by getInputStream if response has no body? Medium Evaluation-A
353 Which method closes the HTTPURLConnection? Medium Evaluation-A
354 How many redirects HttpURLConnection will follow up to? Hard Evaluation-A
355 Which method configures the connection for uploading data to a web serMedium Evaluation-A
356 When body length of data is known, which method should be called wheMedium Evaluation-A
357 When body length of data is not known, which method should be called Medium Evaluation-A
358 InputStream and OutputStream returned by HttpURLConnnection class ar Easy Evaluation-A
359 What HttpURLConnection class should do for reducing latency? Medium Evaluation-A
360 HTTP connections may be held __ longer than necessary. Fill the gap Easy Evaluation-A
361 What the disconnect method of HTTP connection might return? Easy Evaluation-A
362 What type of compression is requested by the HttpURLConnection to theMedium Evaluation-A
363 Which method of HttpURLConnection is used for data decompression? Medium Evaluation-A
364 How Gzip compression can be disabled? Medium Evaluation-A
365 What getInputStream returns when the string is exhausted? Hard Evaluation-A
366 Which method returns the number of bytes transferred? Medium Evaluation-A
367 Which method tests connection redirection? Medium Evaluation-A
368 Which method triggers the receiving of response headers? Hard Evaluation-A
369 Which class includes all extensible cookie manager ? Expert Evaluation-A
370 Where the default cookie manager keeps all the accepted cookies? Medium Evaluation-A
371 What the cookies must have set to be included in headers? Medium Evaluation-A
372 What is the cookie version should be set for compatibility with most ser Medium Evaluation-A
373 Which method is used by HttpURLConnection by default? Medium Evaluation-A
374 Which method causes the HttpURLConnection to use POST method ? Hard Evaluation-A
375 Which method is used to use a proxy? Medium Evaluation-A
376 Which version of android includes a response cache? Medium Evaluation-A
377 With what type of servers, new instances of cookies work? Hard Evaluation-A
378 What should be Implemented to define a custom cookie store? Hard Evaluation-A
379 Which one is a HTTP method? Medium Evaluation-A
380 Which one is not a HTTP method? Medium Evaluation-A
381 In array handling of JSON streams which method should be called first?Hard Evaluation-A
382 In array handling of JSON streams which method should be called to reaHard Evaluation-A
383 In object handling of JSON streams which method should be called first Hard Evaluation-A
384 In object handling of JSON streams which method should be called to reHard Evaluation-A
385 Which method is common in both array handling and object handling ofMedium Evaluation-A
386 When an unknown name is encountered, what strict parsers should do? Hard Evaluation-A
387 Which method checks if a value is null? Easy Evaluation-A
388 Which method consumes null literals? Easy Evaluation-A
389 Which method sorks alike nextNull? Medium Evaluation-A
390 How JSON reader reads numeric values? Expert Evaluation-A
391 In which way , JSON reader permits to read string values? Expert Evaluation-A
392 Which method works to read next element from JSON array? Hard Evaluation-A
393 To minimize loss, how large numeric values should be written in JSON?Medium Evaluation-A
394 To maintain precision, how large numeric values should be read in JSO Medium Evaluation-A
395 How many JSON streams a JSON reader should read? Medium Evaluation-A
396 JSON reader is __. Fill the gap Easy Evaluation-A
397 Which one helps us to perform background tasks without altering threadMedium Evaluation-A
398 Which method is invoked on Uithread before any task is executed? Medium Evaluation-A
399 How many kinds of parameters are there for Async Task? Medium Evaluation-A
400 What is the "Params" parameter type of Async Task? Medium Evaluation-A
401 What is the "Progress" parameter type of Async Task? Medium Evaluation-A
402 What is the "Result" parameter type of Async Task? Medium Evaluation-A
403 Which method downloads content in Async Task? Easy Evaluation-A
404 Which method updates the percent progress in Async Task? Hard Evaluation-A
405 Which method computes the total number of bytes in Async Task? Easy Evaluation-A
406 Who is responsible for handling messages and runables? Medium Evaluation-A
407 What the "@Path" annotation in retrofit denotes for? Medium Evaluation-A
408 What the "@Query" annotation in retrofit denotes for? Medium Evaluation-A
409 What the "@Body" annotation in retrofit denotes for? Medium Evaluation-A
410 Headers can be added to a request using an Interceptor Medium Evaluation-A
411 Which of the following is not an extra field in android email? Medium Evaluation-A
412
Hard 1 Android
425 Which of the following is the meaning of “CRUD”? Expert 1 android
426
If you want to share the data from one application to other
applications,
which of the following you will use?
Easy 1 Android
427
To share data across packages in Android which one you will prefer? Hard 1 Android
428 Identifies data in a provider- Medium 1 Android
429 Which of the following statement is True? Easy 1 Android
430
For Creating your own content provider which class you will prefer? Medium 1 Android
431 How many frequency of Applet? Medium 1 Android
432 What is the uses of cursor loader? Medium 1 Android
433 What is/are storage option available in android? Expert 1 Android
434 What is Loader? Hard 1 Android
435 Why does loader run on separate thread? Easy 1 Android
436 How does the Loaders simplify a thread management? Hard 1 Android
437 What does we do to prevent duplicate queries? hard 1 Android
438 Which of the following statement is true? Expert 1 Android
439 Characteristics of the Loaders? Easy 1 Android
440 What is cloud storage? easy 1 Android
441 What touse Google security to file uploads and downloads for your
Firebase apps? Medium 1 Android
442 What will you use to store images, audio, video, or other user-
generated content? Medium 1 Android
443 What will use to access the same files on the server? Midium 1 Android
444 What is SDK? Easy 1 Android
445 The Firebase Real-time database is a- Hard 1 android
446
What was Google’s main business motivation for supporting Android? 1 Evaluation-A
638
Once installed on a device, each Android application lives in_______ 1 Evaluation-Android
639
a) 0 a) 0 b) 0.0
a) type a) type b) object
a) serializable a) serializable b) comparable
a) -2^31 to 2^31-1 a) -2^31 to 2^31-1 b) 0 to -2^16
a) Versions 1.6 or 2.0 a) Versions 1.6 or 2.0 b) Versions 1.0 or 1.1
a) JSon Exception a) JSon Exception b) Json Not found excep
a) App level security and kernel level security a) App level security andb) Android level securit
a) streams a) streams b) Variables
a) InputStream a) InputStream b) InputOutputStream
a) below of Image
a) below of Image View b) top of Image View
View
a) Base Adapter is a common class for any adapta) Base Adapter is a co b) A kind of adapter
a) ClipData a) ClipData b) GlobalMemory
a) automatically a) automatically b) manually
a) Java class a) Java class b) java project
a) as numbers a) as numbers b) as array
b) {} a) [] b) {}
c) broadcast from sendStickyBroadcast() methoda) Create widget b) Create sticky note
c) Virtual Machine a) API b) Services
b) Allow other application to write the preferenca) Application can writeb) Allow other applicat
b)
c) android:checkedButton a) android:text
android:layout_width
b)
a) IOException a) IOException
InterruptedException
b)
a) FileInputStream a) FileInputStream
BufferedInputStream
a) system.gc() a) system.gc() b) Activity#garbage()
a) as string a) as string b) as array
a) as string a) as string b) as array
a) Bitmap a) Bitmap b) HashMap
b)
c) findViewById() a) finalize()
setFeatureDrawable()
b)
d) ByteArrayInputStream. a) InputStream
BufferedInputStream
d) read_line() a) get() b) getl_ine()
b) java.util.Arrays b) java.util.Arrays
a)Returns a fixed-size list backed by the spa)Returns a fixed-sizb) Replace a fixed-siz
b) Content
b) Content Providers a) View System
Providers
d) all of them a. string b) charSequence
b) all of them a. Sensor b) all of them
a) An Array is a fixed-length data structur a) An Array is a fixe b) An Array is a var
b) True a) False b) True
d) It creates a TextView for each String in a) It creates four vie b) It creates Buttons
c)ArrayAdapter (Context context, int resoa) ArrayAdapter (Cont b) ArrayAdapter (Con
b) onItemClickListener a) onItemClicked b) onItemClickListen
c) ArrayAdapter (Context context, int res a) ArrayAdapter (Cont b) ArrayAdapter (Con
c) Extend class android.widget.Adapter ora) Extend class androb) Extend class andr
a) setEnabled(true) a) setEnabled(true) b) SetItemsEnabled(t
d) onCreate() a) onStart() b) onPause()
a) A and D a) Dolphin Browser b) Chrome
a) True a) True b) False
b) ListView is a view group that displays aa) ListView is a viewb) ListView is a view
c) Adapter a) Array b) Object
a) b)
ArrayAdapter<Strin ArrayAdapter<Strin
g> itemsAdapter = g> itemsAdapter =
new old
ArrayAdapter<Strin ArrayAdapter<Strin
a) ArrayAdapter<String> itemsAdapter = g>(this, g>(this,
new ArrayAdapter<String>(this, android.R.layout.si android.R.layout.si
android.R.layout.simple_list_item_1, mple_list_item_1, mple_list_item_1,
items); items); items);
a) b)
Log.i("MyAndroid Log("MyAndroidCl
Class", ass",
a) Log.i("MyAndroidClass", Arrays.toString(arr) Arrays.toString(arr)
Arrays.toString(arr)); ); );
version="1.0" version="1.0"
encoding="utf-8"?> encoding="utf-8"?>
<resources> <resources>
<string-array <string-array
name="races_array name="races_array
"> ">
<item1>@string/ra <item>@string/race
ce_goblin</item> _goblin</item>
<item2>@string/ra <item>@string/race
ce_orc</item> _orc</item>
b) <?xml version="1.0" encoding="utf-
8"?> <item3>@string/ra <item>@string/race
<resources> ce_elf</item> _elf</item>
<string-array
name="races_array"> <item4>@string/ra <item>@string/race
<item>@string/race_goblin</item> ce_human</item> _human</item>
<item>@string/race_orc</item>
<item>@string/race_elf</item> <item5>@string/ra <item>@string/race
<item>@string/race_human</item> ce_troll</item> _troll</item>
<item>@string/race_troll</item>
<item6>@string/ra <item>@string/race
<item>@string/race_halfling</item> ce_halfling</item> _halfling</item>
</string-array> </string-array> </string-array>
</resources> </resources> </resources>
d) String cRaces =
d) String[] cRaces = getResources().getS
getResources().getStringArray(R.array.ra tringArray(R.array.r b) String[] cRaces
ces_array); aces_array); = getResources();
c) <Spinner> b) <Spinner>
android:layout_heig android:layout_heig
ht="wrap_content" ht="wrap_content"
c) <Spinner
android:layout_wid android:layout_wid
android:layout_height="wrap_content" th="match_parent" th="match_parent"
a) <ListView b) <ListView>
android:id="@+id/l android:id="@+id/l
ist" ist"
c) ArrayAdapter b) ArrayAdapter
adapter = adapter = new
c) ArrayAdapter adapter = new ArrayAdapter<Strin ArrayAdapter<Strin
ArrayAdapter<String>(this,R.layout.List g>(this,R.layout.Lis g>(R.layout.ListVie
View,StringArray); tView,StringArray); w,StringArray);
a) ListView b) ListView
listView = listView =
(ListView) (ListView)
findViewById(R.id. findViewById(R.id.
a) ListView listView = (ListView) listview); listview);
findViewById(R.id.listview); listView.setAdapter setAdapter(adapter)
listView.setAdapter(adapter); (adapter); ;
a) Dialog a) Dialog b) FirstDialog
a) True a) True b) False
b)
c) ProgressDialog a) AlertDialog DatePickerDialog
b) ProgressBar a) Progress & Activity
b) ProgressBar
b) define the style
b) define the style and structure for a and structure for a
dialog a) Assign a dialog dialog
d) DialogFragment a) ManageDialog b) ControllDialog
d) DialogFragment a) ManageDialog b) ControllDialog
a)
AlertDialog.Builder b) AlertDialog=
builder = new new
a) AlertDialog.Builder builder = new AlertDialog.Builder AlertDialog.Builder
AlertDialog.Builder(getActivity()); (getActivity()); (getActivity());
a)
a) AlertDialog.Builder AlertDialog.Builder b) ProgressDialog
a)
AlertDialog.Builder b) AlertDialog =
builder = new
c) AlertDialog.Builder builder = new AlertDialog.Builder AlertDialog.Builder
AlertDialog.Builder(getActivity()); (getActivity()); (getActivity());
a) AlertDialog = b) AlertDialog
c) AlertDialog dialog = builder.create(); builder.create(); dialog = builder();
b) when an item in
the list is
d) when an item in the list is selected a) None of them disselected
a) An Activity
represents a b) An Activity
b) An Activity represents a single screen multiple screens in represents a single
in an app an app screen in an app
a) A Service is a b) A Service is a
component that component that
performs operations performs operations
a) A Service is a component that in the background in the background
performs operations in the background without a user with a user
without a user interface. interface. interface.
d) 2 3 4
a) A and C a) Explicit intents b) Modern intents
a)
CATEGORY_BRO
a) CATEGORY_BROWSABLE WSABLE b) CATEGORY_LAUNCHER
a) Metadat for an b) Metadat for an
b) Metadat for an intent intent Bundle
b) <activity
android:name="Sha
a) <activity> reActivity">
<intent-filter> <intent-filter>
b) <activity <action <action
android:name="ShareActivity"> android:name="and android:name="and
<intent-filter> roid.intent.action.S roid.intent.action.S
<action END"/> END"/>
android:name="android.intent.action.SE <category <category
ND"/> android:name="and android:name="and
<category roid.intent.category. roid.intent.category.
android:name="android.intent.category.D DEFAULT"/> DEFAULT"/>
EFAULT"/> <data <data
<data android:mimeType android:mimeType
android:mimeType="text/plain"/> ="text/plain"/> ="text/plain"/>
</intent-filter> </intent-filter> </intent-filter>
</activity> </activity> </activity>
b) Intent
a) Intent launchBrowser =
launchBrowser = new
b) Intent launchBrowser = new Intent(Intent.ACTI Intent(Intent.ACTI
Intent(Intent.ACTION_VIEW, uriUrl); ON_VIEW, uriUrl); ON_VIEW, uriUrl);
b) Intent search =
a) Intent search = new
b) Intent search = new Intent(Intent.ACTI Intent(Intent.ACTI
Intent(Intent.ACTION_WEB_SEARCH) ON_WEB_SEARC ON_WEB_SEARC
; H); H);
a) to defines the
structure for a user b) to defines the
a) to defines the structure for a user interface in your structure for an
interface in your app app intent in your app
a) View and
a) View and ViewGroup ViewGroup b) View and Scene
b) It is a temporary file
and then replacing the
current document
c) It is an in-process which is a Zero configured, self a) It is an automatically i
d) No external dependencies a) Self Dependencies b) External dependcies
b) ACID compliant a) UNIX process b) ACID compliant
c) ANSI C a) C++ b) JAVA
d) Data Definition Language a) Data Decline Language b) Data Distribution Lang
b) ALTER a)INSERT b) ALTER
a) a database manager for SQLite database a) a database manager forb) a database manager for
a)Data Query Language a)Data Query Language b) Data Qualification Lan
d) SELECT a) UPDATE b) DELETE
b) DDL a) DQL b)DDL
b) Data Manipulation Language a) Data Manipulate Langub)Data Manipulation Lang
c)both d) none
c)both d) none
c)both d) none
c)both d) none
c)both d) none
c)choice d) none
c)both d) none
c)derived class d) all
c)optimization d) none
c)base class d) all
c)subclass d) all
c)both d) none
c)multiple d) all
c)multiple d) all
c)both d) none
c)access d) all
c)instance d) all
c)both d) none
c)both d) none
c)general type d) special type
c)special d) all
c)both d) none
c)rich d) poor
c)4 d) 8
c)Boolean d) all
c)Basic d) none
c)Arrays d) none
c)10 d) all
c)both d) none
c)long float data d) none
c)small value d) none
c)4 d) 5
c)both d) none
c)for d) all
c)try-catch d) all
c)continue d) none
c)differently d) none
c)TRUE d) all
c)4 d) 5
c)both d) none
c)do...while d) none
c)infinite d) all
c)always mone than oned) all
c)same as for d) none
c)if d) switch
c)both d) none
c)3 d) 4
c) SystemException d) InterruptedException
c) BufferedStreamReadd) InputStreamReader
c) InputStream d) none
c) Reverse() d) reverseAll()
c) onPreExecution() d) doInBackground()
c) Virus on the Serverd) Activity manager contains too much.
c) The source code d) All other choices
c) modarate d) none
c) 64 bits d) depends on situation
c) bit d) none
c) OSS d) Sourceforge
c) Motorola Droid d) HTC Hero
c) ReadStream d) InputOutputStream
c) InputOutputStream d) All of the mentioned
c) Both of the mentiond) None of the mentioned
c) InputStream d) InputOutputStream
c) We can't say d) None of the above
c) Internal Storage d) SQLite Databases
c) Dalvik application d) C source code
c) services d) broadcastReceiver
c) activityGroup d) contextThemeWrapper
c) Java VM was too comd) Java VM ran too slow
c) Audio driver d) Power management
c) OpenGL d) SQLite
c) 8 d) 9
c) int to long d) long to int
c) 32 bits d) 64 bits
c) Notifications Managd) Activity Manager
c) Open Handset Allia d) none
c) Abstract Window Tod) Abstract Writing Toolkit
c) Byte stream d) Long stream
c) SQlite database d) Not possible
c) four d) five
c) Reverse() d) reverseAll()
c) java d) XML
c) menu bar d) editor tab
c) LinearLayout d) ConstraintLayout
c) bottom d) none
c) InputStream d) InputOutputStream
c) colors d) activity_main
d) Not possible
c) SQlite database
c) Android
d) None of the above.
packaging kit
c) Sensors d) Emulator
c) startService() d) onCreate()
c) doInBackground() d) Progress()
c) not threadsafe d) risky
c) write() d) all
c)
d)
FULL_WAKE_LOC
FULL_WAKE_LOCK
K
d)
c)
FragmentManager.findFr
findFragmentByID()
agmentByID()
c) It is not possible in
d) A & C
android
c) Background d) All of the above
c) Google secretary d) Google assistant
c) Networking d) all of the above
c) android.intent.ac d) android) intent.action.BATTERY_LOW
c) IDE d) SDK
c) drawable d) mipmap
c) align of Image
d) none
View
c) 10dp d) none
c) () d) ||
c) broadcast from sen d) push notifications
c) Virtual Machine d) Debugger
c) Gradle d) AndroidManifest
c) getOrientation() d) none
c) as big as to
enclose its parent d) none
view content
c) onPreExecution() d) doInBackground()
c) doInBackground() d) Progress()
c)
android:checkedButto d) android:onClick
n
c) broadcastIntent() d) broadcastStart()
c) both a & b d) none
c) Using
startService(Intent d) startFordgroud
intent)
c) both static and
d) none
final
c) Android open d) Android open source
source protocol project
c) AndroidManifest d) none
c) Button Id d) none
c) SystemException d) InterruptedException
c)
BufferedStreamReade d) InputStreamReader
r
c) InputStream d) none
c) garbage() d) gc()
c) as it is d) none
c) as structure d) as ponter
c) String d) Void
c) AndroidTest d) UnitTest
c) ReadStream d) InputOutputStream
c)
d) All of the mentioned
InputOutputStream
c) OpenGL d) Sqlite
c) makeTest class d) Show class
c) onRestart d) onResume
c) mixed data stream d) null stream
c) findViewById() d) none
c) Webkit d) Libraries
c) string d) structure
d)
c) ArrayInputStream.
ByteArrayInputStream.
c) read() d) read_line()
c)
BUfferedOutputStrea d) PrintStream
m
c) string d) void
c) int[] IntegerArrad) All of them
c) IntegerArray(3])d) int a=4
c) int[] IntegerAr d) int IntegerArray = new int[] {1,2,3,4,5,6,7,8,9};
c)
java.lang.nullpoint d) java.lang.ClassNotFoundException
erexception
c) Remove a fixed-si
d) Pass a fixed-size list from one to another.
c) Activity d) Notifications
Manager Manager
c) List d) all of them
c) SensorManager d) SensorEvent
c) None of them d) All of them
c) public void
two() {
int sum = 0;
for (Foo a :
mArray) {
sum += a.mSplat;
}
}
d) All of them
c) android.view d) android.webkit
c) preferenceFragment
d) cursorFragment
c) All of them d) None of them
c) All of them d) None of them
c) FragmentActivityd) all the aove
c) The source code d) All other choices
c) SimpleAdapterd) SQLiteCursor
c) List may containd)duplicate
B & C values
c) Authentication management
d) All of the above
c) Authentication management
d) None of the above
c) A & B d) Network servers
c) When displayingd) ListView has a function to display a list of uniquely defined Views other than T
c) ArrayList d) Context
c) The bookmarks d) The application list
c) onCreate() d) onPause()
c) It is the primar d) It is a type of List Activity with predefined headers and footers for special com
c) ListView lv = ( d) B & C
c) notifyDataSetChd) notifyDataSetInvalidate( )
c) Starts an activit d) Sends results to another activity.
c) Data storage spa d) None of the above.
c) AVI d)MIDI
c) Open-source Webd) Opera
c) ListView is a vied) ListView is a view group that insert a list of scrollable items.
c) Adapter d) None of them
c) itemsAdapter = d)
new ArrayAdapter<String
ArrayAdapter<Stri > itemsAdapter =
ng>(this, <String>(this,
android.R.layout.s android.R.layout.sim
imple_list_item_1, ple_list_item_1,
items); items);
d) ListView listView
ListView listView = (ListView)
= (ListView) findViewById(R.id.lv
findViewById(R.i Items);
d.lvItems); setAdapter(itemsAda
pter);
<resources>
<string-array
name="my_books
">
<item>Scala
Cookbook</item>
<item>Play
Framework
Recipes</item>
<item>How I
Sold My Business:
A Personal
Diary</item>
<item>A
Survival Guide for
New
Consultants</item
>
</string-array>
</resources>
Resources res =
getResources();
String myBooks =
res.getStringArray
(R.array.my_book
s); d) All of them
c)
print("MyAndroid
Class",
Arrays.toString(ar
r)); d) None of them
encoding="utf-8"? d) <?xml
> version="1.0"
<resources100> encoding="utf-8"?>
<string-array <resources>
<string-array
name="races_arra
y"> name="races_array">
<item>@string/rac <item>@string/race_
e_goblin</item> goblin
<item>@string/rac <item>@string/race_
e_orc</item> orc
<item>@string/rac <item>@string/race_
e_elf</item> elf
<item>@string/rac <item>@string/race_
e_human</item> human
<item>@string/rac <item>@string/race_
e_troll</item> troll
<item>@string/rac <item>@string/race_
e_halfling</item> halfling
</string-array> </string-array>
</resources> </resources>
android:layout_hei
ght="wrap_conten
t"
android:layout_wi
dth="match_paren
t"
android:id="@+id
/spinnerOfCharact
erRaces"
android:entries="
@array/races_arra
y">
</Spinner> All of them
c) <ListView
android:id="id/list
"
android:layout_hei
ght="wrap_conten
t"
android:layout_wi
dth="match_paren
t">
</ListView> None of them
c) import d) import
java.util.Lang; java.util.List;
c) None of them d) All of them
c) ArrayAdapter
adapter = new
ArrayAdapter<Stri d) adapter = new
ng>(this,R.layout. ArrayAdapter<String
ListView,StringAr >(this,R.layout.ListVi
ray); ew,StringArray);
c) ListView
listView =
(ListView)
findViewById(list
view);
listView.setAdapte
r(adapter); d) B & C
c) DialogClass d) None of them
c) ProgressDialog d) TimePickerDialog
c) ProgressDialog d) None of them
d) define the
c) define the style structure for a dialog
for a dialog only only
c) Dialog d) DialogFragment
c) Dialog d) DialogFragment
c) d)
AlertDialog.Build AlertDialog.Builder
er builder = new builder = new
Builder(getActivit AlertDialog(getActiv
y()); ity());
d)
c) ProgressDialog.Builder
AlertDialog.Maker
c)
AlertDialog.Build d)
er builder = new AlertDialog.Builder
AlertDialog.Build builder = new
er(getActivity()); AlertDialog.Builder;
c) AlertDialog
dialog = d) AlertDialog
builder.create(); dialog = create();
c) when an item
to be deleted from d) when an item in
a list the list is selected
d) protected void
c) protected void onListItemClick
onListItemClick (ListView l,
(ListView l, View v,
View v, int position,
) long id)
c) switch(index){
Androidcase 0:
//Do this and
this break;
Androidcase 1:
//Do this and
this break;
Androidcase 2:
//Do this and
this: break;
default: //For all
other cases, do this
break;
} d) None of them
c) An Activity
represents exactly
two screens in an
app d) All of them
c) A Service is a
component that
performs d) A Service is a
operations in the component that
foreground performs operations
without a user in the foreground
interface. with a user interface.
c) 5 d) 2
c) Implicit intents d) Call intents
c) CATEGORY_BROWSE
d) All of them
c) <activity d) <activity
android:name="Sh android:name="Share
areActivity"> Activity">
<intent-filter/>
<action <action
android:name="an android:name="andro
droid.intent.action. id.intent.action.SEN
SEND"/> D"/>
<category <category
android:name="an android:name="andro
droid.intent.catego id.intent.category.DE
ry.DEFAULT"/> FAULT"/>
<data <data
android:mimeType android:mimeType="
="text/plain"/> text/plain"/>
<//intent-filter>
</activity> </activity>
c) Intent = new
Intent(Intent.ACTI
ON_VIEW,
uriUrl); d) All of them
c) search = new
Intent(Intent.ACTI
ON_WEB_SEAR
CH); d) None of them
c) to defines the
structure for a
storyboard in your
app d) None of them
d) ViewGroup and
c) View and Intent scene
c) an invisible
container d) None of them
c)
android:id="id/my
_button" d) All of them
c) AudioVideo
APIs d) MediaPlayer APIs
c)Client d) Session
c) consume web servicesd) none
c) OkHttp d) SMTP
c)Retrofit 1 d)Retrofit 2
c) SMTP library d) retrofit library
c) File Transfer d) Image
c) Debugging & tracing d) Auto Ordering
c) Debugging & tracing d) Auto Ordering
c) API type operations d) both a & b
c) Structured Data d) none
c) World Wide Web d) Email
c) GET & RETURN d) RETURN
c) RETURN d) None
c) RETURN d) None
c) URL.connection d) GET
c) session cookies d) all of three
c) setOutput(true) d) setInput(true)
c) getOutputStream d) getInput
c) response body Lengthd) Response Body History
c) response body Lengthd) all of three
c) input stream d) null
c) disconnect d) disrupt
c) 3 d) 4
c) setDoUpload d) setDoOutput
c) setFixedLengthStrea d) setFixedMode
c) setChunkedStreamin d) setChunkedMode
c) unbuffered d) unserialized
c) borh a & b d) none
c) partially open d) ppartially closed
c) Unicode Character arrd) NSMUtableString
c) rar d) gzip
c) getInput d) None
c) special encodings at hd) none
c) 3 d) 1
c) contentLength d) getContentLength
cURI d) getURI
c) both a & b d) none
c) HttpHeader d) none
c) cache d) memory
c) server properties d) both a & b
c) 1 d) -1
c) RETURN d) None
c) setDoOutput d) set
c) URL.open(Proxy) d) URL.(Proxy)
c) Android 4 d) Android 3.2
c) that support RFC 266 d) both a &b
c) cookieDepot d) CookieStore
c) TRACE d) all of three
c) TRACE d) TAIL
c) readArray d) array
c) end(). d) Array
c) beginObject d) object
c) endObj(). d) endObject()
c) endObject d) hasNext
c) Pass d) None
c) read d) hasNext
c) nextNull d) none
c) nextValue d) getNext
c) both a & b d) as structure
c) as structure d) none
c) both a & b d) none
c) as it is d) none
c) as structure d) as ponter
c) mixed data stream d) null stream
c) not threadsafe d) risky
c) syncTask d) AsyncTask
c) onReExecute() d) onPriExecute()
c) 4 d) 5
c) string d) structure
c) string d) void
c) String d) Void
c) doInBackground() d) Progress()
c) doInBackground() d) Progress()
c) doInBackground() d) Progress()
c) compiler d) operating system
c) variable for the API e d) path substitution for the API endpoint
c) specifies the key nam d) specifies the name
c) payload for the POST d) payload for the POST
c) Interpretor d) Interceptor
c) EXTRA_SUBJECT d) EXTRA_BODY
d) It is a library that
implements a lightweight
embedded relational
Database
c) It is an in-process wh
c) Self motivation d) No external dependencies
c) LINUX process d) None .
c) ANSI C d) PHP
c) Data Transfer of Distr d) Data Definition Language
c) SELECT d) None
c) It is control the all d) No one.
c) Data Manipulate Langd)none
c) VIEW d) SELECT
c) DML d)none
c) Data Device Manipulad) Data Magnification language.
c) ContentProvider d) No one.
c) Option 1and 2 is corred) Option 2 and 3 is correct.
c) create, return, unite, d)none
c) Software d) a and b
c) FCM d) JSON
c) Is an iOS, Android, o d)none
c) Data is synced across d) All of the above
c) DML d) Provider
c) 4GB d) 8GB
c) 8GB d) 16GB
c) 2GB d) 1GB
c) 8GB d) 16GB
c) 16GB d) 32GB
c) 1024*768 d) 1280*800
c) 4GB d) 8GB
c) 8GB d) 16GB
c) 2GB d) 1GB
c) 8GB d) 16GB
c) 16GB d) 32GB
c) 1024*768 d) 1280*800
c) 4GB d) 8GB
c) 8GB d) 16GB
c) 2GB d) 1GB
c) 8GB d) 16GB
c) 16GB d) 32GB
c) 1024*768 d) 1280*800
c) 2.18 d) 2.19
c) Play Store d) Game Store
c) Android Pen d) Signature
c) release.apk d) final.apk
c) $20 d) $25
c) SlideME d) All of the above
c) Oragnizing d) Publishing
c) 3.1.5 d) 3.3
c) jde d) apk
c) onResume d) onDestroy
c) linux d) contiki
c) pie d) oreo
c) jvm d) api
c) res/layout d) AndroidManifest.xml
c) Linux d) Contiki
c) Broadcast Receivers d) Content Providers
c) design d) button
c) view d) manifest
c) classes d) function
c) intent d) manifest
c) /it is a comment d) it is a comment
c) apk d) ide
c) firmware d) software
c) java code d) c# code
c) Android studio d) Java
c) ide d) sdk
c) jdk d) apk
c) stub d) firmware
c) api d) dvm
c) view d) manifest
c)Stop( ) d)Close( )
c)onDestroy d)onHide
messages at no cost
component class