Android MCQ

Android MCQ

  • Admin
  • 22nd Mar, 2021

Android MCQ Questions and Answers

Following are mostly asked Android MCQ test that are designed for professionals like you to crack you interviews. You can take this Android online test before appearing to you real interview. This Android quiz there are around 30+ multiple choice questions on Android with four options.

1) Which of the following is the subclass in Android?

  • A. Tab & Action Bar Activity
  • B. Preference Activity
  • C. Launcher Activity
  • D. All are Correct

2) How to stop the services in android?

  • A. finish()
  • B. system.exit().
  • C. By manually
  • D. StopSelf() and stopService()

3) How many broadcast receivers are available in android?

  • A. 2
  • B. 3
  • C. 4
  • D. 5

4) Which permissions are required to get a location in android?

  • A. GPRS permission
  • B. WIFI permission
  • C. Internet permission

5) We can refresh the dynamic content in android in ............

  • A. Java
  • B. Ajax
  • C. Android
  • D. None of the Above
Download Free : Android MCQ PDF

6) What is a GCM in android?

  • A. Goggle Message pack
  • B. Goggle Count Messaging
  • C. Goggle Could Messaging for chrome
  • D. None of the Above

7) Is it mandatory to call onCreate() and onStart() in android?

  • A. Yes
  • B. No

8) What is an interface in android?

  • A. Class
  • B. Layout file
  • C. Bridge between class & the outside world
  • D. All are Correct

9) What is the name of the program that converts Java byte code into Dalvik byte code?

  • A. Dex compiler
  • B. Dalvik Converter
  • C. Android Interpretive Compiler (AIC)
  • D. Mobile Interpretive Compiler (MIC)

10) Android is based on Linux for the following reason.

  • A. Security
  • B. Portability
  • C. Networking
  • D. All are Correct

11) Which among the following are part of "Application" layer of Android Architecture

  • A. Contacts
  • B. Browser
  • C. Phone
  • D. All are Correct

12) What was the first phone released that ran the Android OS?

  • A. Google gPhone
  • B. Motorola Droid
  • C. T-Mobile G1
  • D. HTC Hero

13) A ___________ makes a specific set of the application data available to other applications

  • A. Intent
  • B. Content provider
  • C. Broadcast receivers
  • D. None of the Above

14) Which among these are NOT a part of Android’s native libraries?

  • A. Webkit
  • B. OpenGL
  • C. SQLite
  • D. Dalvik

15) What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?

  • A. retrieveResourceById(int id)
  • B. findViewById(String id)
  • C. findViewById(int id)
  • D. findViewByReference(int id);

16) The Open Handset Alliance was announced in?

  • A. 2005
  • B. 2006
  • C. 2007
  • D. 2008

17) What does the src folder contain?

  • A. XML resource files
  • B. Java source code files
  • C. Image and icon files
  • D. All are Correct

18) What are the indirect Direct subclasses of Services?

  • A. RecognitionService
  • B. SpellCheckerService
  • C. InputMethodService
  • D. RemoteViewsService

19) he android library that provides access to UI pre-built elements such as buttons, lists, views etc. is

  • A. android.webkit
  • B. android.os
  • C. android.view
  • D. android.text

20) Which one is not a nickname of a version of Andriod?

  • A. cupcake
  • B. Gingerbread
  • C. Muffin
  • D. Honeycomb

21) When developing for the Android OS, Java bytecode is compiled into what?

  • A. Java source code
  • B. C source code
  • C. Dalvik byte code
  • D. Dalvik application code

22) What is the parent class of Activity?

  • A. activityGroup
  • B. object
  • C. context
  • D. contextThemeWrapper

23) Which are the screen densities in Android?

  • A. low density
  • B. medium density
  • C. extra high density
  • D. All are Correct

24) The XML file that contains all the text that your application uses.

  • A. text.xml
  • B. stack.xml
  • C. strings.xml
  • D. string.java

25) . If the UI begins to behave sluggishly or crash while making network calls, this is likely due to…

  • A. Network latency
  • B. Virus on the Server
  • C. Hardware malfunctions
  • D. Activity manager contains too much.

26) What was the main reason for replacing the Java VM with the Dalvik VM when the project began?

  • A. There was not enough memory capability
  • B. Java virtual machine was not free
  • C. Java VM ran too slow
  • D. Java VM was too complicated to configure

27) The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?

  • A. Sensors
  • B. Applications
  • C. Telephony
  • D. None of the Above

28) While developing Android applications, developers can test their apps on…

  • A. Physical Android phone
  • B. Third-party Emulators
  • C. Emulator included in Android SDK
  • D. All are Correct

29) One of the operation system that cannot be used for android application development is

  • A. Mac
  • B. Linux
  • C. Windows
  • D. Contiki

30) The virtual console type tab that is used as command line interface is called

  • A. CPU
  • B. Memory
  • C. Logcat
  • D. ADB logs

31) The broadcastReceiver's subclass overrides the method

  • A. OnStart()
  • B. OnCreat()
  • C. OnReceive()
  • D. OnRestart()

32) The tab in which error is shown is called

  • A. Memory
  • B. Logcat
  • C. CPU
  • D. ADB Logs

33) The underlying operating system for android is

  • A. Linux
  • B. Ubuntu
  • C. Windows
  • D. Contiki

34) The requirement android environment for development is called

  • A. IDE
  • B. SDK
  • C. APK
  • D. JDK

35) Quick buttons can be accessed from ........... in android studio.

  • A. Tool bar
  • B. Menu bar
  • C. Editor tab
  • D. Navigation bar

36) What is a method, that is used to handle what happens after clicking a button?

  • A. OnCreate
  • B. onClick
  • C. onSelect
  • D. onDo

Android Online Test Questions (Android FAQs)

1) What is jni in android?

It is the Java Native interface that designs certain bytecode process the Android complies from the code which us managed for interacting with the native code.

2) What is use of manifest.xml in android?

Every Andriod app project should have file of an AndroidManifest.xml at the project source set root. The file states more of the important information about the app to the tools that build Android.

3) WHat is ANR in Android?

ANR stands for Application Not Responding. An ANR will occur if you are running a process on the UI thread which takes a long time, usually around 5 seconds. During this time the GUI (Graphical User Interface) will lock up which will result in anything the user presses will not be actioned.

4) What is an activity in android?

Activity in Andriod denotes a single screen with the help of a user interface just like Java Frame and even window. The activity of the Andoird is ContextThemeWrapper subclass.

5) How many levels of securities are in android?

There are mainly three levels of securities are in android.

6) What is the use of content provider in android?

Content provider in android can help the application manage access the information which is stored by own or by other apps and offer a better way to share the data with other apps.

7) What is fragment life cycle in android?

You can use it in many activities. It is associated to the life cycle of the activity of the host that means when the activity gets on hold then all the agreements that are available will get halt.

8) What is ddms in android?

DDMS (Dalvik Debug Monitor Server) is the tool for Android ships with a debugging which gives the services such as screen capture on the device, port-forwarding, and LogCat process to name some.

9) What is the purpose of super.oncreate() in android?

It will design the subclasses and even the places graphical window at onCreate() method. It helps in sub-class method definition for calling a way to define in the super class.

10) How many broadcast receivers are available in android?

There are 2 broadcast receivers are available in android which are Static receivers and Dynamic receivers.

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

Html5 MCQ
Unix MCQ