Android Programming (2180715) MCQs

MCQs of The Basics

Showing 21 to 30 out of 114 Questions
21.
The method is called when the service was created first-time using onStartCommand() or onBind() is _____
(a) onStart()
(b) onCreate()
(c) onRestart()
(d) startService()
Answer:

Option (b)

22.
The underlying operating system for android is _____
(a) Linux
(b) Windows
(c) Contiki
(d) Ubuntu
Answer:

Option (a)

23.
On implementing the method of onBind(), the service must provide an interface for the user by returning object is called _____
(a) Ibinder
(b) Intent
(c) R
(d) Layout
Answer:

Option (a)

24.
The android component that manages the appearance and format on screen is called _____
(a) fragment
(b) intent
(c) view
(d) layout
Answer:

Option (d)

25.
In android UI, onClick is actually a _____
(a) class
(b) button
(c) property
(d) function
Answer:

Option (c)

26.
The required android environment for development is called _____
(a) SDK
(b) IDE
(c) APK
(d) JDK
Answer:

Option (a)

27.
In android studio, quick options can be accessed from _____
(a) tool bar
(b) menu bar
(c) navigation bar
(d) editor tab
Answer:

Option (b)

28.
In android studio, the place where CPU usage of the app is shown is called _____
(a) ADB logs
(b) Memory
(c) CPU
(d) Logcat
Answer:

Option (c)

29.
A method that is used to handle what happens after clicking a button is _____
(a) OnCreate
(b) onSelect
(c) onClick
(d) onDo
Answer:

Option (c)

30.
The method that is used to produce log messages in android is _____
(a) Log.d()
(b) Log.D()
(c) Log.R()
(d) Log.r()
Answer:

Option (a)

Showing 21 to 30 out of 114 Questions