A year ago
Here 50 possible examinable objective questions
1) Android is licensed under which open-source licensing license?
Options:
A. Gnu's GPL
B. Apache/MIT
C. OSS
D. Sourceforge
Answer: B
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?
Options:
A. Oracle Technology
B. Dalvik
C. Open Handset Alliance
D. The above statement is false, and Android is owned by Google
Answer: C
3) As an Android programmer, what version of Android should you use as your minimum development target?
Options:
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
4) What was Google's main business motivation for supporting Android?
Options:
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
5) What was the first phone released that ran the Android OS?
Options:
A. Google gPhone
B. T-Mobile G1
C. Motorola Droid
D. HTC Hero
Answer: B
6) From a phone manufacturer's point of view, what makes Android so great?
Options:
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
7) What is a funny fact about the start of Android?
Options:
A. It was originally going to be called UFO
B. The first version of Android was released without an actual phone on the market
C. Android's main purpose was to unlock your car door when you left the keys inside of it
D. It was going to be a closed-source application to make more money for its company
Answer: B
8) What year was the Open Handset Alliance announced?
Options:
A. 2005
B. 2006
C. 2007
D. 2008
Answer: C
9) A device with Android installed is needed to develop apps for Android.
Options:
A. True
B. False
Answer: B
10) Android tries hard to ____________ low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily.
Options:
A. confound
B. abstract
C. modularize
D. compound
Answer: B
11) Google licensed some proprietary apps.
Options:
A. True
B. False
Answer: A
12) What part of the Android platform is open source?
Options:
A. low-level Linux modules
B. all of these answers
C. native libraries
D. application framework
E. complete applications
Answer: B
13) When did Google purchase Android?
Options:
A. 2007
B. 2005
C. 2008
D. 2010
Answer: B
14) Android releases since 1.5 have been given nicknames derived how?
Options:
A. Adjective and strange animal
B. Food
C. Something that starts with 'A' -> Something that starts with 'B'...
D. American states
Answer: B
15) Which one is
not a nickname of a version of Android?
Options:
A. cupcake
B. Gingerbread
C. Honeycomb
D. Muffin
Answer: D
16) Android doesn't make any assumptions about a device's screen size, resolution, or chipset.
Options:
A. True
B. False
Answer: A
17) Why are there so few users left with versions 1.0 and 1.1?
Options:
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
18) Which Android version had the greatest share of the market as of January 2011?
Options:
A. 1.1
B. 1.5
C. 2.3
D. 3.4
Answer: B
19) Which piece of code used in Android is not open source?
Options:
A. Keypad driver
B. WiFi driver
C. Audio driver
D. Power management
Answer: B
20) Android is built upon the Java Micro Edition (J2ME) version of Java.
Options:
A. True
B. False
Answer: B
21) Which among these is NOT a part of Android's native libraries?
Options:
A. Webkit
B. Dalvik
C. OpenGL
D. SQLite
Answer: B
22) Android is based on Linux for the following reason.
Options:
A. Security
B. Portability
C. Networking
D. All of these
Answer: D
23) What operating system is used as the base of the Android stack?
Options:
A. Linux
B. Windows
C. Java
D. XML
Answer: A
24) What year was development on the Dalvik virtual machine started?
Options:
A. 2003
B. 2005
C. 2007
D. 2006
Answer: B
25) What is a key difference with the distribution of apps for Android-based devices than other mobile device platform applications?
Options:
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
26) When developing for the Android OS, Java bytecode is compiled into what?
Options:
A. Java source code
B. Dalvik application code
C. Dalvik bytecode
D. C source code
Answer: C
27) What does the .apk extension stand for?
Options:
A. Application Package
B. Application Program Kit
C. Android Proprietary Kit
D. Android Package
Answer: A
28) When you distribute your application commercially, you'll want to sign it with your own key.
Options:
A. True
B. False
Answer: A
29) How does Google check for malicious software in the Android Market?
Options:
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 separate company monitors the Android Market for Google
Answer: B
30) Which of these is not one of the three main components of the APK?
Options:
A. Dalvik Executable
B. Resources
C. Native Libraries
D. Webkit
Answer: D
31) What is the name of the program that converts Java bytecode into Dalvik bytecode?
Options:
A. Android Interpretive Compiler (AIC)
B. Dalvik Converter
C. Dex compiler
D. Mobile Interpretive Compiler (MIC)
Answer: C
32) What was the main reason for replacing the Java VM with the Dalvik VM when the project began?
Options:
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
33) Android applications must be signed.
Options:
A. After they are installed
B. Before they are installed
C. Never
D. Within two weeks of installation
Answer: B
34) Which of the following is not a component of an APK file?
Options:
A. Resources
B. All of these are components of the APK
C. Native Libraries
D. Dalvik executable
Answer: B
35) The AWT and Swing libraries have been removed from the Android library set.
Options:
A. True
B. False
Answer: A
36) The R.java file is where you edit the resources for your project.
Options:
A. True
B. False
Answer: B
37) What is contained within the manifest XML file?
Options:
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
38) What is contained within the layout XML file?
Options:
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 that is compiled to run the app
Answer: A
39) The emulated device for Android:
Options:
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
40) Your Java source code is what is directly run on the Android device.
Options:
A. True
B. False
Answer: B
41) The emulator is identical to running a real phone EXCEPT when emulating/simulating what?
Options:
A. Telephony
B. Applications
C. Sensors
D. The emulator can emulate/simulate all aspects of a smartphone
Answer: C
42) How is a simulator different from an emulator?
Options:
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
43) The R file is a generated file.
Options:
A. Automatically
B. Manually
C. Emulated
D. None of the above
Answer: A
44) An activity can be thought of as corresponding to what?
Options:
A. A Java project
B. A Java class
C. A method call
D. An object field
Answer: B
45) To create an emulator, you need an AVD. What does it stand for?
Options:
A. Android Virtual Display
B.
Advanced Visual Device
C. Android Virtual Device
D. Advanced Virtual Display
Answer: C
46) What is an intent?
Options:
A. A method call
B. A message object you can use to request an action from another app component
C. A message object used to send data from one component to another
D. A process used to run multiple applications in parallel
Answer: C
47) The minimum API level an app is built for determines what?
Options:
A. The maximum number of APIs that can be used in the app
B. The target devices on which the app can be installed
C. The minimum number of APIs that can be used in the app
D. The functionality the app can provide
Answer: B
48) How are activities organized in an app?
Options:
A. As a stack
B. As a list
C. As a grid
D. As a tree
Answer: A
49) What is the purpose of the setContentView() method in an activity?
Options:
A. To set the layout file for the activity
B. To set the theme for the activity
C. To set the background color of the activity
D. To set the content of a specific View in the activity
Answer: A
50) What does the term "back stack" refer to in Android?
Options:
A. The stack of activities that are currently running in the background
B. The stack of activities that the user can navigate back to
C. The stack of activities that have been closed by the user
Total Comments: 0