Chapter 1
Introduction to Android
1 Introduction
Q1. Which of the following is a key technlogy for implementing Android apps?
a. Android Studio IDE (Integrated Development Environment),
b. Java
c. Android SDK (Software Development Kit)
d. All of the above.
Answer: d. All of the above.
1 Android—The World’s Leading Mobile
Operating System
No questions.
1 Android Features
Q1. One benefit of developing Android apps is the openness of the platform. The
operating system is and free. This allows you to view Android’s source
code and see how its features are implemented.
a. proprietary
b. closed source
c. open source
d. None of the above.
Answer: c. open source.
Q2. Unlike Apple’s iOS, which is available only on Apple devices,
Android is available on devices from dozens of original equipment manufacturers
(OEMs) and through numerous telecommunications carriers worldwide.
a. open source
b. proprietary
c. universal access
d. None of the above.
Answer: b. proprietary
Q3. Which of the following statements is true?
a. Android apps are developed with Java—one of the world’s most widely used
programming languages.
b. Java was a logical choice for the Android platform, because it’s powerful, free,
open source and used by millions of developers.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
,c. Experienced Java programmers can quickly dive into Android development, using
Google’s Android APIs (Application Programming Interfaces) and others available
from third parties.
d. All of the above.
Answer: d. All of the above.
Q4. GUI programming in Java is —in this book, you’ll write apps that
respond to various user-initiated events such as screen touches.
a. user driven
b. programmer driven
c. IDE driven
d. event driven.
Answer: d. event driven.
Q5. In addition to directly programming portions of your apps, you’ll also use the
Android Studio IDE to conveniently predefined objects such as buttons
and textboxes into place on your screen, and label and resize them.
a. drag and drop
b. point and click
c. copy and paste
d. None of the above.
Answer: a. drag and drop.
Q6: The multitouch screens allow you to control the device with involving
one touch or multiple simultaneous touches.
a. actions.
b. gestures.
c. gesticulations.
d. None of the above.
Answer: b. gestures.
Q7. Which gesture is used to flip item-by-item through a series, such as photos?
a. drag.
b. long press.
c. pinch zoom.
d. swipe.
Answer: d. swipe.
Q8. are software components stored on one computer that can be accessed
by an app (or other software component) on another computer over the Internet.
a. GUIs
b. Web services.
c. Classes.
d. None of the above.
Answer: b. Web services.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
,Q9. With web services, you can create , which enable you to rapidly
develop apps by quickly combining complementary web services, often from
different organizations and possibly other forms of information feeds.
a. smashups
b. match ups.
c. mashups.
d. None of the above.
Answer: c. mashups.
1 Android Operating System
Q1. In 2007, the was formed to develop, maintain and evolve Android,
driving innovation in mobile technology and improving the user experience while
reducing costs.
a. Open Handset Alliance.
b. Open Phone Alliance.
c. Open Software Foundation.
d. Open Software Alliance.
Answer: a. Open Handset Alliance.
1 Android 2.2 (Froyo)
Q1. allows you to use software and data stored in the “cloud”—i.e.,
accessed on remote computers (or servers) via the Internet and available on demand
—rather than having it stored on your desktop, notebook computer or mobile device.
a. Desktop computing.
b. Sky computing.
c. Cloud computing.
d. None of the above.
Answer: c. Cloud computing.
1 Android 2.3 (Gingerbread)
Q1. One of the most significant new features in Android 2.3 was support for
—a short-range wireless connectivity standard that enables
communication between two devices within a few centimeters. It can be used for
payments (for example, touching your Android device to a payment device on a soda
machine), exchanging data such as contacts and pictures, pairing devices and
accessories and more.
a. WiFi.
b. Bluetooth.
c. near-field coomunication (NFC).
d. None of the above.
Answer: near-field communication (NFC).
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
, 1 Android 3.0 through 3.2 (Honeycomb)
Q1. Which of the following was a new Android 3.0 developer feature:
a. fragments, which describe portions of an app’s user interface and can be combined
into one screen or used across multiple screens.
b. a persistent Action Bar at the top of the screen providing users with options for
interacting with apps.
c. ability to use multicore processor architectures for enhanced performance
d. All of the above.
Ans: d. All of the above.
1 Android 4.0 through 4.0.4 (Ice Cream Sandwich)
Q1. What key Android Ice Cream Sandwich developer feature is described by the
following? "Using the camera, compatible devices can determine the positioning of
the user’s eyes, nose and mouth. The camera also can track the user’s eye movement,
allowing you to create apps that change perspective, based on where the user is
looking."
a. Social API.
b. Virtual camera operator.
c. Accessibility API.
d. Face detection.
Answer: d. Face detection.
1 Android 4.1–4.3 (Jelly Bean)
Q1. Which of the following is a set of APIs for incorporating Google functionality
into your apps?
a. Google Android Services
b. Google App Services
c. Google Play Services.
d. None of the above.
Answer: c. Google Play Services.
1 Android 4.4 (KitKat)
Q1. Which Android KitKat feature is described by the following: "The status bar at
the top of the screen and the menu buttons at the bottom can be hidden, allowing
your apps to fill more of the screen. Users can access the status bar by swiping down
from the top of the screen, and the system bar (with the back button, home button and
recent apps button) by swiping up from the bottom."
a. full-screen mode.
b. immersive mode.
c. immersion mode.
d. None of the above.
Answer: b. immersive mode.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
Introduction to Android
1 Introduction
Q1. Which of the following is a key technlogy for implementing Android apps?
a. Android Studio IDE (Integrated Development Environment),
b. Java
c. Android SDK (Software Development Kit)
d. All of the above.
Answer: d. All of the above.
1 Android—The World’s Leading Mobile
Operating System
No questions.
1 Android Features
Q1. One benefit of developing Android apps is the openness of the platform. The
operating system is and free. This allows you to view Android’s source
code and see how its features are implemented.
a. proprietary
b. closed source
c. open source
d. None of the above.
Answer: c. open source.
Q2. Unlike Apple’s iOS, which is available only on Apple devices,
Android is available on devices from dozens of original equipment manufacturers
(OEMs) and through numerous telecommunications carriers worldwide.
a. open source
b. proprietary
c. universal access
d. None of the above.
Answer: b. proprietary
Q3. Which of the following statements is true?
a. Android apps are developed with Java—one of the world’s most widely used
programming languages.
b. Java was a logical choice for the Android platform, because it’s powerful, free,
open source and used by millions of developers.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
,c. Experienced Java programmers can quickly dive into Android development, using
Google’s Android APIs (Application Programming Interfaces) and others available
from third parties.
d. All of the above.
Answer: d. All of the above.
Q4. GUI programming in Java is —in this book, you’ll write apps that
respond to various user-initiated events such as screen touches.
a. user driven
b. programmer driven
c. IDE driven
d. event driven.
Answer: d. event driven.
Q5. In addition to directly programming portions of your apps, you’ll also use the
Android Studio IDE to conveniently predefined objects such as buttons
and textboxes into place on your screen, and label and resize them.
a. drag and drop
b. point and click
c. copy and paste
d. None of the above.
Answer: a. drag and drop.
Q6: The multitouch screens allow you to control the device with involving
one touch or multiple simultaneous touches.
a. actions.
b. gestures.
c. gesticulations.
d. None of the above.
Answer: b. gestures.
Q7. Which gesture is used to flip item-by-item through a series, such as photos?
a. drag.
b. long press.
c. pinch zoom.
d. swipe.
Answer: d. swipe.
Q8. are software components stored on one computer that can be accessed
by an app (or other software component) on another computer over the Internet.
a. GUIs
b. Web services.
c. Classes.
d. None of the above.
Answer: b. Web services.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
,Q9. With web services, you can create , which enable you to rapidly
develop apps by quickly combining complementary web services, often from
different organizations and possibly other forms of information feeds.
a. smashups
b. match ups.
c. mashups.
d. None of the above.
Answer: c. mashups.
1 Android Operating System
Q1. In 2007, the was formed to develop, maintain and evolve Android,
driving innovation in mobile technology and improving the user experience while
reducing costs.
a. Open Handset Alliance.
b. Open Phone Alliance.
c. Open Software Foundation.
d. Open Software Alliance.
Answer: a. Open Handset Alliance.
1 Android 2.2 (Froyo)
Q1. allows you to use software and data stored in the “cloud”—i.e.,
accessed on remote computers (or servers) via the Internet and available on demand
—rather than having it stored on your desktop, notebook computer or mobile device.
a. Desktop computing.
b. Sky computing.
c. Cloud computing.
d. None of the above.
Answer: c. Cloud computing.
1 Android 2.3 (Gingerbread)
Q1. One of the most significant new features in Android 2.3 was support for
—a short-range wireless connectivity standard that enables
communication between two devices within a few centimeters. It can be used for
payments (for example, touching your Android device to a payment device on a soda
machine), exchanging data such as contacts and pictures, pairing devices and
accessories and more.
a. WiFi.
b. Bluetooth.
c. near-field coomunication (NFC).
d. None of the above.
Answer: near-field communication (NFC).
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.
, 1 Android 3.0 through 3.2 (Honeycomb)
Q1. Which of the following was a new Android 3.0 developer feature:
a. fragments, which describe portions of an app’s user interface and can be combined
into one screen or used across multiple screens.
b. a persistent Action Bar at the top of the screen providing users with options for
interacting with apps.
c. ability to use multicore processor architectures for enhanced performance
d. All of the above.
Ans: d. All of the above.
1 Android 4.0 through 4.0.4 (Ice Cream Sandwich)
Q1. What key Android Ice Cream Sandwich developer feature is described by the
following? "Using the camera, compatible devices can determine the positioning of
the user’s eyes, nose and mouth. The camera also can track the user’s eye movement,
allowing you to create apps that change perspective, based on where the user is
looking."
a. Social API.
b. Virtual camera operator.
c. Accessibility API.
d. Face detection.
Answer: d. Face detection.
1 Android 4.1–4.3 (Jelly Bean)
Q1. Which of the following is a set of APIs for incorporating Google functionality
into your apps?
a. Google Android Services
b. Google App Services
c. Google Play Services.
d. None of the above.
Answer: c. Google Play Services.
1 Android 4.4 (KitKat)
Q1. Which Android KitKat feature is described by the following: "The status bar at
the top of the screen and the menu buttons at the bottom can be hidden, allowing
your apps to fill more of the screen. Users can access the status bar by swiping down
from the top of the screen, and the system bar (with the back button, home button and
recent apps button) by swiping up from the bottom."
a. full-screen mode.
b. immersive mode.
c. immersion mode.
d. None of the above.
Answer: b. immersive mode.
© Copyright 2017 by Pearson Education, Inc. All Rights Reserved.