0% found this document useful (0 votes)
219 views1 page

Android MCQ (Multiple Choice Questions) - Javatpoint

Uploaded by

alekabogale2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views1 page

Android MCQ (Multiple Choice Questions) - Javatpoint

Uploaded by

alekabogale2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Home Android Java Servlet JSP Struts2 Mail API Hibernate Spring Design Pattern Quiz Projects Interview Q

Android Training
Android Tutorial
Android Introduction
Android MCQ ← Prev Next →

What is Android
1) Android is -
History and Version
Android Architecture
a. an operating system
Core Building Blocks
Android Emulator b. a web browser
Install Android
c. a web server
Setup Eclipse
Hello Android example d. None of the above
Internal Details
Dalvik VM Hide Answer Workspace
AndroidManifest.xml
R.java
Hide Title Bar Answer: (a) an operating system
Screen Orientation
Explanation: Android is a software package and linux based operating
Android Widgets
UI Widgets
system for mobile devices such as tablet computers and smartphones.
Working with Button
Toast
Custom Toast 2) Under which of the following Android is licensed?
ToggleButton
CheckBox a. OSS
Custom CheckBox
RadioButton b. Sourceforge
Dynamic RadioButton c. Apache/MIT
Custom RadioButton
AlertDialog d. None of the above
Spinner
AutoCompleteTextView Hide Answer Workspace

ListView
Custom ListView
RatingBar
Answer: (c) Apache/MIT
WebView
Explanation: The Android platform was released under the Apache 2.0
SeekBar
DatePicker license, and it is responsible for the copyright of the Android Open Source
TimePicker project. The Apache Foundation permits and grants licenses for software uses
Analog and Digital and distribution by the copyright under the Android Open Source Project.
ProgressBar
Vertical ScrollView
Horizontal ScrollView
3) For which of the following Android is mainly developed?
ImageSwitcher
ImageSlider
a. Servers
ViewStub
TabLayout b. Desktops
TabLayout with FrameLayout
SearchView c. Laptops
SearchView on Toolbar d. Mobile devices
EditText with TextWatcher

Activity and Intents Hide Answer Workspace


Activity LifeCycle
Implicit Intent
Explicit Intent Answer: (d) Mobile devices
StartActivityForResult
Explanation: Android is a software package and a Linux-based operating
Share App Data
system specially designed for touch-screen mobile devices like smartphones
Android Fragments
Android Fragments
and tablets.

Android Menu
Option Menu
Context Menu 4) Which of the following is the first mobile phone released that ran the Android OS?
Popup Menu
a. HTC Hero
Android Service
Android Service b. Google gPhone
Android AlarmManager c. T - Mobile G1
Android AlarmManager
d. None of the above
Android Storage
Android Preferences
Hide Answer Workspace
Internal Storage
External Storage

Android SQLite Answer: (c) T - Mobile G1


SQLite Tutorial
SQLite Spinner Explanation: The first Android mobile was publicly released with Android 1.0
of the T-Mobile G1 (aka HTC Dream) in October 2008.
XML and JSON
XML Parsing SAX
XML Parsing DOM
XMLPullParser 5) Which of the following virtual machine is used by the Android operating system?
JSON Parsing

Android Multimedia a. JVM


MediaPlayer: Audio b. Dalvik virtual machine
VideoView: Video
Recording Media c. Simple virtual machine

Android Speech d. None of the above


TextToSpeech1
TextToSpeech2 Hide Answer Workspace

Android Telephony
TelephonyManager
Answer: (b) Dalvik virtual machine
Get Call State
Get Call State 2
Explanation: The Dalvik Virtual Machine (DVM) is an android virtual machine
Simple Caller Talker
optimized for mobile devices. It optimizes the virtual machine for memory,
Phone Call
Send SMS battery life, and performance. Dalvik is a name of a town in Iceland. The
Send Email Dalvik VM was written by Dan Bornstein.
Android Device
Bluetooth Tutorial
List Paired Devices 6) Android is based on which of the following language?
WIFI

Camera Tutorial a. Java


Camera Tutorial b. C++
Sensor Tutorial
c. C
Sensor Tutorial

Android Graphics d. None of the above


Android Graphics
Hide Answer Workspace
Android Animation
Android Animation

Android Web Service Answer: (a) Java


Android Web Service
Explanation: Java language is mainly used to write the android code even
Google Map
though other languages can be used.
Android Google Map
Current Location
Search Location

Adding Ads 7) APK stands for -

Android Google Admob


