McqMate
1. |
Android is licensed under which open source licensing license? |
A. | gnu’s gpl |
B. | apache/mit |
C. | oss |
D. | sourceforge |
Answer» 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? |
A. | oracle technology |
B. | dalvik |
C. | open handset alliance |
D. | the above statement is and android is owned by google |
Answer» C. open handset alliance |
3. |
As an Android programmer, what version of Android should you use as your minimum development target? |
A. | versions 1.6 or 2.0 |
B. | versions 1.0 or 1.1 |
C. | versions 1.2 or 1.3 |
D. | versions 2.3 or 3.0 |
Answer» A. versions 1.6 or 2.0 |
4. |
What was Google’s main business motivation for supporting Android? |
A. | to level the playing field for mobile devices |
B. | to directly compete with the iphone |
C. | to corner the mobile device application market for licensing purposes |
D. | to allow them to advertise more |
Answer» D. to allow them to advertise more |
5. |
What was the first phone released that ran the Android OS? |
A. | google gphone |
B. | t-mobile g1 |
C. | motorola droid |
D. | htc hero |
Answer» B. t-mobile g1 |
6. |
From a phone manufacturer’s point of view, what makes Android so great? |
A. | aside from some specific drivers, it provides everything to make a phone work |
B. | it makes the hardware work better |
C. | it allows them to compete with apple’s iphone |
D. | it allows users to create apps, generating revenue for the companies |
Answer» 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? |
A. | it was orginaly going to be called ufo |
B. | the first version of android was released without an actual phone on the market |
C. | androids main purpose was to unlock your car door when you left the keys inside of it. |
D. | was going to be a closed source application to make more money for its company. |
Answer» B. the first version of android was released without an actual phone on the market |
8. |
What year was the Open Handset Alliance announced? |
A. | 2005 |
B. | 2006 |
C. | 2007 |
D. | 2008 |
Answer» C. 2007 |
9. |
A device with Android installed is needed to develop apps for Android. |
A. | true |
B. | false |
Answer» 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. |
A. | confound |
B. | absract |
C. | modularize |
D. | compound |
Answer» B. absract |
11. |
Google licensed some proprietary apps. |
A. | true |
B. | false |
Answer» A. true |
12. |
When did Google purchase Android? |
A. | 2007 |
B. | 2005 |
C. | 2008 |
D. | 2010 |
Answer» B. 2005 |
13. |
Android releases since 1.5 have been given nicknames derived how? |
A. | adjective and strange animal |
B. | food |
C. | something that starts w/ ‘a’ -> something that starts w/ ‘b’… |
D. | american states |
Answer» B. food |
14. |
Which one is not a nickname of a version of Andriod? |
A. | cupcake |
B. | gingerbread |
C. | honeycomb |
D. | muffin |
Answer» D. muffin |
15. |
Android doesn’t make any assumptions about a device’s screen size, resolution, or chipset.: |
A. | true |
B. | false |
Answer» A. true |
16. |
Why are the so few users left with versions 1.0 and 1.1? |
A. | the first phones were released with version 1.5 |
B. | 1.0 and 1.1 had security holes that forced carriers to recall phones using them |
C. | 1.0 and 1.1 are just number designations for the version apple’s iphone is running |
D. | everyone with 1.0 and 1.1 were upgraded to 1.5 over the air automatically |
Answer» 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? |
A. | 1.1 |
B. | 1.5 |
C. | 2.3 |
D. | 3.4 |
Answer» B. 1.5 |
18. |
Which piece of code used in Android is not open source? |
A. | keypad driver |
B. | wifi? driver |
C. | audio driver |
D. | power management |
Answer» B. wifi? driver |
19. |
Android is built upon the Java Micro Edition (J2ME) version of Java. |
A. | true |
B. | false |
Answer» B. false |
20. |
Which among these are NOT a part of Android’s native libraries? |
A. | webkit |
B. | dalvik |
C. | opengl |
D. | sqlite |
Answer» B. dalvik |
21. |
Android is based on Linux for the following reason. |
A. | security |
B. | portability |
C. | networking |
D. | all of these |
Answer» D. all of these |
22. |
What operating system is used as the base of the Android stack? |
A. | linux |
B. | windows |
C. | java |
D. | xml |
Answer» A. linux |
23. |
What year was development on the Dalvik virtual machine started? |
A. | 2003 |
B. | 2005 |
C. | 2007 |
D. | 2006 |
Answer» B. 2005 |
24. |
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. |
Answer» 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? |
A. | java source code |
B. | dalvik application code |
C. | dalvik byte code |
D. | c source code |
Answer» C. dalvik byte code |
26. |
What does the .apk extension stand for? |
A. | application package |
B. | application program kit |
C. | android proprietary kit |
D. | android package |
Answer» A. application package |
27. |
When you distribute your application commercially,you’ll want to sign it with your own key. |
A. | true |
B. | false |
Answer» A. true |
28. |
How does Google check for malicious software in the Android Market? |
A. | every new app is scanned by a virus scanner |
B. | users report malicious software to google |
C. | google employees verify each new app |
D. | a seperate company monitors the android market for google |
Answer» B. users report malicious software to google |
29. |
Which of these are not one of the three main components of the APK? |
A. | dalvik executable |
B. | resources |
C. | native libraries |
D. | webkit |
Answer» D. webkit |
30. |
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) |
Answer» C. dex compiler |
31. |
What was the main reason for replacing the Java VM with the Dalvik VM when the project began? |
A. | there was not enough memory capability |
B. | java virtual machine was not free |
C. | java vm was too complicated to configure |
D. | java vm ran too slow |
Answer» B. java virtual machine was not free |
32. |
Android Applications must be signed. |
A. | after they are installed |
B. | before they are installed |
C. | never |
D. | within two weeks of installation |
Answer» B. before they are installed |
33. |
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 |
Answer» B. all of these are components of the apk |
34. |
The AWT and Swing libraries have been removed from the Android library set. |
A. | true |
B. | false |
Answer» A. true |
35. |
The R.java file is where you edit the resources for your project. |
A. | true |
B. | false |
Answer» B. false |
36. |
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 |
Answer» A. the permissions the app requires |
37. |
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. |
Answer» A. orientations and layouts that specify what the display looks like. |
38. |
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. |
Answer» 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. |
A. | true |
B. | false |
Answer» B. false |
40. |
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. |
Answer» C. sensors |
41. |
How is a simulator different from an emulator? |
A. | emulators are only used to play old snes games, simulators are used for software development |
B. | the emulator is shipped with the android sdk and third party simulators are not |
C. | the emulator can virtualize sensors and other hardware features, while the simulator cannot |
D. | the emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level. |
Answer» 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 |
A. | automatically |
B. | manually |
C. | emulated |
D. | none of the above |
Answer» A. automatically |
43. |
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 |
Answer» B. a java class |
44. |
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 |
Answer» B. android virtual device |
45. |
The Android SDK ships with an emulator. |
A. | true |
B. | false |
Answer» A. true |
46. |
The ___________ file specifies the layout of your screen. |
A. | layout file |
B. | manifest file |
C. | strings xml |
D. | r file |
Answer» A. layout file |
47. |
The manifest explains what the application consists of and glues everything together. |
A. | true |
B. | false |
Answer» A. true |
48. |
The Android Software Development Kit (SDK) is all you need to develop applications for Android. |
A. | true |
B. | false |
Answer» A. true |
49. |
What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable? |
A. | java source code. |
B. | r-file. |
C. | the emulator. |
D. | the sdk |
Answer» A. java source code. |
50. |
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. |
Answer» 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…? |
A. | layout file |
B. | strings xml |
C. | r file |
D. | manifest file |
Answer» D. manifest file |
52. |
The XML file that contains all the text that your application uses. |
A. | stack.xml |
B. | text.xml |
C. | strings.xml |
D. | string.java |
Answer» C. strings.xml |
53. |
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 |
Answer» C. opening a new app |
54. |
What runs in the background and doesn’t have any UI components? |
A. | intents |
B. | content providers |
C. | services |
D. | applications |
Answer» C. services |
55. |
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. |
Answer» 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. |
A. | starting state |
B. | running state |
C. | loading state |
D. | inexistent state. |
Answer» A. starting state |
57. |
Which of the following is NOT a state in the lifecycle of a service? |
A. | starting |
B. | running |
C. | destroyed |
D. | paused |
Answer» D. paused |
58. |
There is no guarantee that an activity will be stopped prior to being destroyed. |
A. | true |
B. | false |
Answer» A. true |
59. |
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 |
Answer» D. all of these |
60. |
In an explicit intent, the sender specifies the type of receiver. |
A. | true |
B. | false |
Answer» B. false |
61. |
an implicit intent is the sender specifies the type of receiver? |
A. | true |
B. | false |
Answer» A. true |
62. |
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 |
Answer» B. paused state |
63. |
An activity in a stopped state is doing nothing. |
A. | true |
B. | false |
Answer» B. false |
64. |
Application contexts are independent of the activity life cycle. |
A. | true |
B. | false |
Answer» A. true |
65. |
Services have any user interface components |
A. | true |
B. | false |
Answer» B. false |
66. |
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 |
Answer» A. observer |
67. |
There can be only one running activity at a given time. |
A. | true |
B. | false |
Answer» A. true |
68. |
YAMBA stands for Yet Another Mobile Banking App. |
A. | true |
B. | false |
Answer» B. false |
69. |
Lists and adapters are more organizational aids than user interface elements in Android. |
A. | true |
B. | false |
Answer» A. true |
70. |
What built-in database is Android shipped with? |
A. | sqlite |
B. | apache |
C. | mysql |
D. | oracle |
Answer» A. sqlite |
71. |
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 |
Answer» B. xml and java |
72. |
A good example app should demonstrate most of the aspects of the application framework that are unique to Android. |
A. | true |
B. | false |
Answer» A. true |
73. |
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 |
Answer» B. it will update tweets periodically in the background |
74. |
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 |
Answer» C. lagre increments |
75. |
App Widgets are can be place on the home screen by the user to check for updates are available? |
A. | true |
B. | false |
Answer» A. true |
76. |
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 |
Answer» 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”? |
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 |
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. |
78. |
An Android application is a loose collection of content providers, activities, broadcast receivers, and services. |
A. | true |
B. | false |
Answer» A. true |
79. |
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 |
Answer» B. update activity |
80. |
The timeline receiver will receive messages from the Android system. |
A. | true |
B. | false |
Answer» B. false |
81. |
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 |
Answer» B. a content provider |
82. |
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. |
Answer» A. network latency |
83. |
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 |
Answer» D. multithreading |
Done Reading?