- Android - Home
- Android - Overview
- Android - Environment Setup
- Android - Architecture
- Android - Application Components
- Android - Hello World Example
- Android - Resources
- Android - Activities
- Android - Services
- Android - Broadcast Receivers
- Android - Content Providers
- Android - Fragments
- Android - Intents/Filters
- Android - UI Layouts
- Android - UI Controls
- Android - Event Handling
- Android - Styles and Themes
- Android - Custom Components
- Android Advanced Concepts
- Android - Drag and Drop
- Android - Notifications
- Location Based Services
- Android - Sending Email
- Android - Sending SMS
- Android - Phone Calls
- Publishing Android Application
- Android Useful Examples
- Android - Alert Dialoges
- Android - Animations
- Android - Audio Capture
- Android - AudioManager
- Android - Auto Complete
- Android - Best Practices
- Android - Bluetooth
- Android - Camera
- Android - Clipboard
- Android - Custom Fonts
- Android - Data Backup
- Android - Developer Tools
- Android - Emulator
- Android - Facebook Integration
- Android - Gestures
- Android - Google Maps
- Android - Image Effects
- Android - ImageSwitcher
- Android - Internal Storage
- Android - JetPlayer
- Android - JSON Parser
- Android - Linkedin Integration
- Android - Loading Spinner
- Android - Localization
- Android - Login Screen
- Android - MediaPlayer
- Android - Multitouch
- Android - Navigation
- Android - Network Connection
- Android - NFC Guide
- Android - PHP/MySQL
- Android - Progress Circle
- Android - ProgressBar
- Android - Push Notification
- Android - RenderScript
- Android - RSS Reader
- Android - Screen Cast
- Android - SDK Manager
- Android - Sensors
- Android - Session Management
- Android - Shared Preferences
- Android - SIP Protocol
- Android - Spelling Checker
- Android - SQLite Database
- Android - Support Library
- Android - Testing
- Android - Text to Speech
- Android - TextureView
- Android - Twitter Integration
- Android - UI Design
- Android - UI Patterns
- Android - UI Testing
- Android - WebView Layout
- Android - Wi-Fi
- Android - Widgets
- Android - XML Parsers
- Android Useful Resources
- Android - Questions and Answers
- Android - Useful Resources
- Android - Discussion
Android Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to Android. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
Q 1 - What is Android?
Answer : A
Explanation
Android is a stack of software applications for mobile devices, which includes an operating system, middleware applications, and some key applications. It executes within own process and own instance of Dalvik Virtual Machine. DVM executes byte code and later transforms into .dex format files.
Q 2 - What is splash screen in android?
A - Initial activity of an application
B - Initial service of an application
Answer : D
Explanation
Splash is an activity. Generally it appears as initial screen of an application and works based on thread concept.
Q 3 -What are the functionalities of Binder services in android?
A - Binder is responsible to manage the thread while using aidl in android
B - Binder is responsible for marshalling and un-marshalling of the data
Answer : C
Explanation
Binder is responsible to manage the thread while creating aidl and is responsible to do marshalling and un-marshalling of the data. Binders have sub functionalities and interface for clients
Q 4 - What is the life cycle of broadcast receivers in android?
D - sendBroadcast(), sendOrderBroadcast(), and sendStickyBroadcast().
Answer : B
Explanation
Broadcast receiver has only onReceive() method. Broadcast starts from onRecieve() and control comes out from onRecieve().
Q 5 - What is singleton class in android?
Answer : A
Explanation
There is only an object which can be accessed by all other class.
Q 6 - What is breakpoint in android?
Answer : C
Breaks the execution to find the debug value, It is one of the debugging techniques.
Q 7 - What is the package name of HTTP client in android?
Answer : B
org.apache.http.client is the package name of HTTP client.
Q 8 - Fragment in Android can be found through
Answer : D
Using FragmentManager.findFragmentByID(R.id.fragment), we can find the fragment/fragments which are placed on the layout
Q 9 - What is the purpose of super.onCreate() in android?
B - To create a graphical window for subclass
Answer : B
The super.onCreate() will create the graphical window for subclasses and place at onCreate() method.
Q 10 - How do you join two notifications in android?
A - Give same id for both notifications
B - Write notification code two times
Answer : E
Give same id for both notifications.
nm.notify(1,notification);