1) Banner Ads
a. Android Phone Kit
2) Interstitial Ads b. Android Page Kit
Android Examples
c. Android Package Kit
QR/Bar Code Scanner
RSS Feed Reader d. None of the above
Volley Fetch JSON
Android Linkify Hide Answer Workspace
Intro Slider
RecyclerView List
Swipe Del RecyclerView Answer: (c) Android Package Kit
Swipe Refresh Activity
Volley Library Registration
Explanation: An APK is a short form of the Android Package Kit. An APK file
Log-in Log-out is the file format used to install the applications on the android operating
Network Connectivity Services system.
Firebase Authentication -
Google Login
Android Notification
Using Google reCAPTCHA 8) What does API stand for?

Android Social
a. Application Programming Interface
Integrating Google Sign-In
Integrating LinkedIn b. Android Programming Interface
Integrating Twitter
c. Android Page Interface
Android Versions
d. Application Page Interface
Android Versions
Android KitKat
Hide Answer Workspace
Android Lollipop
Android Marshmallow
Android Nougat
Answer: (a) Application Programming Interface
Android Oreo
Android Pie
Explanation: API stands for application program interface. It is a set of
Android 10
routines, protocols, and tools for building software and applications. It may
Android Misc
be any type of system like a web-based system, operating system, or
Android Device Manager
database system.
Android Studio
Android Auto
Android File Transfer
Android Messages 9) Which of the following converts Java byte code into Dalvik byte code?
Android TV
Android Screenshot a. Dalvik converter
Android Pay
b. Dex compiler
Android Watch
Android Phones c. Mobile interpretive compiler (MIC)
Android Tablets
Android Find My Phone
d. None of the above
Android One
Android Wear OS Hide Answer Workspace

Android Data Recovery


Android Antivirus
Answer: (b) Dex compiler
Android x86
Android vs iPhone
Explanation: The Dex compiler converts the class files into a .dex file that
Emulator for PC
runs on the Dalvik VM. Multiple class files are converted into one dex file.
Android File Manager
Android ad blocker
Android Podcast App
Fortnite Epic Game 10) How can we stop the services in android?
FaceTime for Android
ShowBox for Android a. By using the stopSelf() and stopService() method
Android App Store
Virus Removal for Android
b. By using the finish() method
Clear cache Android c. By using system.exit() method
Root Android Device
Android Screen Recorder d. None of the above
Block Number on Android
Canon printer app for Android Hide Answer Workspace

Wireless HP printer app for


