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 operating system while also providing some patent protection. The Apache/MIT license promotes collaboration and encourages the development of derivative works, making it a popular choice for open source projects like Android.
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 just one of the many members of the Open Handset Alliance. This alliance is a consortium of several technology companies, including Google, that collaboratively develop and support the Android platform. Therefore, Android is not owned solely by Google, but rather by the collective efforts of the Open Handset Alliance.
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, it is recommended to use versions 1.6 or 2.0 as the minimum development target. These versions have a wide user base and provide a good balance between compatibility and access to newer features. Using older versions like 1.0 or 1.1 may limit the availability of certain features and using newer versions like 2.3 or 3.0 may limit the compatibility with older devices. Therefore, versions 1.6 or 2.0 are a suitable choice for the minimum development target.
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 have a strong presence in the mobile device market and reach a larger audience with their advertisements. This would ultimately generate more revenue for the company.
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. It was a collaboration between T-Mobile, Google, and HTC and was released in 2008. The T-Mobile G1 introduced many of the features that are now common in Android smartphones, such as a touchscreen interface, a slide-out QWERTY keyboard, and access to the Google Play Store. It paved the way for the success of the Android operating system and set the stage for the wide variety of Android devices that followed.
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 it provides everything necessary for a phone to function, except for specific drivers. This means that manufacturers do not have to develop or provide additional software or functionalities, as Android already includes all the essential components. This allows manufacturers to focus on hardware aspects and design, making the phone work better. Additionally, Android's popularity and features allow manufacturers to compete with Apple's iPhone and attract users who can create apps, generating revenue for the companies.
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 was released without an actual phone on the market. This means that Android was initially developed and released as a standalone operating system without any specific hardware to run on. This is quite unusual as typically a new operating system is developed alongside a corresponding device. However, Android's early release without a phone shows the potential and ambition of the platform to become a versatile and widely used operating system across various devices.
8.
What year was the Open Handset Alliance announced?
Correct Answer
C. 2007
Explanation
The Open Handset Alliance was announced in 2007.
9.
A device with Android installed is needed to develop apps for Android.
Correct Answer
B. False
Explanation
A device with Android installed is not necessary to develop apps for Android. Developers can use an Android emulator or a virtual device provided by the Android development tools to test and debug their applications. This allows developers to create and test their apps on different Android versions and device configurations without the need for physical devices. 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. By abstracting these components, Android is able to provide a standardized interface that can be used by different vendors, allowing them to easily integrate their own code without affecting the overall functionality of the system. This abstraction helps in modularizing the code and ensuring that it remains independent of specific implementations or hardware.
11.
Google licensed some proprietary apps.
Correct Answer
A. True
Explanation
Google licensed some proprietary apps, indicating that the statement is true. This means that Google obtained legal permission to use and distribute certain apps that are protected by intellectual property rights. Licensing proprietary apps allows Google to provide these apps to its users, enhancing the functionality and features of its products and services.
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 is an open source platform." This means that all parts of the Android platform, including low-level Linux modules, native libraries, application framework, and complete applications, are open source. This allows developers to access and modify the source code, contributing to the continuous development and improvement of the platform.
13.
When did Google purchase Android?
Correct Answer
B. 2005
Explanation
Google purchased Android in 2005.
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 release is named after a sweet or dessert in alphabetical order. Starting from 1.5 Cupcake, subsequent releases were Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow, Nougat, Oreo, Pie, and the latest being Android 10. This naming convention adds a fun and memorable aspect to the Android operating system updates.
15.
Which one is not a nickname of a version of Andriod?
Correct Answer
D. Muffin
Explanation
The nickname "Muffin" is not a version of Android. The other options, cupcake, Gingerbread, and Honeycomb, are all actual nicknames of different versions of the Android operating system.
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, including smartphones, tablets, and smart TVs. As a result, it does not make any assumptions about the screen size, resolution, or chipset of a device. This allows Android to be flexible and adaptable to different hardware configurations, ensuring a consistent user experience across a wide range of devices. 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 there are so few users left with versions 1.0 and 1.1 is because everyone who had those versions were automatically upgraded to version 1.5 over the air. This means that the upgrade was done remotely without requiring any manual intervention from the users. Therefore, all the users who initially had versions 1.0 and 1.1 were moved to the newer version, resulting in a small number of users remaining on the older versions.
18.
Which Android version had the greatest share of the market as of January 2011?
Correct Answer
B. 1.5
Explanation
Android version 1.5, also known as Cupcake, had the greatest share of the market as of January 2011. This version was released in April 2009 and introduced several new features and improvements to the Android operating system. It included support for widgets, video recording, and Bluetooth stereo support, among other enhancements. By January 2011, Android 1.5 had gained significant popularity and had the highest market share compared to other Android versions available 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. The reason for this could be that the WiFi driver may contain proprietary or licensed software components that restrict its open source distribution.
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. Instead, Android uses a modified version of Java called Dalvik. Dalvik is specifically designed to run on mobile devices and is optimized for performance and memory management. Therefore, the correct answer is False.
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. Dalvik is a virtual machine that was used in older versions of Android to run applications. It has been replaced by the Android Runtime (ART) since Android 5.0. The other options, Webkit, OpenGL, and SQLite, are all part of Android's native libraries. Webkit is the browser engine used by Android, OpenGL is a graphics rendering library, and SQLite is a lightweight database management system used in Android.
22.
Android is based on Linux for the following reason.
Correct Answer
D. All of these
Explanation
Android is based on Linux because it offers enhanced security, portability, and networking capabilities. Linux is known for its robust security features, making it an ideal choice for a mobile operating system like Android. Additionally, Linux's open-source nature allows for easy portability across different hardware platforms. Lastly, Linux's networking capabilities enable Android devices to seamlessly connect to the internet and other devices, providing a smooth user experience. Therefore, Android incorporates Linux to leverage these advantages, making "All of these" the correct answer.
23.
What operating system is used as the base of the Android stack?
Correct Answer
A. Linux
Explanation
The Android stack is built on top of the Linux operating system. Linux provides the core functionalities and services that are necessary for the Android operating system to run. It provides a stable and secure foundation for Android devices, allowing them to handle tasks such as managing hardware resources, running applications, and providing a user interface. Linux also enables Android to be open-source, allowing developers to customize and modify the operating system to suit their needs.
24.
What year was development on the Dalvik virtual machine started?
Correct Answer
B. 2005
Explanation
Development on the Dalvik virtual machine started in 2005.
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 compared to other mobile device platforms is that the apps are distributed by multiple vendors with different policies on applications. Unlike Apple's App Store, which is the sole distributor of applications for Apple devices, Android devices allow users to download apps from various app stores or marketplaces, each with their own set of rules and regulations. This gives Android users more options and flexibility in choosing where to download their apps from.
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 that runs Android applications, and it uses its own byte code format. The Java byte code is converted into Dalvik byte code to optimize performance and resource usage on Android devices. This allows the Android OS to execute the application efficiently and effectively.
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 files and resources needed for the application to run on an Android 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 recommended to sign it with your own key. This ensures that the application comes from a trusted source and has not been tampered with. By signing the application with your own key, you can verify its authenticity and integrity, providing assurance to users that the application is legitimate and safe to use.
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 come across in the Android Market. This approach allows for a collaborative effort between Google and its users to identify and remove any harmful apps from the platform. By relying on user reports, Google can quickly take action against any potential threats and ensure the safety and security of the Android Market.
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, on the other hand, is not one of the main components of an APK.
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 Android devices, and it requires a specific format of byte code called Dex. The Dex compiler is responsible for converting the Java byte code, which is the standard format, into the Dalvik byte code, which is optimized for Android devices.
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 that the Java virtual machine was not free. This means that there were licensing and cost issues associated with using the Java VM. By replacing it with the Dalvik VM, which was open-source and free to use, the project could avoid any licensing constraints and reduce costs.
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 signing process ensures the authenticity and integrity of the application. When an application is signed, it is given a unique digital signature that identifies the developer. This signature is verified by the Android operating system during installation to ensure that the application has not been tampered with and comes from a trusted source. Without signing, users may be exposed to the risk of installing malicious or unauthorized applications on their devices.
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
The correct answer is that all of the options listed (Resources, Native Libraries, Dalvik executable) are components of an APK file. An APK file is a package file format used by the Android operating system for distribution and installation of mobile apps. It contains all the necessary files and components needed to run the app on an Android device, including resources such as images, audio, and video files, native libraries for specific device architectures, and the Dalvik executable, which is the compiled code that runs on the Android virtual machine.
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 primarily 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 framework called Android UI. Therefore, developers cannot use AWT and Swing to create GUIs for Android applications.
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 system that contains references to all the resources (such as layouts, strings, and images) used in your project. It is not meant to be manually edited, as any changes made to it will be overwritten the next time the project is built. Therefore, the statement is false.
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 information about the app to the Android system. It includes details such as the app's package name, activities, services, permissions, and more. The permissions section of the manifest xml file specifies the access rights that the app needs to function properly, such as accessing the internet, reading or writing to external storage, using camera, etc.
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 file is used in Android development to define the user interface of an app. It includes the arrangement and positioning of various elements such as buttons, text fields, and images on the screen. By defining the layout in XML, developers can easily modify and customize the appearance of the app's user interface without changing the underlying code.
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 means that the emulated device for Android replicates the software and hardware of an actual Android device, including the lowest level machine layer. This allows developers to test and debug their applications on a virtual device that closely resembles the real thing.
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 an Android device. Instead, Java source code is compiled into bytecode and then run on the Dalvik Virtual Machine (DVM) or the Android Runtime (ART). The DVM or ART is responsible for executing the bytecode and translating it into machine code that can be understood by the Android device's processor. Therefore, the Java source code is not directly executed on the Android device.
41.
The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?
Correct Answer
C. Sensors
Explanation
The correct answer is "Sensors". The emulator is able to emulate or simulate all aspects of a smartphone, except for the sensors. This means that while the emulator can replicate the functionality of a real phone in terms of telephony and applications, it cannot accurately replicate the behavior of sensors such as GPS, accelerometer, or gyroscope. This limitation is important to consider when developing or testing applications that heavily rely on sensor data.
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
Emulators and simulators are both used to replicate the behavior of a different system or software. However, the key difference lies in the level of imitation. Emulators imitate the machine executing the binary code, replicating the exact behavior of the original system. On the other hand, simulators simulate the behavior of the code at a higher level, focusing more on the functionality and interactions rather than replicating the exact hardware execution. Therefore, the given answer correctly explains that the main difference between a simulator and an emulator is that the emulator imitates the machine executing the binary code.
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 by any other means.
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 behavior or functionality within a program. It contains the code that defines how the activity should behave and what actions it should perform. Therefore, the correct answer is "A Java class."
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 program that allows a computer system to imitate another system. In the case of creating an emulator for Android, an AVD (Android Virtual Device) is required. An AVD is a configuration that defines the characteristics of a specific Android device, such as its hardware specifications and operating system version. By using an AVD, developers can test their applications on virtual Android devices without the need for physical devices. Therefore, the correct answer is "Android Virtual Device."
46.
The Android SDK ships with an emulator.
Correct Answer
A. True
Explanation
The statement is true because the Android SDK does indeed come with an emulator. The emulator allows developers to test their applications on virtual Android devices without the need for physical devices. This is helpful for debugging and ensuring compatibility across different devices and screen sizes.
47.
The ___________ file specifies the layout of your screen.
Correct Answer
A. Layout file
Explanation
The layout file is the correct answer because it specifies the arrangement and positioning of the user interface elements on the screen. It defines the structure and appearance of the app's UI, including the placement of buttons, text fields, images, etc. The layout file is crucial in designing the visual layout of the app and is referenced by the code to inflate and display the UI elements on the screen.
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 binds all the different parts of the application together, ensuring that they work harmoniously. Without the manifest, the application would lack structure and coherence, making it difficult for the system to properly install and run the application. 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) provides all the necessary tools and resources for developing applications for the Android platform. It includes libraries, documentation, sample code, and various development tools like compilers and debuggers. With the Android SDK, developers can create, test, and deploy their applications on Android devices. Therefore, the statement "The Android Software Development Kit (SDK) is all you need to develop applications for Android" is true.
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. The Java source code is written by the developer and contains the instructions and logic for the application. This source code is then compiled into bytecode, which is then converted into a Dalvik executable that can run on the Android platform. The R-file is used for accessing resources in the application, the emulator is used for testing the application, and the SDK (Software Development Kit) provides the necessary tools and libraries for developing Android applications.