Android+core Java Quiz

34 Questions | Attempts: 287
Share

SettingsSettingsSettings
Java Quizzes & Trivia

Test your knowledge of Android and Core java by taking this timed quiz.


Questions and Answers
  • 1. 

    The android OS comes with many useful system services, which include processes you can easily ask for things such as your..

    • A.

      All of these and more.

    • B.

      Location

    • C.

      Sensor Readings

    • D.

      WiFi? Hot Spots

    Correct Answer
    A. All of these and more.
  • 2. 

    What does the Gargenta mean in his Design Philosophy when he says that the project will, "Always be whole and complete"?

    • A.

      He means that when we finish the entire project we will have a working application, even though there will be points along the way when we will stop and the application will not run.

    • B.

      He means that the program must always be able to compile.

    • C.

      He means that we will work on the program by adding self contained chunks to it so that at every stopping point the application runs as though it were a whole and complete application. Each additional chunk simply adds a new functionality to the application.

    • D.

      None of the above

    Correct Answer
    C. He means that we will work on the program by adding self contained chunks to it so that at every stopping point the application runs as though it were a whole and complete application. Each additional chunk simply adds a new functionality to the application.
  • 3. 

    How does Gargenta approach the problem of the app acting sluggishly due to network latency?

    • A.

      Starting over

    • B.

      Switching API levels

    • C.

      Refactoring code

    • D.

      Multithreading

    Correct Answer
    D. Multithreading
  • 4. 

    Status data will be exposed to the rest of the Android system via:

    • A.

      Intents

    • B.

      A content provider

    • C.

      Network receivers

    • D.

      Altering permissions

    Correct Answer
    B. A content provider
  • 5. 

    If the UI begins to behave sluggishly or crash while making network calls, this is likely due to...

    • A.

      Network latency

    • B.

      Hardware malfunctions

    • C.

      Virus on the Server

    • D.

      Activity manager contains too much.

    Correct Answer
    A. Network latency
  • 6. 

    Which of the following is NOT an activity we will be creating for the YAMBA project?

    • A.

      Preferences Activity

    • B.

      Update Activity

    • C.

      Timeline Activity

    • D.

      Status Activity

    Correct Answer
    B. Update Activity
  • 7. 

    The timeline receiver will receive messages from the Android system.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 8. 

    Which answer is not part of the design philosophy talked about in chapter five?

    • A.

      Always whole and complete

    • B.

      Small increments

    • C.

      Lagre increments

    • D.

      Refactoring code

    Correct Answer
    C. Lagre increments
  • 9. 

    App Widgets are can be place on the home screen by the user to check for updates are available?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 10. 

    An Android application is a loose collection of content providers, activities, broadcast receivers, and services.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 11. 

    Creating a UI (User Interface) in Android requires careful use of...

    • A.

      Java and SQL

    • B.

      XML and Java

    • C.

      XML and C++

    • D.

      Dreamweaver

    Correct Answer
    B. XML and Java
  • 12. 

    A good example app should demonstrate most of the aspects of the application framework that are unique to Android.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 13. 

    What will services be used for in the Yamba project?

    • A.

      Recompile the source code

    • B.

      It will update tweets periodically in the background

    • C.

      The services will pause the app

    • D.

      Configures the user interface

    Correct Answer
    B. It will update tweets periodically in the background
  • 14. 

    Lists and adapters are more organizational aids than user interface elements in Android.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 15. 

    What built-in database is Android shipped with?

    • A.

      SQLite

    • B.

      Apache

    • C.

      MySQL

    • D.

      Oracle

    Correct Answer
    A. SQLite
  • 16. 

    YAMBA stands for Yet Another Mobile Banking App.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 17. 

    There can be only one running activity at a given time.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 18. 

    Services have any user interface components

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 19. 

    Broadcast receivers are Android’s implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?

    • A.

      Observer

    • B.

      Facade

    • C.

      Mediator

    • D.

      Command

    Correct Answer
    A. Observer
  • 20. 

    An activity in a stopped state is doing nothing.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 21. 

    Application contexts are independent of the activity life cycle.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 22. 

    When the activity is not in focus, but still visible on the screen it is in?

    • A.

      Running state

    • B.

      Paused state

    • C.

      Stopped state

    • D.

      Destroyed state

    Correct Answer
    B. Paused state
  • 23. 

    In an explicit intent, the sender specifies the type of receiver.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
  • 24. 

    An implicit intent is the sender specifies the type of receiver?

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 25. 

     Intents

    • A.

      Are messages that are sent among major building blocks

    • B.

      Trigger activities to being, services to start or stop, or broadcast

    • C.

      Are asynchronous

    • D.

      All of these

    Correct Answer
    D. All of these
  • 26. 

    There is no guarantee that an activity will be stopped prior to being destroyed.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
  • 27. 

    Which of the following is NOT a state in the lifecycle of a service?

    • A.

      Starting

    • B.

      Running

    • C.

      Destroyed

    • D.

      Paused

    Correct Answer
    D. Paused
  • 28. 

    What is an Activity?

    • A.

      A single screen the user sees on the device at one time

    • B.

      A message sent among the major building blocks

    • C.

      A component that runs in the background without any interface.

    • D.

      Context referring to the application environment.

    Correct Answer
    A. A single screen the user sees on the device at one time
  • 29. 

    When an activity doesn't exist in memory it is in.

    • A.

      Starting state

    • B.

      Running state

    • C.

      Loading state

    • D.

      Inexistent state.

    Correct Answer
    A. Starting state
  • 30. 

    What runs in the background and doesn't have any UI components?

    • A.

      Intents

    • B.

      Content Providers

    • C.

      Services

    • D.

      Applications

    Correct Answer
    C. Services
  • 31. 

    Which of the following is the most "resource hungry" part of dealing with Activities on Android

    • A.

      Closing an app

    • B.

      Suspending an app

    • C.

      Opening a new app

    • D.

      Restoring the most recent app

    Correct Answer
    C. Opening a new app
  • 32. 

    The XML file that contains all the text that your application uses.

    • A.

      Stack.xml

    • B.

      Text.xml

    • C.

      Strings.xml

    • D.

      String.java

    Correct Answer
    C. Strings.xml
  • 33. 

    What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext...?

    • A.

      Layout file

    • B.

      Strings XML

    • C.

      R file

    • D.

      Manifest file

    Correct Answer
    D. Manifest file
  • 34. 

    While developing Android applications, developers can test their apps on...

    • A.

      Emulator included in Android SDK

    • B.

      Physical Android phone

    • C.

      Third-party Emulators (Youwave, etc.)

    • D.

      All three options will work.

    Correct Answer
    D. All three options will work.

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 15, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 27, 2014
    Quiz Created by
    Dbhacker9988
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.