Android
How to Update Android Answer: (a) By using the stopSelf() and stopService() method
iMessage for Android
Explanation: A service is started when a component (like activity) calls the
iCloud for Android
Call Recorder for Android startService() method; now, it runs in the background indefinitely. It is
Videoder Android Apk stopped by the stopService() method. The service can stop itself by calling the
YouTube Video Downloader for stopSelf() method.
Android
Airdrop for Android
RoboKiller for Android
Clean my Android Phone 11) What is an activity in android?
How to hide apps, files, and
photos on Android a. android class
Best weather apps with
b. android package
widgets for Android
File Transfer for Mac c. A single screen in an application with supporting java code
Mobdro for Android
d. None of the above
Android Screen Mirroring
Stock market apps
Hide Answer Workspace
turn On or Off safe mode
Best browsers for Android
Best clocks for Android
Answer: (c) A single screen in an application with supporting java code
Best email apps for Android
Music player for Android Explanation: An activity is a single screen in android. It is like a window or
Android smartwatch for
frame of Java. By the help of activity, you can place all your UI components or
women
Best keyboard for Android widgets in a single screen. Activity is like a frame or window in java that
Best messaging app for represents GUI. It represents one screen of android.
Android
Device cleaner and booster for
Android
12) How can we kill an activity in android?
Wi-Fi calling on Android
Google Assistant app for
Android a. Using finish() method
How to delete apps on b. Using finishActivity(int requestCode)
Android
Norton Security and Antivirus c. Both (a) and (b)
for Android
d. Neither (a) nor (b)
Radio apps for Android
Stock Android
Hide Answer Workspace
Skype for Android
How to transfer contacts from
Android to iPhone
Answer: (c) Both (a) and (b)
Alexa app for Android
Best Casino Games for
Explanation: The finish() method is used to close the activity. Whereas the
Android
finishActivity(int requestCode) also closes the activity with requestCode.
Volume booster for Android
How to update apps on
Android
Epson Print Enabler for 13) ADB stands for -
Android
Printer apps for Android a. Android debug bridge
Android Beam
Paranoid Android b. Android delete bridge
Do Not Disturb in Android
c. Android destroy bridge
How to get Android Messages
on PC d. None of the above
Android Dark Mode
QVC app for Android Hide Answer Workspace
Weather Underground app
What is NFC on Android
Screen time Android Answer: (a) Android debug bridge
Search by Image: Google
Reverse Image Search Explanation: ADB stands for Android Debug Bridge. It is a command-line
How to record screen on tool that is used to communicate with the emulator instance.
Android
How to split screen on Android
Reddit app for Android
14) On which of the following, developers can test the application, during developing
TweakBox for Android
Best PS2 Emulators for the android applications?
Android
Pop-up Blocker in Android a. Third-party emulators
Android Easter Egg
b. Emulator included in Android SDK
Drudge report Android apps
3DS Emulator Android c. Physical android phone
Terrarium TV App for Android
d. All of the above
Best Android Cleaner Apps
Spectrum TV App for Android
Hide Answer Workspace
Android 11
Radar Detector Apps
Hotspot apps for Android
Answer: (d) All of the above
How to Transfer Contacts from
iPhone to Android Explanation: We can use the Android emulator, physical android phone, or
Amazon app store for Android
third-party emulator as a target device to execute and test our Android
Hangouts App for Android
application.
Omegle Video Chat on
Android
Outlook App for Android
Mobile
15) Which of the following kernel is used in Android?
Animoji for Android
What is
a. MAC
content://com.android.browser.home/
Firefox for Android b. Windows
Movie Apps for Android
c. Linux
POF Free Dating App for
Android d. Redhat
PS4 Remote Play for Android
Best Android Games Hide Answer Workspace
Best Android TV Boxes
How to Clear Cookies on
Android Answer: (c) Linux
How to Reset Android Phone
Malwarebytes for Android Explanation: Android is a customized Linux 3.6 kernel. It is the heart of
How to Find Wi-Fi Password android architecture that exists at the root of android architecture. Linux
on Android
kernel is responsible for device drivers, power management, memory
How to Install APK on Android
management, device management, and resource access.
How to Unlock Android Phone
How to Block Text Messages
on Android
How to Recover Deleted Text 16) Which of the following is the first callback method that is invoked by the system
Messages and Photos on
during an activity life-cycle?
Android
How to Remove Previously
a. onClick() method
Synced Google Account from
Android b. onCreate() method
How to Transfer Contacts from
Android to Android c. onStart() method
How to Set up Voicemail on
d. onRestart() method
Android
How to Share Wi-Fi Password
Hide Answer Workspace
from iPhone to Android
How to Backup Android Phone
What Version of Android Do I
Answer: (b) onCreate() method
Have
How to Block Website on
Explanation: onCreate() method is called when activity is first created. The
Android Phone and Computer
Turn on Flash in Chrome
onCreate() and onDestroy() methods are called only once throughout the
Free Music Downloader mp3 activity lifecycle.
for Android
Who Owns Android
Best Notes App for Android
17) Which of the following is not an activity lifecycle callback method?
Barcode scanner apps for AD
Android
How to Connect Android
Phone to TV
Best free VPN for Android
Download Google Play Store
a. onClick() method
App for Android
Do AirPods work with Android b. onCreate() method
How to Download Music from
Youtube on Android c. onStart() method
How to Empty Trash on
d. onBackPressed() method
Android
How to Print Text Messages
Hide Answer Workspace
from Android
How to Share Location on
Android
Answer: (d) onBackPressed() method
How to change keyboard on
Android phone
Explanation: None
How to Hack Wi-Fi password
in Android
How to allow or block pop-ups
in Chrome browser 18) We require an AVD to create an emulator. What does AVD stand for?
How to Enable Cookies on
Android a. Android Virtual device
How to see a blocked number
and unblock them on Android b. Android Virtual display
How to Track iPhone from an
c. Active Virtual display
Android Phone
What is my Phone Number on d. Active Virtual device
Android
Best Police Radar Detector Hide Answer Workspace
How to open TIF or TIFF files
on Android
Android Final Year Project Answer: (a) Android Virtual device
Ideas for Computer Science
Android Messages for web Explanation: An Android Virtual Device (AVD) is an emulator configuration
How to Change Font Style in that represents a specific Android device. We can use the Android emulator
Android Phone
as a target device to execute and test our Android application on our PC.
IP Address Format and Table
Best Offline Android Games
Best Camera Apps
Does Apple Watch Work with 19) Does android support other languages than java?
Android
Fastest Android Emulators a. Yes
How to Take a screenshot in
b. No
Android phone
Best Wireless Earbuds for c. May be
Android
How to Lock Apps on Android d. Can't say
How to turn off Google
Assistant on Android Hide Answer Workspace
Parental control Android apps
Video player for Android
How to Screen Mirror or Cast Answer: (a) Yes
Android phone on the TV
Best Learning Apps for Kids Explanation: Yes, an android app can be developed in C/C++ also using
How to Scan QR Code on an android NDK (Native Development Kit). It makes the performance faster. It
Android should be used with Android SDK.
How to Find Hidden Apps on
Android
How to Delete Downloads on
Android 20) What is the use of content provider in Android?
How to Recover Deleted
Videos from Android a. For storing the data in the database
Best Guitar Learning Apps
b. For sharing the data between applications
Extramarks Learning App
Vedantu Learning App c. For sending the data from an application to another application
How to Copy and Paste on
your Android
d. None of the above
How to Leave a Group Text on
Android and iPhone Hide Answer Workspace

