PRM391 - TEST 2
) What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable? A. Java source code. B. Rfile. C. the emulator. D. the SDK
A
App Widgets are can be place on the home screen by the user to check for updates are available? A. True B. False
A
Application contexts are independent of the activity life cycle. A. True B. False
A
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
A
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.
A
Lists and adapters are more organizational aids than user interface elements in Android. A. True B. False
A
The AWT and Swing libraries have been removed from the Android library set. A. True B. False
A
The Android SDK ships with an emulator. A. True B. False
A
The Android Software Development Kit (SDK) is all you need to develop applications for Android. A. True B. False
A
The R file is a(an) generated file A. Automatically B. Manually C. Emulated D. None of the above
A
The ___________ file specifies the layout of your screen. A. Layout B. Manifest file C. Strings XML D. R file
A
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
A
The emulated device for android. A. Runs the same code base as the actual device, all the way down to the machine layer. B. Is more of a simulator, and acts as a virtual machine for the Android device. C. Runs the same code base as the actual device, however at a higher level. D. An imaginary machine built on the hopes and dreams of baby elephants.
A
The manifest explains what the application consists of and glues everything together. A. True B. False
A
There is no guarantee that an activity will be stopped prior to being destroyed. A. True B. False
A
What builtin database is Android shipped with? A. SQLite B. Apache C. MySQL D. Oracle
A
What does the .apk extension stand for? A. Application Package B. Application Program Kit C. Android Proprietary Kit D. Android Package
A
What is Android? A - Android is a stack of software's for mobility B - Google mobile device name C - Virtual machine D - None of the above
A
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.
A
What is contained within the Layout xml file? A. Orientations and layouts that specify what the display looks like. B. The permissions required by the app. C. The strings used in the app. D. The code which is compiled to run the app.
A
What is contained within the manifest xml file? A. The permissions the app requires B. The list of strings used in the app C. The source code D. All other choices
A
What is sandbox in android? A - Each application runs securely in sandbox without interrupting another process B - Android Box C - Android development tool kit D - None of the above
A
What is the life cycle of services in android? A - onCreate()−>onStartCommand()−>onDestory() B - onRecieve() C - final() D - Service life cycle is same as activity life cycle.
A
When an activity doesn't exist in memory it is in. A. Starting state B. Running state C. Loading state D. Inexistent state
A
an implicit intent is the sender specifies the type of receiver? A. True B. False
A
An activity can be thought of as corresponding to what? A. A Java project B. A Java class C. A method call D. An object field
B
An activity in a stopped state is doing nothing. A. True B. False
B
Android Applications must be signed. A. After they are installed B. Before they are installed C. Never D. Within two weeks of installation
B
Android tries hard to ______________ lowlevel components, such as the software stack, with interfaces so that vendorspecific code can be managed easily. A. confound B. abstract C. modularize D. compound
B
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
B
In an explicit intent, the sender specifies the type of receiver. A. True B. False
B
In which technique, we can refresh the dynamic content in android? A - Java B - Ajax C - Android D - None of the Above
B
Services have any user interface components A. True B. False
B
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
B
To create an emulator, you need an AVD. What does it stand for? A. Android Virtual Display B. Android Virtual Device C. Active Virtual Device D. Application Virtual Display
B
What is a key difference with the distribution of apps for Android based devices than other mobile device platform applications? A. Applications are distributed by Apple App Store only B. Applications are distributed by multiple vendors with different policies on applications. C. Applications are distributed by multiple vendors with the exact same policies on applications. D. Applications are distributed by the Android Market only.
B
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
B
Which of the following are not a component of an APK file? A. Resources B. All of these are components of the APK C. Native Libraries D. Dalvik executable
B
How many protection levels are available in the android permission tag? A - There are no permission tags available in android B - Normal, kernel, application C - Normal, dangerous, signature, and signatureOrsystem D - None of the above
C
The Emulator is identical to running a real phone EXCEPT when emulating/simulating what? A. Telephony B. Applications C. Sensors D. The emulator can emulate/simulate all aspects of a smart phone.
C
The XML file that contains all the text that your application uses. A. stack.xml B. text.xml C. strings.xml D. string.java
C
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
C
What is breakpoint in android? A - Breaks the application B - Breaks the development code C - Breaks the execution. D - None of the above.
C
What is the name of the program that converts Java byte code into Dalvik byte code? A. Android Interpretive Compiler (AIC) B. Dalvik Converter C. Dex compiler D. Mobile Interpretive Compiler (MIC)
C
What runs in the background and doesn't have any UI components? A. Intents B. Content Providers C. Services D. Applications
C
When developing for the Android OS, Java byte code is compiled into what? A. Java source code B. Dalvik application code C. Dalvik byte code D. C source code
C
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
C
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
D
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
D
What is a thread in android? A - Same as services B - Background activity C - Broadcast Receiver D - Independent dis-patchable unit is called a thread
D
Which of the following is NOT a state in the lifecycle of a service? A. Starting B. Running C. Destroyed D. Paused
D
Which of these are not one of the three main components of the APK? A. Dalvik Executable B. Resources C. Native Libraries D. Webkit
D
While developing Android applications, developers can test their apps on... A. Emulator included in Android SDK B. Physical Android phone C. Thirdparty Emulators (Youwave, etc.) D. All three options will work
D
An Android application is a loose collection of content providers, activities, broadcast receivers, and services. A. True B. False
A
What is singleton class in android? A - A class that can create only one object B - Anonymous class C - Java class D - Manifest file
A
The R.java file is where you edit the resources for your project. A. True B. False
B
The timeline receiver will receive messages from the Android system. A. True B. False
B
There can be only one running activity at a given time. A. True B. False
B