MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Android
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
Which of the following is NOT a valid usage for Intents?
Activate a SQLite DB Connection.
Activate a Broadcast receiver.
Activate a Service.
Activate and Activity.
Q.2
In Which Directory XML Layout Files Are Stored
/assets
/src
/res/values
/res/layout
Q.3
The android library that provides access to UI pre-built elements such as buttons, lists, views etc. is
android.os
android.view
android.webkit
android.text
Q.4
What does the .apk extension stands for
Application package
Application Program kit
Android Proprietary kit
Android Package
Q.5
What is the latest Android?
Masmallow
Pie
Q
Noughat
Q.6
Android is based on Linux for the following reason.
Security
Portability
Networking
All of these
Q.7
What is the name of the program that converts Java byte code into Dalvik byte code?
Android Interpretive Compiler (AIC)
Dalvik Converter
Dex compiler
Mobile Interpretive Compiler (MIC)
Q.8
Which of the following AsyncTask methods is NOT executed on the UI thread?
onPreExecute()
onPostExecute()
publishProgress()
onProgressUpdate()
Q.9
Which of the following is a Java call-back method invoked when a view is clicked?
Detector
OnTapListener
OnClickDetector
OnClickListener
Q.10
If your application is throwing exception android.content.ActivityNotFoundException, which of the following could resolve the problem?
Add the activity to AndroidManifest.xml
Create the activity layout
Create a new sub-class of the View class
Create a new broadcast receiver
Q.11
What is AAPT?
Android Asset Processing Tool.
Android Asset Providing Tool.
Android Asset Packaging Tool
Android Asset Packaging Technique.
Q.12
What does this code do?
Starts an activity using an implicit intent.
Sends results to another activity
Starts a sub-activity.
Starts a service
Q.13
What is the parent class of all Activity widgets?
Layout
ViewGroup
View
Widget
Q.14
What is the name of the class used by Intent to store additional information?
Parcelable
DataStore
Extra
Bundle
Q.15
While Java or Kotlin source files stored in ....
/res/drawable
/src
/res/values
/res/layout
Q.16
What does the src folder contain?
Image and icon files
XML resource files
The application manifest file
Java source code files
Q.17
What year was the Open Handset Alliance announced?
2005
2006
2007
2008
Q.18
What is the difference between margin and padding in android layout?
Margin is specifying the extra space left on all four sides in layout
Padding is used to offset the content of a view by specific px or dp
Both A and B are correct
None of the above
Q.19
During an activity life cycle, what is the first callback method invoked by the system?
onStart()
onCreate()
onPause()
onStop()
Q.20
What language used in Android Studio?
Java
C#
HTML
Android Studio
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page