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 Pending Intent in android?
Pending Intent is fired or triggered at a future point of time.
Q 2 - What are the layouts available in android?
Android is having Linear Layout(Horizontal and Vertical), Frame Layout, Table Layout, and Relative Layout.
Q 3 - What are the functionalities in asyncTask in android?
AsyncTask needs doInBackground() and remaining methods are optional. As a developer we should need to implement all methods which are given above.
Q 4 - How many broadcast receivers are available in android?
sendBroadcast() &miuns; It's normal broadcast.
sendOrderBroadcast() &miuns; It has an order priority
sendStickyBroadcast() &miuns; Intent passed with broadcast for future users.
Q 5 -What is the 9 patch tool in android?
We can change bitmap images to 9 sections as four corners, four edges and one axis.
Q 6 - What is ADB in android?
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?
Http request has get and post methods and it returns the response from the servers.
Q 8 - What is the HTTP response error code status in android?
HTTP status code >= 400 means error else success. Status code 404 means page not found
Q 9 - How many protection levels are available in the android permission tag?
Android is having four levels of protection in android permission tag. They are normal, dangerous, signature, and signatureOrsystem
Q 10 - What is the life cycle of foreground activity in android?
Foreground activity should be onCreate() −> onStart() −> onResume() in activity life cycle.