1.
Android is licensed under which open source licensing license?
Correct Answer
B. Apache/MIT
Explanation
Android is licensed under the Apache/MIT open source licensing license. This license allows users to freely use, modify, and distribute the Android software while also providing patent protection. The Apache/MIT license is known for being more permissive and business-friendly compared to other open source licenses like GNU's GPL. This licensing choice has helped Android gain widespread adoption and allows developers to create and distribute their own versions of the Android operating system.
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 Answer
C. Open Handset Alliance
Explanation
The Open Handset Alliance owns the Android platform. While many people associate Android with Google, it is important to note that Google is a member of the Open Handset Alliance, along with other companies such as Samsung, HTC, and Motorola. The Open Handset Alliance was formed to develop open standards for mobile devices and promote the Android platform. Therefore, it is incorrect to state that Android is owned solely by Google.
3.
As an Android programmer, what version of Android should you use as your minimum development target?
Correct Answer
A. Versions 1.6 or 2.0
Explanation
As an Android programmer, you should use versions 1.6 or 2.0 as your minimum development target because these versions have a larger market share and are compatible with a wide range of devices. Using these versions ensures that your app can reach a larger audience and can be installed on a majority of Android devices.
4.
What was Google's main business motivation for supporting Android?
Correct Answer
D. To allow them to advertise more
Explanation
Google's main business motivation for supporting Android was to allow them to advertise more. By developing and supporting Android, Google was able to integrate their advertising platform into mobile devices and reach a larger audience. This allowed them to generate more ad revenue and expand their advertising business.
5.
What was the first phone released that ran the Android OS?
Correct Answer
B. T-Mobile G1
Explanation
The T-Mobile G1 was the first phone released that ran the Android OS. The Google gPhone, Motorola Droid, and HTC Hero were all released after the T-Mobile G1 and therefore cannot be the correct answer.
6.
From a phone manufacturer's point of view, what makes Android so great?
Correct Answer
A. Aside from some specific drivers, it provides everything to make a pHone work
Explanation
Android is considered great from a phone manufacturer's point of view because aside from some specific drivers, it provides everything necessary to make a phone work. This means that the Android operating system offers a comprehensive platform that supports the hardware and software components required for a phone to function properly. This includes features such as the user interface, connectivity options, app compatibility, and more. By providing a complete package, Android enables manufacturers to focus on designing and producing high-quality hardware while relying on the robust and versatile Android system to handle the software aspects effectively.
7.
What is a funny fact about the start of Android?
Correct Answer
B. The first version of Android was released without an actual pHone on the market
Explanation
The funny fact about the start of Android is that the first version of Android was released without an actual phone on the market. This means that the operating system was developed and released before any compatible devices were available for consumers to use. This shows the early enthusiasm and dedication of the Android team to create a new mobile platform, even without the immediate support of hardware manufacturers.
8.
What year was the Open Handset Alliance announced?
Correct Answer
C. 2007
Explanation
The Open Handset Alliance was announced in 2007. This is the correct answer because it aligns with the given options and is the year when the alliance was officially announced.
9.
A device with Android installed is needed to develop apps for Android.
Correct Answer
B. False
Explanation
Developing apps for Android does not necessarily require a device with Android installed. Android development can be done using an Android Emulator, which is a software that simulates an Android device on a computer. This allows developers to test and debug their apps without needing a physical Android device. Therefore, the statement is 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 Answer
B. Absract
Explanation
Android tries hard to abstract low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily. This means that Android aims to create a layer of abstraction that hides the complexities of the underlying system, allowing for easier management and compatibility across different devices and vendors.
11.
Google licensed some proprietary apps.
Correct Answer
A. True
Explanation
The statement states that Google licensed some proprietary apps. Since the answer is "True," it implies that Google did indeed license some proprietary apps.
12.
What part of the Android platform is open source?
Correct Answer
B. All of these answers #The entire stack is an open source platform
Explanation
The correct answer is "all of these answers". The entire stack of the Android platform is open source, including low-level Linux modules, native libraries, application framework, and complete applications. This means that developers have access to the source code and can modify and customize it according to their needs. It also promotes transparency and collaboration within the Android community, allowing for continuous improvement and innovation.
13.
When did Google purchase Android?
Correct Answer
B. 2005
Explanation
Google purchased Android in 2005. This acquisition allowed Google to enter the mobile market and develop its own operating system for smartphones. Android has since become the most popular mobile operating system globally, powering millions of devices worldwide.
14.
Android releases since 1.5 have been given nicknames derived how?
Correct Answer
B. Food
Explanation
Android releases since 1.5 have been given nicknames derived from food. Each version is named after a sweet treat or dessert, following the alphabetical order. For example, Android 1.5 was named Cupcake, Android 1.6 was Donut, Android 2.0 was Eclair, and so on. This naming convention has continued with subsequent releases, with each version representing a different food item.
15.
Which one is not a nickname of a version of Andriod?
Correct Answer
D. Muffin
Explanation
The given options, cupcake, Gingerbread, Honeycomb, are all actual nicknames of different versions of Android. However, "Muffin" is not a known nickname for any version of Android.
16.
Android doesn't make any assumptions about a device's screen size, resolution, or chipset.:
Correct Answer
A. True
Explanation
Android is an operating system that is designed to be compatible with various devices. It does not assume anything about a device's screen size, resolution, or chipset. This means that Android can be used on a wide range of devices, from smartphones to tablets to smart TVs, without any limitations or restrictions based on these factors. Therefore, the given statement is true.
17.
Why are the so few users left with versions 1.0 and 1.1?
Correct Answer
D. Everyone with 1.0 and 1.1 were upgraded to 1.5 over the air automatically
Explanation
The reason why there are so few users left with versions 1.0 and 1.1 is that everyone who had those versions were automatically upgraded to version 1.5 over the air.
18.
Which Android version had the greatest share of the market as of January 2011?
Correct Answer
B. 1.5
Explanation
As of January 2011, Android version 1.5 had the greatest share of the market. This means that it was the most widely used version of Android at that time.
19.
Which piece of code used in Android is not open source?
Correct Answer
B. WiFi? driver
Explanation
The WiFi driver used in Android is not open source. This means that the source code for the WiFi driver is not freely available for modification and distribution. This could be due to various reasons such as proprietary technology or licensing agreements.
20.
Android is built upon the Java Micro Edition (J2ME) version of Java.
Correct Answer
B. False
Explanation
Android is not built upon the Java Micro Edition (J2ME) version of Java. It is built upon a modified version of Java called Android Runtime (ART) which uses a different virtual machine than J2ME.
21.
Which among these are NOT a part of Android's native libraries?
Correct Answer
B. Dalvik
Explanation
Dalvik is not a part of Android's native libraries. Android's native libraries include Webkit, OpenGL, and SQLite, which are essential components for web browsing, graphics rendering, and database management respectively. Dalvik, on the other hand, is a virtual machine specifically designed for running Android applications. It is responsible for executing the bytecode generated by Android's development tools. Although Dalvik is a crucial component of the Android platform, it is not considered a part of the native libraries.
22.
Android is based on Linux for the following reason.
Correct Answer
D. All of these
Explanation
Android is based on Linux because it provides a high level of security, offers portability across different devices, and supports efficient networking capabilities. Linux is known for its robust security features, making it a suitable foundation for Android's security framework. Additionally, Linux's open-source nature allows for easy porting of Android to various hardware platforms. Lastly, Linux's networking capabilities enable Android devices to seamlessly connect to the internet and other devices, facilitating smooth communication and data transfer. Therefore, Android is based on Linux for all of these reasons.
23.
What operating system is used as the base of the Android stack?
Correct Answer
A. Linux
Explanation
The base of the Android stack is Linux. Android is built on top of the Linux kernel, which provides the core functionality and hardware abstraction layer for the operating system. This allows Android to take advantage of the stability, security, and performance benefits of the Linux operating system. Linux also provides the necessary drivers and low-level system services for Android devices to function properly.
24.
What year was development on the Dalvik virtual machine started?
Correct Answer
B. 2005
Explanation
The correct answer is 2005. This is the year when development on the Dalvik virtual machine started.
25.
What is a key difference with the distribution of apps for Android based devices than other mobile device platform applications?
Correct Answer
B. Applications are distributed by multiple vendors with different policies on applications.
Explanation
The key difference with the distribution of apps for Android based devices is that they are distributed by multiple vendors with different policies on applications. Unlike Apple's App Store, which is the exclusive distributor for iOS apps, Android apps can be found on various platforms such as Google Play Store, Amazon Appstore, and third-party app stores. Each of these vendors may have their own set of rules and guidelines for accepting and distributing apps, providing developers with more options and flexibility in terms of distribution.
26.
When developing for the Android OS, Java byte code is compiled into what?
Correct Answer
C. Dalvik byte code
Explanation
When developing for the Android OS, Java byte code is compiled into Dalvik byte code. Dalvik is the virtual machine used by Android to execute applications. It takes the Java byte code and converts it into its own optimized format, which is the Dalvik byte code. This conversion allows the Android system to run applications efficiently and with better performance on mobile devices.
27.
What does the .apk extension stand for?
Correct Answer
A. Application Package
Explanation
The .apk extension stands for "Application Package". This file format is used for distributing and installing applications on Android devices. The APK file contains all the necessary components of an app, including the code, resources, and manifest file. When a user downloads and installs an app from the Google Play Store or any other source, they are essentially installing the APK file onto their device.
28.
When you distribute your application commercially,you'll want to sign it with your own key.
Correct Answer
A. True
Explanation
When you distribute your application commercially, it is important to sign it with your own key. This ensures that the application is authentic and has not been tampered with. By signing the application with your own key, you are able to verify that it is indeed from you and has not been modified by any unauthorized parties. This adds a layer of trust and security for users who download and use your application.
29.
How does Google check for malicious software in the Android Market?
Correct Answer
B. Users report malicious software to Google
Explanation
Google relies on users to report any malicious software they encounter in the Android Market. This crowdsourced approach allows for a large number of users to contribute to the detection and reporting of malicious apps. Once a report is received, Google can investigate and take appropriate action to remove the malicious software from the Android Market. This method helps Google stay vigilant and quickly address any potential security threats in their app store.
30.
Which of these are not one of the three main components of the APK?
Correct Answer
D. Webkit
Explanation
The three main components of an APK (Android Package) are Dalvik Executable, Resources, and Native Libraries. Webkit is not one of the main components of an APK. Webkit is a web browser engine used in various applications, but it is not directly included as a component in the APK file.
31.
What is the name of the program that converts Java byte code into Dalvik byte code?
Correct Answer
C. Dex compiler
Explanation
The correct answer is Dex compiler. The Dex compiler is the program that converts Java byte code into Dalvik byte code. Dalvik is the virtual machine used in older versions of the Android operating system, and it requires a specific format of byte code called Dex. Therefore, the Dex compiler is responsible for transforming the Java byte code into the appropriate format for Dalvik.
32.
What was the main reason for replacing the Java VM with the Dalvik VM when the project began?
Correct Answer
B. Java virtual machine was not free
Explanation
The main reason for replacing the Java VM with the Dalvik VM when the project began was because the Java virtual machine was not free.
33.
Android Applications must be signed.
Correct Answer
B. Before they are installed
Explanation
Android applications must be signed before they are installed. This is because the Android operating system requires all applications to be signed with a digital certificate. The digital certificate ensures the authenticity and integrity of the application. When an application is signed, it means that it has been verified and approved by the developer, and any modifications or tampering with the application can be detected. Therefore, the signing process is necessary to ensure the security and trustworthiness of Android applications before they are installed on a device.
34.
Which of the following are not a component of an APK file?
Correct Answer
B. All of these are components of the APK
Explanation
An APK file (Android Application Package) is a package file format used by the Android operating system for distribution and installation of mobile apps. It contains all the necessary components for an Android app, including resources such as images, layouts, and strings, native libraries required for specific hardware, and the Dalvik executable, which is the compiled code that runs on Android devices. Therefore, all of the given options (Resources, Native Libraries, and Dalvik executable) are components of an APK file.
35.
The AWT and Swing libraries have been removed from the Android library set.
Correct Answer
A. True
Explanation
The AWT and Swing libraries have indeed been removed from the Android library set. AWT (Abstract Window Toolkit) and Swing are Java libraries that are used for creating graphical user interfaces (GUIs) in desktop applications. However, these libraries are not compatible with the Android operating system, which uses a different set of libraries and APIs for creating user interfaces. Therefore, developers cannot use AWT and Swing to build Android applications and must instead use the Android-specific libraries and frameworks provided by Google.
36.
The R.java file is where you edit the resources for your project.
Correct Answer
B. False
Explanation
The R.java file is not where you edit the resources for your project. It is an automatically generated file by the Android build process, which contains references to all the resources in your project such as layouts, strings, and images. It is not meant to be edited manually, as any changes made to it will be overwritten the next time you build your project.
37.
What is contained within the manifest xml file?
Correct Answer
A. The permissions the app requires
Explanation
The manifest xml file contains the permissions that the app requires. This file is an essential component of an Android application as it provides important information about the app to the Android system. It specifies the permissions that the app needs to access certain resources or perform specific actions on the device. These permissions ensure that the app functions properly and securely, and they are declared in the manifest file to inform the user and the system about the app's intentions and requirements.
38.
What is contained within the Layout xml file?
Correct Answer
A. Orientations and layouts that specify what the display looks like.
Explanation
The layout xml file contains orientations and layouts that specify what the display looks like. This means that it includes the design and arrangement of different UI elements such as buttons, text fields, and images on the screen. The file defines the structure and appearance of the user interface for an app, allowing developers to visually design and organize the user interface components. By specifying the orientations and layouts in the layout xml file, developers can ensure that the app's display is visually appealing and user-friendly.
39.
The emulated device for android.
Correct Answer
A. Runs the same code base as the actual device, all the way down to the machine layer.
Explanation
The correct answer is "Runs the same code base as the actual device, all the way down to the machine layer." This answer suggests that the emulated device for Android replicates the actual device's code base, including the machine layer. This means that it simulates the behavior and functionality of the actual Android device accurately, making it a useful tool for testing and development purposes.
40.
Your Java source code is what is directly run on the Android device.
Correct Answer
B. False
Explanation
The given statement is false because Java source code is not directly run on the Android device. Instead, the Java source code is compiled into bytecode and then converted into Dalvik bytecode, which is the format that can be executed on Android devices.
41.
The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?
Correct Answer
C. Sensors
Explanation
The emulator is identical to running a real phone except when emulating/simulating sensors. This means that while the emulator can accurately replicate the functioning of a smartphone in terms of telephony and applications, it may not be able to accurately simulate the behavior of sensors found in a real phone. This could include sensors such as the accelerometer, gyroscope, proximity sensor, ambient light sensor, etc. Therefore, if an application heavily relies on sensor data, it is important to test it on a real device rather than relying solely on the emulator.
42.
How is a simulator different from an emulator?
Correct Answer
D. The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.
Explanation
A simulator and an emulator differ in their approach to replicating the behavior of software. While emulators are commonly used for playing old SNES games, simulators are primarily used for software development. The given answer explains that the key distinction lies in the fact that an emulator imitates the machine executing the binary code, whereas a simulator simulates the behavior of the code at a higher level. This means that an emulator aims to replicate the exact hardware and software environment, while a simulator focuses on replicating the behavior and functionality of the code without necessarily replicating the underlying hardware.
43.
The R file is a(an) generated file
Correct Answer
A. Automatically
Explanation
The R file is a generated file because it is created automatically, without any manual intervention. It is not emulated or created manually by a user. Therefore, the correct answer is automatically.
44.
An activity can be thought of as corresponding to what?
Correct Answer
B. A Java class
Explanation
An activity in Java can be thought of as corresponding to a Java class. In Java, an activity is a class that represents a specific task or functionality within a program. It contains methods, fields, and other components that define the behavior and characteristics of that activity. Therefore, a Java class is the most suitable option to represent an activity in Java programming.
45.
To create an emulator, you need an AVD. What does it stand for?
Correct Answer
B. Android Virtual Device
Explanation
An emulator is a software or hardware that allows a computer system to behave like another computer system. In the case of creating an emulator for Android, an AVD (Android Virtual Device) is required. An AVD is a virtual device that emulates the hardware and software features of a physical Android device, allowing developers to test and debug their applications without the need for a physical device. Therefore, the correct answer is "Android Virtual Device".
46.
The Android SDK ships with an emulator.
Correct Answer
A. True
Explanation
The Android SDK includes an emulator, which allows developers to test and run their Android applications on their computer without needing a physical device. This emulator provides a virtual Android environment that simulates the behavior and features of an actual Android device, making it easier for developers to develop, debug, and test their applications before deploying them on real devices. Therefore, the statement "The Android SDK ships with an emulator" is true.
47.
The ___________ file specifies the layout of your screen.
Correct Answer
A. Layout file
Explanation
The layout file is the correct answer because it is the file that defines the arrangement and appearance of the user interface elements on the screen. It determines how the different views and widgets are organized and displayed to the user. The layout file is an essential component in creating the visual structure of an application's user interface.
48.
The manifest explains what the application consists of and glues everything together.
Correct Answer
A. True
Explanation
The manifest file is an essential component of an application as it provides important information about the application, such as its package name, version, permissions, and components. It acts as a glue that brings all the different parts of the application together and ensures that they work harmoniously. Without the manifest, the application would lack structure and coherence, making it difficult to understand and use. Therefore, the statement "The manifest explains what the application consists of and glues everything together" is true.
49.
The Android Software Development Kit (SDK) is all you need to develop applications for Android.
Correct Answer
A. True
Explanation
The Android Software Development Kit (SDK) is a comprehensive set of tools and resources that provides everything required to develop applications for Android. It includes libraries, debugging tools, emulator, documentation, and various other components necessary for app development. Therefore, it is correct to say that the Android SDK is all you need to develop applications for Android.
50.
What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable?
Correct Answer
A. Java source code.
Explanation
The driving force behind an Android application that ultimately gets converted into a Dalvik executable is the Java source code. This is because Android applications are primarily developed using the Java programming language. The Java source code is compiled into bytecode, which is then converted into a Dalvik executable format that can be run on Android devices. The R-file is used for accessing resources within the application, the emulator is used for testing and running the application on a virtual device, and the SDK (Software Development Kit) provides the necessary tools and libraries for developing Android applications.