- 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 - How to kill an activity in Android?
Answer : C
Explanation
finish() − It is used to close the activity.
finish(int requestCode) − It is used to close the activity with requestCode.
Q 2 - What is android view group?
A - Collection of views and other child views
Answer : A
Explanation
View Group is collaborating with views and other child views,It is an invisible container and base classes for layouts.
Q 3 - What are the functionalities in asyncTask in android?
Answer : E
Explanation
AsyncTask needs doInBackground() and remaining methods are optional. As a developer we should need to implement all methods which are given above.
Q 4 - What is the use of content provider in android?
A - To send the data from an application to another application
B - To store the data in a database
Answer : C
Explanation
Content provider is used to share the data between applications
Q 5 -What is the 9 patch tool in android?
Answer : A
Explanation
We can change bitmap images to 9 sections as four corners, four edges and one axis.
Q 6 - What is ADB in android?
Answer : C
Android debug bridge is a client and a server modelled tool and acts as a bridge between client and server.
Q 7 - What is an HTTP client class in android?
A - httprequest(get/post) and returns response from the server
Answer : A
Http request has get and post methods and it returns the response from the servers.
Q 8 - How to find the JSON element length in android JSON?
Answer : D
Using length(), we can find the number of elements are in JSON.
Q 9 - Is it mandatory to call onCreate() and onStart() in android?
A - No, we can write the program without writing onCreate() and onStart()
B - Yes, we should call onCreate() and onStart() to write the program
Answer : A
It is not mandatory, the program will work perfectly without fail, but the programmer has to implement the life cycle of activity.
Q 10 - What is the main difference between set and list in android?
B - Set can't contain duplicate values
Answer : D
Set can't contain duplicate values. Examples of set are hashset,treeset and linked hash set
The list contains duplicate values. Example of list is linked list and array list