How to turn off AMBER Alerts


on your Android device
How to Move Apps to SD Card Answer: (c) For sending the data from an application to another application
on Android
How to delete Preinstalled
Explanation: A content provider is used to share information between
Apps on Android Android applications.
How do I Delete Google
History on my Android Phone
How to close apps on Android
21) AAPT stands for -
How to Forward Calls on
Android
a. Android Activity Packaging Tool
How to Video Call on Android
How to Delete Gmail Account b. Android Asset Packaging Tool
on Android Phone
How to Get iPhone Emojis on c. Android Action Packaging Tool
Android
d. None of the above
How to Check Airpod Battery
on Android
Hide Answer Workspace
How to download apps on
Android
How do I Disable Screen Lock
Answer: (b) Android Asset Packaging Tool
on Android
How to transfer messages
Explanation: AAPT is an acronym for "Android Asset Packaging Tool". It
from Android to iPhone
How to Unzip or Extract Files handles the packaging process.
on Android Device
How to Block Unknown
Numbers on Android
22) NDK stands for -
How to Connect Xbox One AD
Controller to Android
How to Make a Conference
Call on Android
How to Delete all Emails at
once on Android
a. Native Development Kit
How to Make Your Number
Private on Android b. New Development kit
How to make a song as a
ringtone on Android c. Native Design Kit
How to Cancel App
d. None of the above
Subscription on Android
How Do You Know If Someone
Hide Answer Workspace
Blocked Your Number on
Android
How to Play Android Games
Answer: (a) Native Development Kit
on PC
How to Save Text Messages
Explanation: NDK stands for Native Development Kit. By using NDK, you can
on Android
Where is Clipboard on Android develop a part of an app using a native language such as C/C++ to boost
Phone performance.
How Can You Get Apple Music
on Android
How to Automatically Record
Phone Calls on Android 23) Which of the following is contained in the src folder?
How to Find Downloads on
Android a. XML
How to Sign Out of Google on
b. Java source code
Android
Why Won't My Text Messages c. Manifest
Send On My Android
d. None of the above
How do I Activate Voice to
Text on Android
Hide Answer Workspace
How to Connect Beats
Wireless to Android, iPhone,
Windows, Mac
How to Access iCloud Photos
Answer: (b) Java source code
on Android
Explanation: None
How to Download Facebook
Videos on Android
How to Access iCloud Photos
on Android
24) Which of the following method is used to handle what happens after clicking a
How to Download Facebook
button?
Videos on Android
How to Delete Instagram
a. onClick
Account on Android
How to Set Alarm on Android b. onCreate
How to free up space on an
Android phone c. onSelect
Why Does My Android Phone
d. None of the above
Say No Service
How to listen to Podcasts on
Hide Answer Workspace
Android
How to Setup a VPN on
Android and iPhone
Answer: (a) onClick
How to Transfer apps from
Android to Android
Explanation: None
How to Use FaceTime on
Android or Windows
How to Get Dark Mode on
Instagram on Android and 25) Which of the following android component displays the part of an activity on
iPhone
screen?
How to Activate Do Not
Disturb While Driving on
a. View
Android
How to transfer apps from b. Manifest
Android to iPhone
How to transfer files from
c. Intent
Android to PC
d. Fragment
How to Change Language on
Android
Hide Answer Workspace
How to Change IP Address on
Android
How to Play iMessage Games
Answer: (d) Fragment
on an Android phone
How to Rotate Videos on
Explanation: Android Fragment is the part of activity; it is also known as sub-
Android
activity. There can be more than one fragment in an activity. Fragments
How to find the IMEI number
on Android represent multiple screens inside one activity.
How to transfer photos from
Android to Mac
How to Crop a Video on
26) Which of the following is the parent class of Activity?
Android
How to Update Android Tablet
a. context
How to Cancel Spotify
Premium on Android b. object
How to Cancel Tinder Gold on
Android c. contextThemeWrapper
Best Compass App for Android
d. None of the above
How to Restore Android Phone
from Google Backup
Hide Answer Workspace
How to transfer WhatsApp
from Android to iPhone
How to Set a Reminder on
Answer: (c) contextThemeWrapper
Android
How to Transfer Photos from
Explanation: The android Activity is the subclass of ContextThemeWrapper
Android to Android
class. Android Activity Lifecycle is controlled by 7 methods of
Is Samsung an Android
How to Enable or Disable android.app.Activity class. An activity is a single screen in android. It is like a
Developer Options on Android window or frame of Java.
Proxy Browser Apps for
Android
Chrome Dark Mode on
Android 27) Which of the following is the parent class of service?
How to fix "android process
acore" has stopped errors on a. context
Android
b. object
Can we run Siri for Android
Free PDF Editor apps for c. contextThemeWrapper
Android
d. contextWrapper
How to Connect Android Auto
and Apple CarPlay in Toyota
How to view saved passwords Hide Answer Workspace

