1. Android is licensed under which open source licensing license?
Correct : B. apache/mit
2. Although most people’s first thought when they think of Android is Google, Android is not actually owned by Google. Who owns the Android platform?
Correct : C. open handset alliance
3. As an Android programmer, what version of Android should you use as your minimum development target?
Correct : A. versions 1.6 or 2.0
4. What was Google’s main business motivation for supporting Android?
Correct : D. to allow them to advertise more
5. What was the first phone released that ran the Android OS?
Correct : B. t-mobile g1
6. From a phone manufacturer’s point of view, what makes Android so great?
Correct : A. aside from some specific drivers, it provides everything to make a phone work
7. What is a funny fact about the start of Android?
Correct : B. the first version of android was released without an actual phone on the market
8. What year was the Open Handset Alliance announced?
Correct : C. 2007
9. A device with Android installed is needed to develop apps for Android.
Correct : B. false
10. Android tries hard to ______________ low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily.
Correct : B. absract
11. Google licensed some proprietary apps.
Correct : A. true
12. When did Google purchase Android?
Correct : B. 2005
13. Android releases since 1.5 have been given nicknames derived how?
Correct : B. food
14. Which one is not a nickname of a version of Andriod?
Correct : D. muffin
15. Android doesn’t make any assumptions about a device’s screen size, resolution, or chipset.:
Correct : A. true
16. Why are the so few users left with versions 1.0 and 1.1?
Correct : D. everyone with 1.0 and 1.1 were upgraded to 1.5 over the air automatically
17. Which Android version had the greatest share of the market as of January 2011?
Correct : B. 1.5
18. Which piece of code used in Android is not open source?
Correct : B. wifi? driver
19. Android is built upon the Java Micro Edition (J2ME) version of Java.
Correct : B. false
20. Which among these are NOT a part of Android’s native libraries?
Correct : B. dalvik
21. Android is based on Linux for the following reason.
Correct : D. all of these
22. What operating system is used as the base of the Android stack?
Correct : A. linux
23. What year was development on the Dalvik virtual machine started?
Correct : B. 2005
24. What is a key difference with the distribution of apps for Android based devices than other mobile device platform applications?
Correct : B. applications are distributed by multiple vendors with different policies on applications.
25. When developing for the Android OS, Java byte code is compiled into what?
Correct : C. dalvik byte code
26. What does the .apk extension stand for?
Correct : A. application package
27. When you distribute your application commercially,you’ll want to sign it with your own key.
Correct : A. true
28. How does Google check for malicious software in the Android Market?
Correct : B. users report malicious software to google
29. Which of these are not one of the three main components of the APK?
Correct : D. webkit
30. What is the name of the program that converts Java byte code into Dalvik byte code?
Correct : C. dex compiler
31. What was the main reason for replacing the Java VM with the Dalvik VM when the project began?
Correct : B. java virtual machine was not free
32. Android Applications must be signed.
Correct : B. before they are installed
33. Which of the following are not a component of an APK file?
Correct : B. all of these are components of the apk
34. The AWT and Swing libraries have been removed from the Android library set.
Correct : A. true
35. The R.java file is where you edit the resources for your project.
Correct : B. false
36. What is contained within the manifest xml file?
Correct : A. the permissions the app requires
37. What is contained within the Layout xml file?
Correct : A. orientations and layouts that specify what the display looks like.
38. The emulated device for android.
Correct : A. runs the same code base as the actual device, all the way down to the machine layer.
39. Your Java source code is what is directly run on the Android device.
Correct : B. false
40. The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?
Correct : C. sensors
41. How is a simulator different from an emulator?
Correct : D. the emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.
42. The R file is a(an) generated file
Correct : A. automatically
43. An activity can be thought of as corresponding to what?
Correct : B. a java class
44. To create an emulator, you need an AVD. What does it stand for?
Correct : B. android virtual device
45. The Android SDK ships with an emulator.
Correct : A. true
46. The ___________ file specifies the layout of your screen.
Correct : A. layout file
47. The manifest explains what the application consists of and glues everything together.
Correct : A. true
48. The Android Software Development Kit (SDK) is all you need to develop applications for Android.
Correct : A. true
49. What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable?
Correct : A. java source code.
50. While developing Android applications, developers can test their apps on…
Correct : D. all three options will work.
51. What file is responsible for glueing everthing together , explaining what the applicatin consists of, what its main building blocks are, ext…?
Correct : D. manifest file
52. The XML file that contains all the text that your application uses.
Correct : C. strings.xml
53. Which of the following is the most “resource hungry” part of dealing with Activities on Android
Correct : C. opening a new app
54. What runs in the background and doesn’t have any UI components?
Correct : C. services
55. What is an Activity?
Correct : A. a single screen the user sees on the device at one time
56. When an activity doesn’t exist in memory it is in.
Correct : A. starting state
57. Which of the following is NOT a state in the lifecycle of a service?
Correct : D. paused
58. There is no guarantee that an activity will be stopped prior to being destroyed.
Correct : A. true
59. Intents
Correct : D. all of these
60. In an explicit intent, the sender specifies the type of receiver.
Correct : B. false
61. an implicit intent is the sender specifies the type of receiver?
Correct : A. true
62. When the activity is not in focus, but still visible on the screen it is in?
Correct : B. paused state
63. An activity in a stopped state is doing nothing.
Correct : B. false
64. Application contexts are independent of the activity life cycle.
Correct : A. true
65. Services have any user interface components
Correct : B. false
66. Broadcast receivers are Android’s implementation of a system-wide publish/subscribe mechanism, or more precisely, what design pattern?
Correct : A. observer
67. There can be only one running activity at a given time.
Correct : A. true
68. YAMBA stands for Yet Another Mobile Banking App.
Correct : B. false
69. Lists and adapters are more organizational aids than user interface elements in Android.
Correct : A. true
70. What built-in database is Android shipped with?
Correct : A. sqlite
71. Creating a UI (User Interface) in Android requires careful use of…
Correct : B. xml and java
72. A good example app should demonstrate most of the aspects of the application framework that are unique to Android.
Correct : A. true
73. What will services be used for in the Yamba project?
Correct : B. it will update tweets periodically in the background
74. Which answer is not part of the design philosophy talked about in chapter five?
Correct : C. lagre increments
75. App Widgets are can be place on the home screen by the user to check for updates are available?
Correct : A. true
76. The android OS comes with many useful system services, which include processes you can easily ask for things such as your..
Correct : A. all of these and more.
77. What does the Gargenta mean in his Design Philosophy when he says that the project will, “Always be whole and complete”?
Correct : 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.
78. An Android application is a loose collection of content providers, activities, broadcast receivers, and services.
Correct : A. true
79. Which of the following is NOT an activity we will be creating for the YAMBA project?
Correct : B. update activity
80. The timeline receiver will receive messages from the Android system.
Correct : B. false
81. Status data will be exposed to the rest of the Android system via:
Correct : B. a content provider
82. If the UI begins to behave sluggishly or crash while making network calls, this is likely due to…
Correct : A. network latency
83. How does Gargenta approach the problem of the app acting sluggishly due to network latency?