• 1. 
    What does the .apk extension stands for

  • Application package
  • Application Program kit
  • Android Proprietary kit
  • Android Package
  • 2. 
    Gradle is the build system used in Android Studio. It builds, tests, runs, and packages your apps

  • True
  • False
  • 3. 
    Which of the following AsyncTask methods is NOT executed on the UI thread?

  • onPreExecute()
  • onPostExecute()
  • publishProgress()
  • onProgressUpdate()
  • 4. 
    What does this code do?

  • Starts an activity using an implicit intent.
  • Sends results to another activity
  • Starts a sub-activity.
  • Starts a service
  • 5. 
    Which method should you use to start a sub-activity?

  • startSubActivity(Intent intent)
  • startService(Intent intent)
  • startActivity(Intent intent)
  • startActivityForResult(Intent intent)
  • 6. 
    Which of these files contains text values that you can use in your application?

  • AndroidManifest.xml
  • res/Text.xml
  • res/layout/Main.xml
  • res/values/strings.xml
  • 7. 
    What version is the CURRENT version of android?

  • Version 8
  • Version 9
  • Version 10
  • Version 11
  • 8. 
    Which of the following Android View sub-classes uses the WebKit rendering engine to display web pages?

  • MapView
  • PageView
  • WebView
  • HttpClient
  • 9. 
    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
  • 10. 
    Which of the following is a Java call-back method invoked when a view is clicked?

  • Detector
  • OnTapListener
  • OnClickDetector
  • OnClickListener
  • 11. 
    Andorid doesnt make any assumptions about a device's screen size,resolution,chipset

  • True
  • False
  • 12. 
    Which of the following is incorrect about intents?

  • They can be used to start an Activity
  • They can be used to start database insertion
  • They can be used to start a service
  • They can be used to start a dialog-themed activity
  • 13. 
    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.
  • 14. 
    What is the parent class of all Activity widgets?

  • Layout
  • ViewGroup
  • View
  • Widget
  • 15. 
    What is contained within the manifest xml file?

  • The permission that app requires
  • The list of string used in the app
  • The source code
  • All other choices
  • 16. 
    Which package of the following does not have classes needed for Android network connections?

  • java.net
  • org.apache.http
  • android.location
  • android.net
  • 17. 
    The android library that provides access to UI pre-built elements such as buttons, lists, views etc. is

  • android.text
  • android.os
  • android.view
  • android.webkit
  • 18. 
    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
  • 19. 
    Full Name of Android

  • Both A & B
  • Jelly Bean
  • Android KitKat
  • Key Lime Pie
  • 20. 
    Which one is not a nickname of a version of Andriod?

  • Cupcake
  • Gingerbread
  • Honeycomb
  • Muffin
  • 21. 
    To create a blank Wear activity in Android Studio, the project should have a minimum SDK version >= 20

  • True
  • False
  • 22. 
    What does the Android project folder “res/” contain?

  • Resource files
  • Java Activity classes
  • Java source code
  • Libraries
  • 23. 
    Which of the following lines of code is used to pass a value to the next activity?

  • Intent i = new Intent(this,newActivity); i.addExtra(“test”);startActivity(i);
  • Intent i = new Intent(this,newActivity); i.putValue(“test”); startActivity(i);
  • Intent i = new Intent(this,newActivity); i.putValue(“value1”,“test”); startActivity(i);
  • Intent i = new Intent(this,newActivity); i.putExtra(“value1”,“test”); startActivity(i);
  • 24. 
    Which of the following is a NOT valid form of notification invoked by the NotificationManager?

  • A Flashing LED.
  • A persistent icon in the status bar.
  • A sound played.
  • A SMS sent.
  • 25. 
    What is not true about the AndroidManifest.xml file?

  • It declares the views used within the application.
  • It declares user permissions the application requires.
  • It declares hardware and software features used within the application.
  • It declares application components.
  • 26. 
    What does the following line of code achieve?

  • Starts an activity
  • Creates an implicit Intent.
  • Creates a hidden Intent.
  • Create an explicit Intent.
Report Question
warning
access_time
  Time