in Chrome on Android
How to Download YouTube
videos on Android Answer: (d) contextWrapper
How to Set up Android Auto
Explanation: The android.app.Service is subclass of ContextWrapper class.
How to text from Computer to
Android Messages Android service is a component used to perform operations on the
Chromecast apps for Android background, such as playing music, handling network transactions,
How to backup Contacts on interacting content providers, etc.
Android
Best DS Emulator for Android
Fitbit app for Android
What is Android Accessibility 28) OHA in android stands for -
Suite
How to Tether Android Phone a. Open Health Academy
How to close apps on Android
b. Open Handset Alliance
Android API Levels
How to enable Facebook Dark c. Open Handset Application
Mode on Android
d. Open Handset Association
Best Screen Sharing Apps for
Android and iPhone
Google Weather App for Hide Answer Workspace
Android
Endoscope App for Android
Audible app for Android Answer: (b) Open Handset Alliance
How to Format an SD Card on
Android
Explanation: OHA stands for "Open Handset Alliance". It's a consortium of
How to Rotate Screen on 84 companies such as google, samsung, AKM, synaptics, KDDI, Garmin,
Android Teleca, eBay, Intel, etc.
Best Radio Apps for Android
Best Spam Call Blocker for
Android
Kohl's App for Android 29) In which of the following tab an error is shown?
Waze App for Android
Cars with Android Auto a. CPU
GamePigeon for Android b. Memory
FrostWire Plus for Android
Best Kodak Printer Apps for c. ADB Logs
Android
d. Logcat
NOOK for Android
How to Block YouTube Ads on
Hide Answer Workspace
Android
Kindle for Android
Google or Gmail Account
Answer: (d) Logcat
Recovery for Android phone
How to Run Android Apps on
Explanation: Logcat is a command-line tool that dumps a log of system
Chromebook
messages. It includes the messages that you have written from your app with
Best Equalizer Apps for
Android the Log class and also includes the stack traces when the devices throw an
Best Swipe Keyboards for error. Logcat helps to analyze the problems and also helps to display the log
Android
messages of our android device.
GarageBand and its
alternative apps for Android
Tor Browser for Android
How to Cast to Roku from 30) In which year OHA (Open Handset Alliance) is announced?
Android
Best Write on Pictures App for a. 2005
Android
b. 2007
How to get Windows 10 for
Android c. 2006
Best Keylogger for Android
PS1 Emulators for Android d. None of the above
AdBlock Plus for Android
Online Android Emulator Hide Answer Workspace

Best Drawing Apps for Android


Emus4u for Android and
iPhone Answer: (b) 2007
Best Hearing Aid Apps for
Android and iPhone Explanation: OHA (Open Handset Alliance) was established on 5th
Android Call Screening November 2007, led by Google. It is committed to advance open standards,
How to Enable Guest Mode on provide services and deploy handsets using the Android Platform.
Android
Best Credit Card Reader for
Android
Fax Apps for Android 31) Which of the following is the name of the Android version 1.5?
How to Add ImageView in
Android Studio a. Eclair
How to Record a Phone Call
b. Froyo
on Android Phone
Voicemail Apps for Android c. Cupcake
What is Wi-Fi Direct and How
to Use it on Android
d. Donut
Best Android Games with
Controller Support Hide Answer Workspace

How to Turn Off or On


