On This Page

This set of Android Multiple Choice Questions & Answers (MCQs) focuses on Android Set 3

Q1 | What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext…?
  • layout file
  • strings xml
  • r file
  • manifest file
Q2 | The XML file that contains all the text that your application uses.
  • stack.xml
  • text.xml
  • strings.xml
  • string.java
Q3 | Which of the following is the most “resource hungry” part of dealing with Activities on Android
  • closing an app
  • suspending an app
  • opening a new app
  • restoring the most recent app
Q4 | What runs in the background and doesn’t have any UI components?
  • intents
  • content providers
  • services
  • applications
Q5 | What is an Activity?
  • a single screen the user sees on the device at one time
  • a message sent among the major building blocks
  • a component that runs in the background without any interface.
  • context referring to the application environment.
Q6 | When an activity doesn’t exist in memory it is in.
  • starting state
  • running state
  • loading state
  • inexistent state.
Q7 | Which of the following is NOT a state in the lifecycle of a service?
  • starting
  • running
  • destroyed
  • paused
Q8 | There is no guarantee that an activity will be stopped prior to being destroyed.
  • true
  • false
Q9 | Intents
  • are messages that are sent among major building blocks
  • trigger activities to being, services to start or stop, or broadcast
  • are asynchronous
  • all of these
Q10 | In an explicit intent, the sender specifies the type of receiver.
  • true
  • false
Q11 | an implicit intent is the sender specifies the type of receiver?
  • true
  • false
Q12 | When the activity is not in focus, but still visible on the screen it is in?
  • running state
  • paused state
  • stopped state
  • destroyed state
Q13 | An activity in a stopped state is doing nothing.
  • true
  • false
Q14 | Application contexts are independent of the activity life cycle.
  • true
  • false
Q15 | Services have any user interface components
  • true
  • false
Q16 | Broadcast receivers are Android’s implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?
  • observer
  • facade
  • mediator
  • command
Q17 | There can be only one running activity at a given time.
  • true
  • false
Q18 | YAMBA stands for Yet Another Mobile Banking App.
  • true
  • false
Q19 | Lists and adapters are more organizational aids than user interface elements in Android.
  • true
  • false
Q20 | What built-in database is Android shipped with?
  • sqlite
  • apache
  • mysql
  • oracle
Q21 | Creating a UI (User Interface) in Android requires careful use of…
  • java and sql
  • xml and java
  • xml and c++
  • dreamweaver
Q22 | A good example app should demonstrate most of the aspects of the application framework that are unique to Android.
  • true
  • false
Q23 | What will services be used for in the Yamba project?
  • recompile the source code
  • it will update tweets periodically in the background
  • the services will pause the app
  • configures the user interface
Q24 | Which answer is not part of the design philosophy talked about in chapter five?
  • always whole and complete
  • small increments
  • lagre increments
  • refactoring code
Q25 | App Widgets are can be place on the home screen by the user to check for updates are available?
  • true
  • false