Android Studio Quiz

10 Questions | Attempts: 6291
Share

SettingsSettingsSettings
Android Studio Quiz - Quiz

.


Questions and Answers
  • 1. 
    Which folder do you copy and paste an image into?
    • A. 

      Layout

    • B. 

      Resources

    • C. 

      Drawable

    • D. 

      Java

  • 2. 
    Which component property should be changed to a name that is specific of the components use?
    • A. 

      Text

    • B. 

      ID

    • C. 

      Editable

    • D. 

      Content Description

  • 3. 
    Which is correct for using any image with the name "trainstation"?
    • A. 

      Android:"@drawable/trainstation"

    • B. 

      Android:src="trainstation"

    • C. 

      [email protected]/trainstation

    • D. 

      Android:src="@drawable/trainstation"

  • 4. 
    Which listener is called for the device to register the enter key press?
    • A. 

      OnClickListener

    • B. 

      OnKeyListener

    • C. 

      OnContextClickListener

    • D. 

      OnHoverListener

  • 5. 
    Which Android Studio file is most of the app coding done in?
    • A. 

      MainActivity.java

    • B. 

      Activity_main_xml

    • C. 

      AndroidManifest.xml

  • 6. 
    What is the system image that the virtual device was set up to support?
    • A. 

      KitKat

    • B. 

      Ice-cream sandwich

    • C. 

      JellyBean

    • D. 

      Marshmallow

  • 7. 
    Which file do you alter the image displayed by the ImageView in?
    • A. 

      Drawable

    • B. 

      Activity_main_xml

    • C. 

      MainActivity

    • D. 

      AndroidManifest.xml

  • 8. 
    Which is the correct line of code to get the ID of the EditText you intend to use?
    • A. 

      EditText TextHandler = (EditText)findViewById(R.id.nameTextField);

    • B. 

      EditText = (EditText)findViewById(R.id.nameTextField);

    • C. 

      EditText TextHandler = findViewById(R.id.nameTextField);

    • D. 

      EditText TextHandler = (EditText)findViewById(nameTextField);

  • 9. 
    What does this icon in Android Studio do?
    • A. 

      Run the emulator

    • B. 

      Run the AVD Device Manager

    • C. 

      Debug the app

    • D. 

      Add a new activity

  • 10. 
    What does this icon do when pressed in Android Studio?
    • A. 

      Open the AVD Device Manager

    • B. 

      Run the emulator

    • C. 

      Debug the app

    • D. 

      Add a new activity

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.