Autocorrect on Android
How to View Google Location Answer: (c) Cupcake
History on Android
Ringtone Apps for Android and
Explanation: On April 27, 2009, the Android updated to 1.5 with the
iPhone codename of the dessert item (Cupcake). It has a Linux kernel 2.6.27.
Android 12 Version: Features
How to Enable or Setup Kids
Mode on an Android Phone
32) Which of the following is the name of the Android version 1.6?
How to Like a Text Message
on Android
How to Post a 3D Photo on
a. Eclair
Facebook on Android b. Froyo
How to Send a Group Text on
Android Phone c. Cupcake
What is Android System
d. Donut
WebView
Best GIF Keyboards for
Hide Answer Workspace
Android
How to Transfer Music from
iTunes to Android
Answer: (d) Donut
How to Access iCloud Mail (e-
Mail) on Android
Explanation: On September 15, 2009, Android 1.6 was released with the
What is Android Battery
Saver? How to Enable it name Donut. It contains numerous new features such as voice and text entry
Android is not Receiving Texts search, bookmark history, contacts, web, "speak" a string of text, faster
from iPhone camera access, user can select multiple photos for deletion, support text-to-
How to Create Folder in
speech engine, WVGA screen resolutions.
Android
How to Forward a Text
Message on Android
iPhone not Receiving Texts 33) Which of the following is the topmost layer of android architecture?
from Android
What is Android Go a. System Libraries and Android Runtime
Magnifying Glass Apps for
Android and iPhone b. Linux Kernel
Nest App for Android
c. Applications
Best GBA Emulator for
Android d. Applications Framework
Best Health and Fitness Apps
for Android and iPhone Hide Answer Workspace
Best Android Tablets for Kids
Best VR apps for
Android/iPhone Answer: (c) Applications
How to use Incognito Mode on
Android Explanation: On the top of the application framework, there are applications.
Android MCQ All applications such as home, contact, settings, games, browsers are using an
Android MCQ android framework that uses android runtime and libraries.
Android Interview
Interview Questions

Android Quiz 34) Which of the layer is below the topmost layer of android architecture?
Android Quiz
a. System Libraries and Android Runtime

b. Linux Kernel

c. Applications

d. Applications Framework

Hide Answer Workspace

Answer: (d) Applications Framework

Explanation: On the top of Native libraries and android runtime, there is an


application framework. Android framework includes Android API's such as UI
(User Interface), telephony, resources, locations, Content Providers (data), and
package managers. It provides a lot of classes and interfaces for android
application development.

35) Which of the layer is the lowest layer of android architecture?

a. System Libraries and Android Runtime

b. Linux Kernel

c. Applications

d. Applications Framework

Hide Answer Workspace

Answer: (b) Linux Kernel

Explanation: It is the heart of android architecture that exists at the root of


android architecture. Linux kernel is responsible for device drivers, power
management, memory management, device management, and resource
access.

36) What is contained in manifest.xml?

a. Source code

b. List of strings used in the app

c. Permission that the application requires

d. None of the above

Hide Answer Workspace

Answer: (c) Permission that the application requires

Explanation: The AndroidManifest.xml file contains information of your


package, including components of the application such as activities, services,
broadcast receivers, content providers, etc. It is responsible for protecting the
application to access any protected parts by providing the permissions.

37) Which of the following is not a state in the service lifecycle?

a. Destroyed

b. Start

c. Paused

d. Running

Hide Answer Workspace

Answer: (c) Paused

Explanation: A service is a component that runs in the background. It is used


to play music, handle network transaction, etc.

38) As an android programmer, which version of Android should we use as a minimum


development target?

a. Version 1.2 or version 1.3

b. Version 1.0 or version 1.1

c. Version 1.6 or version 2.0

d. Version 2.3 or version 3.0

Hide Answer Workspace

Answer: (c) Version 1.6 or version 2.0

Explanation: None

39) Which of the following is not a nickname of any android version?

a. Donut

b. Muffin

c. Honeycomb

d. Cupcake

Hide Answer Workspace

Answer: (b) Muffin

Explanation: Muffin is not a nickname of any android version.

40) Which of the following is a dialog class in android?

a. AlertDialog

b. DatePicker Dialog

c. ProgressDialog

d. All of the above

Hide Answer Workspace

Answer: (d) All of the above

Explanation: The Dialog classes that are supported in android are -

Alert Dialog

Progress Dialog

Date Picker Dialog

Time picker Dialog

41) In which state the activity is, if it is not in focus, but still visible on the screen?

a. Stopped state

b. Destroyed state

c. Paused state

d. Running state

Hide Answer Workspace

Answer: (c) Paused state

Explanation: When an activity is not in focus that is not interacting with the
user but still visible on the screen, then the activity is in paused state.

42) Which of the following is the built-in database of Android?

a. SQLite

b. MySQL

c. Oracle

d. None of the above

Hide Answer Workspace

Answer: (a) SQLite

Explanation: SQLite is an open-source relational database, i.e., used to


perform database operations on android devices such as storing,
manipulating, or retrieving persistent data from the database. It is embedded
in android by default. So, there is no need to perform any database setup or
administration task.

43) Which of the following android version is named Jelly Bean?

a. 3.1

b. 2.1

c. 1.1

d. 4.1

Hide Answer Workspace

