ANDROID QUIZ DESCRIPTION

What is a GCM in android? 

  • Google Cloud Messaging for chrome 
     

  • Goggle Count Messaging 
     

  •  Google Message pack 
     

  •  None of the above 

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

  • System Libraries and Android Runtime 

  • Linux Kernel 

  • Applications 

  • Applications Framework 

Which of the following method is used to handle what happens after 
clicking a button? 

  • onClick 

  • onCreate 

  •  onSelect 

  • None of the above 

What is the use of content provider in Android? 

  • For storing the data in the database 

  • For sharing the data between applications 

  • For sending the data from an application to another application 

  • None of the above 

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

  • RelativeLayout 
     

  •  TableLayout 
     

  • FrameLayout 
     

  • None of the above 

What is contained in manifest.xml? 

  • Source code 

  • List of strings used in the app 

  • Permission that the application requires 

  • None of the above 

Which of the following is a dialog class in android? 

  • AlertDialog 

  • DatePicker Dialog 

  • ProgressDialog 

  • All of the above 

Which of these files specifies our screen’s layout? 

  • Manifest file 
     

  •  Layout file 
     

  • R file 
     

  • Strings XML 

What is the difference between margin and padding in the Android layout? 

  • Margin is specifying the extra space left on all four sides in the 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 

What is ANR responding time in android? 

  • 10 sec 
     

  •  5 sec 
     

  •  1 min 
     

  • None of the above 

GCM in android stands for - 

  • Google Cloud Messaging 
     

  • Google Count Messaging 
     

  •  Google Center Messaging 
     

  • None of the above 

Can a class be immutable in android? 

  • No, it can't 
     

  • Yes, Class can be immutable 
     

  • Can't make the class as final class 
     

  •  None of the above 

Which of the following is not an activity lifecycle callback method? 

  • onClick() method 

  • onCreate() method 

  • onStart() method 

  • onBackPressed() method 

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

  • SyncTask 
     

  •  AsyncTask 
     

  • Both of the above 
     

  • None of the above 

Which of these is NOT an APK file’s component? 

  • Dalvik executable 
     

  •  Native libraries 
     

  •  Resources 
     

  • None of the above 

What is a broadcast receiver in android? 

  • It will react to broadcast announcements. 
     

  •  It will do background functionalities as services. 
     

  •  It will pass the data between activities. 
     

  •  None of the Above 

Which of the following is contained in the src folder? 

  • XML 

  • Java source code 

  • Manifest 

  • None of the above 

How can we kill an activity in android? 

  • Using finish() method 

  • Using finishActivity(int requestCode) 

  • Both (a) and (b) 

  • Neither (a) nor (b) 

What is LastKnownLocation in android? 

  • To find the last location of a phone 
     

  • To find the known location of a phone 
     

  • To find the last known location of a phone. 
     

  •  None of the above 

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

  • True 

  • False 

  • May be 

  • Can't say 

Which method is used to find GPS enabled or disabled programmatically in 
android? 

  • finish() 
     

  •  getGPSStatus() 
     

  •  onProviderDisable() 
     

  • getGPS() 

All layout classes are the subclasses of - 

  • android.view.View 
     

  •  android.view.ViewGroup 
     

  •  android.widget 
     

  • None of the above 

Which of these do NOT constitute to be a part of the native libraries in 
Android? 

  •  OpenGL 
     

  • Webkit 
     

  • SQLite 
     

  • Dalvik 

Android web browser is based on 

  • Firefox 
     

  • Safari 
     

  • Open source Webkit 
     

  •  Chrome 

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

  • android.content

  • android.database 

  •  android.api 

  • None of the above 

Which of these operating systems is used in the form of the Android sack’s 
base? 

  •  XML 
     

  • Java 
     

  •  Windows 
     

  •  Linux 

Which of the following is the parent class of service? 

  • context 

  • object 

  • contextThemeWrapper 

  • contextWrapper 

How many sizes are supported by Android? 

  • Android supported all sizes 
     

  •  Android does not support all sizes 
     

  • Android supports small, normal, large, and extra-large sizes 
     

  • Size is undefined in android 

What is the application class in android? 

  •  A class that can create only an object 
     

  • Anonymous class 
     

  •   Java class 
     

  •  Base class for all classes 

How do you join two notifications in android? 

  • Give the same id for both notifications 
     

  •  Write notification code two times 
     

  •  It is not possible in android 
     

  • A & B