Answer: (d) 4.1

Explanation: On June 27, 2012, Google announced Android 4.1(Jelly Bean) in


the Google I/O conference. It is based on Linux kernel 3.0.31.

44) Which of the following features are updated in Android 4.1(Jelly Bean)?

a. User Interface

b. Lock screen improvement

c. New clock application

d. All of the above

Hide Answer Workspace

Answer: (d) All of the above

Explanation: Android 4.1(Jelly Bean) updates to following features: smoother


user interface, enhance accessibility, expandable notification, fixed bug on
Nexus 7, one-finger gestures to expand/collapse notifications, lock screen
improvement, multiple user accounts (tablets only), new clock application,
Bluetooth low energy support, volume for incoming call, 4K resolution
support, native emoji support, bug fixes for the Nexus 7 LTE.

45) Which of the following is the API level of Android version 5.0?

a. 21

b. 20

c. 11

d. 41

Hide Answer Workspace

Answer: (a) 21

Explanation: Android "Lollipop" (Android 5) was the 5th major version of


Google's Android operating system. It is the twelfth version of Android. Its
API level is 21.

46) Is it true that "There can be only one running activity at a given time"?

a. True

b. False

c. May be

d. Can't say

Hide Answer Workspace

Answer: (a) True

Explanation: None

47) Which of the following android library provides access to the database?

a. android.content

b. android.database

c. android.api

d. None of the above

Hide Answer Workspace

Answer: (b) android.database

Explanation: None

48) In Android studio, which of the following callback is called when an activity starts
interacting with the user?

a. onDestroy

b. onCreate

c. onResume

d. onStop

Hide Answer Workspace

Answer: (c) onResume

Explanation: onResume is called when an activity will start interacting with


the user.

49) The sendStickybroadcast(intent) method in android is used to show that the intent
is -

a. Optional

b. Prioritize

c. Sticky

d. None of the above

Hide Answer Workspace

Answer: (c) Sticky

Explanation: If we use the sendStickyBroadcast(Intent) method, the Intent is


sticky. It means that the Intent that we are sending will stay around after the
completion of the broadcast.

50) Which of the following class in android displays information for a short period of
time and disappears after some time?

a. toast class

b. log class

c. maketest class

d. None of the above

Hide Answer Workspace

Answer: (a) toast class

Explanation: An android toast provides feedback to the users about the


operation being performed by them. It displays the message regarding the
status of operation initiated by the user.

51) Which of the following method in android is used to log debug messages?

a. Log.r()

b. Log.R()

c. Log.d()

d. Log.D()

Hide Answer Workspace

Answer: (c) Log.d()

Explanation: The Lod.d() method in android is used to log debug messages.

52) Which of the following method is used by services to clean up any services?

a. onStop() method

b. stopService() method

c. onDestroy() method

d. stopSelf() method

Hide Answer Workspace

Answer: (c) onDestroy() method

Explanation: The onDestroy() method can be used by services to clean up


any resources like receivers, threads, registered listeners, etc.

53) ANR in android stands for -

a. Application Not Reacting

b. Application Not Responding

c. Application Not Rendering

d. None of the above

Hide Answer Workspace

Answer: (b) Application Not Responding

Explanation: ANR stands for Application Not Responding. It is a dialog box


that appears if the application is no longer responding.

54) All layout classes are the subclasses of -

a. android.view.View

b. android.view.ViewGroup

c. android.widget

d. None of the above

Hide Answer Workspace

Answer: (b) android.view.ViewGroup

Explanation: In Android, all layout classes are the subclasses of


android.view.ViewGroup.

55) Which of the following class in android executes the task asynchronously with your
service?

a. SyncTask

b. AsyncTask

c. Both of the above

d. None of the above

Hide Answer Workspace

Answer: (b) AsyncTask

Explanation: As the name implies, AsyncTask class executes a task


asynchronously. AsyncTask is an abstract class provided by Android, which
helps us to use the UI thread properly. This class allows us to perform
long/background operations and show its result on the UI thread without
having to manipulate threads.

56) Which of the following layout in android arranges its children into rows and
columns?

a. RelativeLayout

b. TableLayout

c. FrameLayout

d. None of the above

Hide Answer Workspace

Answer: (b) TableLayout

Explanation: TableLayout in android allows us to arrange the components


into rows and columns. The containers in TableLayout do not display any
borderline for their cells, columns, or rows.

57) Which of the following layout in android aligns all children either vertically or
horizontally?

a. RelativeLayout

b. TableLayout

c. FrameLayout

d. LinearLayout

Hide Answer Workspace

Answer: (d) LinearLayout

Explanation: LinearLayout in android aligns all children either vertically or


horizontally. The direction of the LinearLayout can be specified using the
android orientation attribute.

58) What is the default value of the orientation attribute in LinearLayout?

a. Horizontal

b. Vertical

c. There is no default value of orientation attribute in LinearLayout

d. None of the above

Hide Answer Workspace

Answer: (a) Horizontal

Explanation: LinearLayout in android aligns all children either vertically or


horizontally. The direction of the LinearLayout can be specified using the
android orientation attribute. Its default value of the orientation attribute of
LinearLayout is horizontal.

59) What is the nine-patch images tool in android?

a. It is an image extension tool.

b. It is used to change the bitmap images into nine sections

c. Both (a) and (b)

d. None of the above

Hide Answer Workspace

Answer: (b) It is used to change the bitmap images into nine sections

Explanation: The nine-patch images tool in android is used to change the


bitmap images into nine sections with four corners, four edges, and an axis.

60) GCM in android stands for -

a. Google Cloud Messaging

b. Google Count Messaging

c. Google Center Messaging

d. None of the above

Hide Answer Workspace

Answer: (a) Google Cloud Messaging

Explanation: GCM stands for Google Cloud Messaging. It is provided by


Google for sending push notifications to and from an Android application.

Next Topic Android Interview Questions

← Prev Next →

AD

For Videos Join Our Youtube Channel: Join Now

Feedback

Send your Feedback to [email protected]

Help Others, Please Share

Learn Latest Tutorials

Splunk SPSS Swagger

Transact-SQL Tumblr ReactJS

Regex Reinforcement R Programming


Learning

RxJS React Native Python Design


Patterns

Python Pillow Python Turtle Keras

Preparation

Aptitude Logical Verbal Ability


Reasoning
Aptitude Verbal Ability
Reasoning

Interview Company
Questions Interview
Questions
Interview Questions
Company Questions

Trending Technologies

Artificial AWS Tutorial Selenium


Intelligence tutorial
AWS
Artificial Selenium
Intelligence

Cloud Hadoop tutorial ReactJS


Computing Tutorial
Hadoop
Cloud Computing ReactJS

Data Science Angular 7 Blockchain


Tutorial Tutorial Tutorial
Data Science Angular 7 Blockchain

Git Tutorial Machine DevOps


Learning Tutorial Tutorial
Git
Machine Learning DevOps

B.Tech / MCA

DBMS tutorial Data Structures DAA tutorial


tutorial
DBMS DAA
Data Structures

Operating Computer Compiler


System Network tutorial Design tutorial
Operating System Computer Network Compiler Design

Computer Discrete Ethical Hacking


Organization and Mathematics
Ethical Hacking
Architecture Tutorial
Computer Discrete
Organization Mathematics

Computer Software html tutorial


Graphics Tutorial Engineering
Web Technology
Computer Graphics Software
Engineering

Cyber Security Automata C Language


tutorial Tutorial tutorial
Cyber Security Automata C Programming

C++ tutorial Java tutorial .Net


Framework
C++ Java
tutorial
.Net

Python tutorial List of Control


Programs Systems tutorial
Python
Programs Control System

Data Mining Data


Tutorial Warehouse
Tutorial
Data Mining
Data Warehouse

AD

Javatpoint Services
JavaTpoint offers too many high quality services. Mail us on [email protected], to get more information about given services.

Website Designing
Website Development
Java Development
PHP Development
WordPress
Graphic Designing
Logo
Digital Marketing
On Page and Off Page SEO
PPC
Content Development
Corporate Training
Classroom and Online Training
Data Entry

Training For College Campus


JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your
requirement at [email protected].
Duration: 1 week to 2 week

Like/Subscribe us for latest updates or newsletter

LEARN TUTORIALS INTERVIEW QUESTIONS OUR SERVICES CONTACT

Learn Java Java Interview Questions Website Development Address: G-13, 2nd Floor, Sec-3
Learn Data Structures SQL Interview Questions Android Development Noida, UP, 201301, India
Learn C Programming Python Interview Questions
Website Designing Contact No: 0120-4256464,
Learn C++ Tutorial JavaScript Interview Questions
9990449935
Learn C# Tutorial Angular Interview Questions Digital Marketing
Learn PHP Tutorial Selenium Interview Questions Contact Us
Summer Training
Learn HTML Tutorial Spring Boot Interview Questions Subscribe Us
Learn JavaScript Tutorial HR Interview Questions Industrial Training Privacy Policy
Learn jQuery Tutorial C++ Interview Questions College Campus Training Sitemap
Learn Spring Tutorial Data Structure Interview Questions
About Me

© Copyright 2011-2021 www.javatpoint.com. All rights reserved. Developed by JavaTpoint.

You might also like