Professional Documents
Culture Documents
Answer: False
3. An Adapter object is used to connect the UI component of an Android app to a data source.
Answer: True
Answer: False
Answer: True
6. To get the full functionality of the ListActivity, the ListView widget can have any @+id that makes
sense.
Answer: False
7. To get the tap of an item in a list to do more work, such as start another activity, you have to add a
listener to the ListView widget.
Answer: True
8. For proper execution, ArrayList must be told what type of objects it can hold.
Answer: True
Answer: False
10. A list adapter creates a list item for every item in the underlying data source.
Answer: False
Answer: False
12. Changes to the underlying data source are not automatically displayed on the list.
Answer: True
13. The only way to change the app’s first activity is to modify the manifest file.
Answer: True
6.2 Multiple Choice Questions
1. Which of the following is not a subclass of AdapterView, a view that is bound to an underlying
data source?
A. ListView
B. GridView
C. Spinner
D. TableView
Answer: D
2. Which of the following IDs allows the developer to take advantage of built-in features of the SDK
for displaying data in a vertically scrollable form?
A. @id/android:list
B. @id/android:scrollableList
C. @+id/autoList
D. @+id/listView1
Answer: A
Answer: B
Answer: C
Answer: B
6. Which of the following best explains the following code: ArrayList<Time> myTimes;
A. Assigns the myTimes object to an ArrayList that can hold Time objects
B. Instantiates an ArrayList object that can only hold Time objects
C. Instantiates a Time object within an ArrayList called myTimes
D. Declares a variable called myTimes as an ArrayList that can only hold Time objects
Answer: D
Answer: C
8. Which of the following is the correct code to advance the cursor one record in the dataset?
A. cursor.move();
B. cursor.moveToNext() ;
C. cursor.step() ;
D. cursor.move(1);
Answer: B
9. Which of the following is the correct code to determine if the cursor is at the end of the dataset?
A. cursor.isDone()
B. cursor.atEnd()
C. cursor.isLast()
D. cursor.isAfterLast()
Answer: D
10. Which of the following will retrieve integer data from the second item in the current record of
the dataset?
A. cursor.getInt(1) ;
B. cursor.getInt(2) ;
C. cursor.intValueOf(1) ;
D. cursor.intValueOf(2) ;
Answer: A
11. The code getListView() replaces which of the following lines of code?
A. (ListView) getList(Id.list) ;
B. (ListView) findViewById(R.id.list) ;
C. (List) getListById(list) ;
D. getList(R.id.listView) ;
Answer: B
12. Which types of widgets, by default, control all clicks of a list item?
A. Button.
B. EditText.
C. No widgets do that.
D. All widgets that respond to a user event.
Answer: D
14. Which of the following best describes the function of the getView method in a custom adapter?
A. Retrieves any instance of View
B. Creates a list item view and puts data in it
C. Creates or reuses a list item and populates it with the required data
D. Reuses a list item view
Answer: C
15. What is the term used to describe making a layout usable in code?
A. Instantiate
B. Inflate
C. Create
D. Substantiate
Answer: B
Answer: A
Answer: B
Answer: D
19. Which of the following is used to notify the ListView to update its display because the
underlying data was changed?
A. refreshDisplay() ;
B. displayNeedsRefreshing() ;
C. notifyDataSetChanged() ;
D. updateWithChangedData() ;
Answer: C
20. How do you stop a list item from responding to a user click?
A. Set the list’s onItemClickListener to null ;
B. RemoveOnClickListener() ;
C. Reload the ListView with a new adapter.
D. disableOnClickListener(true) ;
Answer: A
21. Which of the following is the best description of when the onResume method will execute?
A. At activity start
B. Anytime the activity is about to become visible
C. Immediately after the user touches any part of the app UI
D. Whenever the user navigates between activities
Answer: B
Answer: False
2. A LocationListener must be instantiated for the location sensor you want to get location data from.
Answer: True
3. A location change identified by the location sensor is broadcast as an Intent with Extras.
Answer: False
Answer: True
6. You need an Application Program Interface key to display maps on an Android device.
Answer: True
8. A Location object reports latitude and longitude but not accuracy. Accuracy is reported by the
listener directly.
Answer: False
9. To use maps, you must implement code provided by Google that has nothing to do with map
functionality.
Answer: False
Answer: True
11. Your app must always check to see that the new reported location is better than the last reported
location.
Answer: False
Answer: False
13. A map type (satellite, street) is set at map creation and cannot be changed.
Answer: False
14. A change in accuracy is reported as a new Location.
Answer: True
Answer: True
16. You cannot get a device’s GPS location from a Google map.
Answer: False
Answer: False
18. The standard marker on a GoogleMap object can be replaced with a custom image.
Answer: True
Answer: C
Answer: A
Answer: B
4. Where is your Android Map's API key embedded in the app?
A. The MapFragment
B. The GoogleMap object
C. The onCameraActivate method
D. The manifest file
Answer: D
Answer: B
6. Which of the following is the correct variable declaration to hold the results of a call to the
Geocoding service?
A. Coordinates returnedCoords
B. Address[] returnedAddresses
C. List<Address> returnedAddresses
D. Array[Address] returnedAddresses
Answer: C
7. Why should the call to the Geocoder service be protected with a try and catch statement?
A. Because the results of the call to the service are outside the control of the developer.
B. Because Geocoding is inherently error prone. There might not be a GPS location.
C. Because Geocoding is not in the Android SDK.
D. It should not be used with a try and catch.
Answer: A
Answer: B
9. What is a Toast?
A. An object created when the GPS or network sensors fail to detect any location
B. An object created when the sensors produce a location detection outside the bounds of the
requestUpdates parameters
C. An object that reports errors through onLocationChanged
D. An object that displays a short message on the user screen for limited amount of time
Answer: D
10. Which of the following objects can turn off the GPS sensor?
A. LocationManager
B. LocationListener
C. LocationSensor
D. GPSManager
Answer: A
Answer: D
12. After your app sets MyLocationEnabled to true, what do you need to do to detect the device’s
location?
A. Nothing. Enabling this displays and reports GPS coordinates to the map.
B. Add a OnMyLocationChangeListener to the FragmentActivity.
C. Add the onMyLocationChanged method to the FragmentActivity.
D. Set a new LatLng point to track the device’s location.
Answer: B
13. Which of the following is NOT a type of map that can be set for a GoogleMap object?
A. NORMAL
B. SATELLITE
C. TERRAIN
D. STREET
Answer: D
14. Which of the following is the method that is used to zoom the map to a specific location?
A. animateCamera
B. zoomTo
C. displayMap
D. zoomLevel
Answer: A
15. Which of the following is the correct method to add a marker to a GoogleMap object?
A. displayMarker
B. animateMarker
C. addMarker
D. addPinWithImage
Answer: C
16. Which of the following objects is used to collect a set of locations for display on a GoogleMap
object?
A. LatLngSet
B. LatLngBounds.Builder
C. LatLngPointSet
D. GpsPointSet.BoundingBox
Answer: B
Answer: False
Answer: False
3. The choice of minimum and target SDK limits how you can design your app.
Answer: True
4. Most of the core functionality of an app is provided by an activity and its associated screen (called
a layout).
Answer: True
Answer: True
6. The Android Manifest file is used by the Android operating system to properly implement the
app’s life cycle.
Answer: False
Answer: True
8. The Android Emulator provided by Eclipse can be configured to emulate many types of Android
devices.
Answer: True
9. The Android screen or layout is designed primarily with the visual editor.
Answer: False
10. To add behavior to a button on a layout, you must get a reference to it in the associated activity.
Answer: True
Answer: B
3. What is a workspace?
A. A folder on your computer where Eclipse keeps your projects
B. A folder in the Android app project where source code is stored
C. The location where you grab widgets to drag on to the layout
D. The location in Eclipse where you write Java code
Answer: A
Answer: C
5. How do you limit which Android devices can download your app?
A. By setting the <allowed-devices> element in the Android manifest
B. By setting the application’s minimum and target SDK
C. By setting the target device in the AVD manager
D. Not possible, all Android devices can download apps from the Play Store
Answer: B
Answer: C
Answer: A
8. Which of the following holds text values for use in an Android app?
A. textvalues.xml
B. text.xml
C. values.xml
D. strings.xml
Answer: D
9. Why does Android want you to store text values associated with a layout in a file rather than
hardcode them?
A. They are taking reusable coding to the extreme.
B. To ease app maintenance.
C. So the text can more easily be adapted to different languages.
D. So the layouts can be used in more than one app.
Answer: C
10. Which of the following files holds configuration information for an Android app?
A. config.xml
B. your_app_name.xml
C. android.xml
D. AndroidManifest.xml
Answer: D
Answer: B
Answer: D
Answer: A
15. Which of the following is used to pass data between activities in an app?
A. Bundle
B. Structure
C. Package
D. DataExtra
Answer: A
16. Which of the following best describes the use of the findViewById method?
A. To open a view on an activity’s layout
B. To get a reference to a widget on an activity’s layout
C. To find a widget in the Palette
D. To cast an object to a button
Answer: B
Answer: C
Answer: False
2. The operating system on a mobile device is not a true multitasking operating system.
Answer: True
Answer: False
4. All apps must be designed to handle changes in the apps life cycle.
Answer: True
5. Both Android and iOS have an app and a view life cycle.
Answer: False
6. In both Android and iOS, you should turn off system services being used by the app when the
app moves out of the running state.
Answer: True
7. When the user changes the orientation of the device, the app that is running at the time remains in
the running state.
Answer: False
Answer: False.
9. Vertical scrolling is good for lists but should be used in a more limited fashion for other types of
screen elements.
Answer: True
10. Uploading and downloading of data should be done outside the main thread of the app.
Answer: True
11. Uploading data outside the main thread of the app eliminates the need to check whether it has
completed successfully.
Answer: False
Answer: False
Answer: False
2.2 Multiple Choice Questions
1. Which of the following is NOT an important design consideration for the app developer?
A. The app life cycle
B. Screen size
C. Connectivity problems
D. Programming language limitations
Answer: D
2. Instead of multitasking, a mobile operating system places apps in different ______ when it
changes between running apps.
A. Life cycles
B. States
C. Memory locations
D. Positions
Answer: B
3. What is the difference between the Paused and the Stopped states in the Android life cycle?
A. In the Stopped state, all hardware resources used by the app are automatically stopped. In the
Paused state, they are stopped only if the developer codes them to stop.
B. In the Paused state, the activity is no longer visible. In the Stopped state, the activity’s resources
are reclaimed by the operating system.
C. In the Paused state, the user can see but not interact with the activity. In the Stopped state, the
activity is not visible.
D. There is no difference.
Answer: C
4. In iOS, the proper life cycle method to load data into a view is ______.
A. viewDidLoad:
B. viewWillAppear:
C. application:didFinishLaunchingwithOptions:
D. dataWillDisplay:
Answer: B
5. The proper life cycle method to save app status is _____ in Android and _____ in iOS.
A. onPause, viewWillDisappear:
B. onResume, viewWillAppear:
C. onStopped, viewDidUnload:
D. onDestroy, applicationDidEnterBackground:
Answer A.
6. Horizontal scrolling is an important part of user interface design that should be used when
A. The elements needed for a complete design will not fit on the screen.
B. Only when an element on the screen needs to extend horizontally.
C. Only when the device is in a horizontal orientation. It should not be used in the vertical
orientation.
D. A horizontal layout makes more sense than a vertical layout.
Answer: B
Answer: A
Answer: D
9. When an app downloads data, that download should be performed asynchronously unless
A. The connection is immediately established.
B. A data signal of 3G or greater is available.
C. The user cannot perform work with the app without the data.
D. The data is less than 5K in size.
Answer: C
10. Which of the following is NOT a reason that connectivity can be lost?
A. The device moves.
B. The user has the device in airplane mode.
C. The app has both a 3G and Wi-Fi connection.
D. Machinery or other sources produce signal interference.
Answer C
Answer: A
12. To reduce an app's drain on the battery, the app should do which of the following?
A. Never use any sensors.
B. Monitor to determine whether a sensor reading needs an update before it uses the sensor.
C. Shut down all activity when an app is paused.
D. Use sensors only on start up.
Answer: B
13. When designing an app that uses hardware sensors, two important aspects to consider with the
sensor readings are ____ and _____.
A. Hardware availability, distribution
B. Accuracy, speed of acquisition
C. Availability, start-up time
D. Accessibility, communication status
Answer: B
14. When designing an app that uses hardware sensors, what is it important to plan for if the device
cannot provide a reading?
A. What the user can do with the app without the data provided by the sensor
B. How to enter the data manually
C. Where to direct the user to turn on the sensor
D. When to turn off the sensor
Answer: A
15. If desired sensor accuracy cannot be attained immediately, what should the app be designed to
do?
A. Block the user until the desired accuracy level can be achieved.
B. Let the user continue working with the app, but inform the user of progress toward achieving the
desired level of accuracy.
C. Let the user continue working with the app.
D. Inform the user that the accuracy level has not been achieved.
Answer: B
16. What happens to a running app if a hardware button is pressed on either platform?
A. The app is destroyed.
B. The app moves from the running state to another state.
C. The app is paused.
D. The app is resumed.
Answer: B
1. Mobile devices have most of the same features as traditional computing devices.
Answer: True
2. The usability of mobile devices is typically worse than a traditional computing device, such as a
desktop computer.
Answer: False
3. Smartphone sales are far behind the number of traditional PCs sold.
Answer: False
4. Mobile devices can be used to increase customer loyalty and brand awareness.
Answer: True
5. Drastic changes in technology enable new business processes and can have profound implications
for how business is conducted.
Answer: True
6. The cheaper a technology is, the less impact it will likely have on business processes.
Answer: False
7. Mobile technology may cause an aggressive approach to business process engineering when
implementing the mobile technology.
Answer: True
8. Most business apps are sold for much higher prices than consumer apps.
Answer: True
9. One of the major challenges for mobile app developers is distributing their apps and managing
payments from customers.
Answer: False
10. Developing a mobile app has the potential to make significant amounts of money for its creator.
Answer: True
11. App developers have to be very creative in coming up with a good strategy for making
significant money from apps that are available in the app stores.
Answer: True
1. Which of the following is NOT a way that a mobile device can communicate with other devices
and networks?
A. Wi-Fi
B. Bluetooth
C. Cellular data
D. GPS
Answer: D
2. Which of the following is most appropriate to use for communication when the mobile device is a
few feet away from another device?
A. Wi-Fi
B. Bluetooth
C. NFC
D. Cellular
Answer: B
Answer: D
4. The best way to engage customers on a mobile device is by implementing which of the following?
A. A mobile version of the organization’s website
B. A mobile app
C. A way to allow customers to pay with NFC
D. Advertising sent by text message (SMS)
Answer: B
5. Which of the following is NOT an advantage of a mobile app over a mobile version of the
company’s website?
A. Full access to device hardware
B. Capability to interact with the service when disconnected from the network
C. Easier to update the content
D. More responsive and richer user interface experience
Answer: C
6. Which of the following is NOT an approach that companies use to engage users on mobile
devices?
A. Interacting with their brand in a positive way through a game
B. Letting customers purchase products or services through an app
C. Giving customers access to their customer data
D. Using the device’s hardware sensors, such as a camera, to let customers interact with the
company’s offerings
E. All of the above
Answer: E
Answer: B
8. Which of the following is NOT an advantage for small businesses in adopting mobile technology
compared to traditional computing platforms?
A. Less costly
B. Less complex
C. Easily available to all employees
D. Able to reduce the number of employees.
Answer: D
9. When insurance customers are able to submit claims from their smartphone using a dedicated app
developed by the insurance company, the benefit to the insurance company would NOT include:
A. More detailed and accurate descriptions of the event
B. Lower processing costs
C. Lower insurance payouts
D. Timelier reports of claims
Answer: C
10. Which of the following is NOT a service handled by Apple and Google through their app stores?
A. Billing
B. Support for end users
C. Distribution of apps
D. Returns
E. Marketing of apps
Answer: B
11. Which of the following is NOT a common way for app developers to make money from their
apps through an app store?
A. In-App purchases
B. Merchandising
C. Have users pay for the app up front
D. Advertising within the app
E. Subscriptions
Answer: B
Answer: A
13. Which of the following is NOT a reason identified by the chapter for mobile technology being
more than a fad?
A. Mobile technology allows businesses to reach their customers in new ways.
B. Mobile technology automates the business process.
C. Mobile technology enables business process change.
D. Mobile technology provides a marketplace for people to easily sell their apps.
Answer: B
14. Which of the following is NOT a reason that mobile devices are considered transformative?
A. They are easily transportable and becoming ubiquitous.
B. They are aware of their environment.
C. They have the capability to communicate with other computing devices through a variety of
mechanisms.
D. They have the capability to allow data input by the user.
Answer: D
Answer: C
Flag question
Question text
b. False
Feedback
The correct answer is: False
Question 2
Not answered
Marked out of 1.00
Flag question
Question text
What is a Toast?
Select one:
a. An object created when the GPS or network sensors fail to detect any location
b. An object that displays a short message on the user screen for limited amount of time
c. An object that reports errors through onLocationChanged
d. An object created when the sensors produce a location detection outside the bounds of
the requestUpdates parameters
Feedback
The correct answer is: An object that displays a short message on the user screen for limited
amount of time
Question 3
Not answered
Marked out of 1.00
Flag question
Question text
To use both the network and GPS location services, you must instantiate two
LocationManagers.
Select one:
a. True
b. False
Feedback
Flag question
Question text
Which of the following objects can turn off the GPS sensor?
Select one:
a. LocationSensor
b. LocationManager
c. LocationListener
d. GPSManager
Feedback
Flag question
Question text
b. True
Feedback
The correct answer is: An object that is created when a location change is detected by the
network or GPS sensor.
Question 7
Not answered
Marked out of 1.00
Flag question
Question text
Which of the following will retrieve integer data from the second item in the current record
of the dataset?
Select one:
a. cursor.getInt(1) ;
b. cursor.intValueOf(1) ;
c. cursor.intValueOf(2) ;
d. cursor.getInt(2) ;
Feedback
Flag question
Question text
Which of the following is the correct code to advance the cursor one record in the dataset?
Select one:
a. cursor.move();
b. cursor.move(1);
c. cursor.moveToNext() ;
d. cursor.step() ;
Feedback
Flag question
Question text
Which of the following is the method that is used to zoom the map to a specific location?
Select one:
a. displayMap
b. animateCamera
c. zoomLevel
d. zoomTo
Feedback
Flag question
Question text
Why should the call to the Geocoder service be protected with a try and catch statement?
Select one:
a. Because Geocoding is not in the Android SDK.
b. It should not be used with a try and catch.
c. Because the results of the call to the service are outside the control of the developer.
d. Because Geocoding is inherently error prone. There might not be a GPS location.
Feedback
The correct answer is: Because the results of the call to the service are outside the control of
the developer.
Question 11
Not answered
Marked out of 1.00
Flag question
Question text
b. False
Feedback
Which of the following objects limits what a BroadcastReceiver can respond to?
Select one:
a. EventFilter
b. IntentFilter
c. ReceivedAction
d. ActionResponder
Feedback
Flag question
Question text
b. False
Feedback
b. False
Feedback
Flag question
Question text
Access to the phone and camera is made through calls to their API.
Select one:
a. False
b. True
Feedback
Flag question
Question text
The SensorManager broadcasts every few seconds with an update on the sensor’s status.
Select one:
a. False
b. True
Feedback
Flag question
Question text
b. True
Feedback
Flag question
Question text
The correct answer is: A system service used by an app to interact with a sensor
Question 19
Not answered
Marked out of 1.00
Flag question
Question text
What is the function of the requestCode when you execute the method
startActivityForResult?
Select one:
a. It is used by the onActivityResult method to determine if the result it received is one it
should respond to.
b. It is used by the Android OS to determine which service to start.
c. It is used by the IntentFilter to identify which service to start.
d. It is used by the Android OS to determine if the app has permission to start a service.
Feedback
The correct answer is: It is used by the onActivityResult method to determine if the result it
received is one it should respond to.
Question 20
Not answered
Marked out of 1.00
Flag question
Question text
d. A URL identifies a resource anywhere, whereas a URI can only be used to access a
resource external to an app.
Feedback
The correct answer is: A URL identifies a location on the Web, whereas a URI can be used to
identify a local resource.
Question 21
Not answered
Marked out of 1.00
Flag question
Question text
A Universal iOS app is one that can run on iPads, iPhones, and iPod touches.
Select one:
a. True
b. False
Feedback
Flag question
Question text
A Universal iOS app can run on which of the following types of devices?
Select one:
a. iPod touch
b. iPhone
c. All of the options mentioned
d. iPad
Feedback
Flag question
Question text
How do you limit which iOS devices can download your app?
Select one:
a. Not possible. All iOS devices can download apps from the App Store.
b. By setting the app’s minimum Scheme number.
c. By changing the Deployment Target setting on the Project Summary screen.
d. By setting the target device setting in the app’s Plist file.
Feedback
The correct answer is: By changing the Deployment Target setting on the Project Summary
screen.
Question 24
Not answered
Marked out of 1.00
Flag question
Question text
The keyboard that shows up when the user types in text can be configured to fit the type of
data the user is expected to enter.
Select one:
a. False
b. True
Feedback
Flag question
Question text
b. False
Feedback
Flag question
Question text
Which type of file contains the program logic for a portion of an app?
Select one:
a. AppDelegate.swift
b. Main.Storyboard
c. ViewController.swift
d. Images.xcassets
Feedback
The correct answer is: ViewController.swift
Question 27
Not answered
Marked out of 1.00
Flag question
Question text
b. False
Feedback
Flag question
Question text
The correct answer is: Changes the device used by the simulator
Question 29
Not answered
Marked out of 1.00
Flag question
Question text
d. The method that is called when the user interacts with a UI control
Feedback
The correct answer is: The method that is called when the user interacts with a UI control
Question 30
Not answered
Marked out of 1.00
Flag question
Question text
The correct answer is: A blank version of the app’s first screen.
Question 31
Not answered
Marked out of 1.00
Flag question
Question text
Flag question
Question text
To avoid having Apple or Google take a cut of a developer's revenue, users can buy
subscriptions on the developer’s website.
Select one:
a. True
b. False
Feedback
b. False
Feedback
Flag question
Question text
Apps developed for one mobile platform can be recompiled to work on other platforms.
Select one:
a. False
b. True
Feedback
Flag question
Question text
After buying an app, the user will get free updates as long as the app stays in the app store.
Select one:
a. False
b. True
Feedback
Flag question
Question text
b. False
Feedback
Flag question
Question text
Google takes 30% of the app sales price for apps in the Play Store.
Select one:
a. True
b. False
Feedback
The correct answer is: True
Question 38
Not answered
Marked out of 1.00
Flag question
Question text
d. 10%
Feedback
Flag question
Question text
Which mobile platform has the largest potential for generating revenue for developers?
Select one:
a. Android
b. Blackberry
c. iOS
d. Windows Phone
Feedback
Flag question
Question text
Which of these do NOT involve extra work when developing an app for multiple platforms
compared to a single platform?
Select one:
a. Programming the business logic
b. Designing user experience and interface
c. Keeping apps updated in multiple marketplaces
Flag question
Question text
d. App Store
Feedback
Flag question
Question text
d. 10
Feedback
Flag question
Question text
Apple has strict requirements for apps published in the App Store, but Google does not
have any for the Play Store.
Select one:
a. True
b. False
Feedback
Publishing iOS apps in an organization requires a different license than the one needed to
publish an app in the App Store.
Select one:
a. True
b. False
Feedback
Flag question
Question text
Published apps are automatically updated for the latest iOS by Apple. However, Android
apps must be updated by the developer.
Select one:
a. False
b. True
Feedback
Flag question
Question text
The correct answer is: The organization that produced the app
Question 47
Not answered
Marked out of 1.00
Flag question
Question text
Apple reviews all apps prior to publishing them in the App Store. Google does not review
apps prior to publication in the Play Store.
Select one:
a. False
b. True
Feedback
Flag question
Question text
What is the minimum number of real devices that an iOS developer should test his/her app
on?
Select one:
a. 1
b. 2 (iPad and iPhone)
c. 0
The correct answer is: Each device type and iOS version the app targets
Question 49
Not answered
Marked out of 1.00
Flag question
Question text
d. Frequent OS releases.
Feedback
The correct answer is: Multiple device configurations including OS versions, screen sizes, and
resolutions.
Question 50
Not answered
Marked out of 1.00
Flag question
Question text
Which of the following best describes unit testing?
Select one:
a. Testing to ensure that individual components of an app meet all functional specifications
b. Testing to ensure that the app meets all specifications
c. Testing to make sure every button works
d. Testing to make sure the user can use the app effectively
Feedback
The correct answer is: Testing to ensure that individual components of an app meet all
functional specifications
Finish review
◄ 2022 - Contact - Written Assignment 2
Jump to...
vv
Question 6
Not answered
Marked out of 1.00
Question 7
Not answered
Marked out of 1.00
Question 8
Not answered
Marked out of 1.00
Which of the following is the correct method to add a marker to a GoogleMap object?
Select one:
a. animateMarker
b. addMarker
c. displayMarker
d. addPinWithImage
The correct answer is: addMarker
Which of the following is the correct code to advance the cursor one record in the dataset?
Select one:
a. cursor.move(1);
b. cursor.move();
c. cursor.moveToNext() ;
d. cursor.step() ;
The correct answer is: cursor.moveToNext() ;
How do you stop a widget from controlling all user actions on a list item?
Select one:
a. Set the widget’s focusAfterParent attribute to true.
b. This does not need to be done. No widget can take over the parent list item.
c. Set the widget’s enabled attribute to false.
d. Set the following widget attributes to false: focusable and focusableInTouchMode.
The correct answer is: This does not need to be done. No widget can take over the parent list
item.
Question 9
Not answered
Marked out of 1.00
Question 10
Not answered
Marked out of 1.00
Question 11
Not answered
Marked out of 1.00
Which of the following is the best description of a Location object?
Select one:
a. An object that detects a change in location reported by the network or GPS sensor.
b. Any object that contains location or Geocoding data.
c. An object that responds to onLocationChanged.
d. An object that is created when a location change is detected by the network or GPS sensor.
The correct answer is: An object that is created when a location change is detected by the
network or GPS sensor.
Which of the following best describes the function of the onBindViewHolder method in
RecyclerView.Adapter?
Select one:
a. Populates a ViewHolder with the required data
b. Retrieves any instance of ViewHolder
c. Reuses a list item view
d. Creates a list item view and puts data in it
The correct answer is: Populates a ViewHolder with the required data
All hardware features on an Android device are accessed through a Manager.
Select one:
a. False
b. True
The correct answer is: False
Question 12
Not answered
Marked out of 1.00
Question 13
Not answered
Marked out of 1.00
Question 14
Not answered
Marked out of 1.00
What is a sensor?
Select one:
a. Any hardware resource on an Android device
b. A device that reports the status of hardware components, such as the battery, on an Android
device
c. A hardware device that is used by the Android device to interact with its environment or other
devices
d. A hardware device that captures information about the Android device’s environment
The correct answer is: A hardware device that captures information about the Android device’s
environment
The SensorManager object is never instantiated. It is a system service.
Select one:
a. True
b. False
The correct answer is: True
Which of the following objects limits what a BroadcastReceiver can respond to?
Select one:
a. ReceivedAction
b. IntentFilter
c. EventFilter
d. ActionResponder
The correct answer is: IntentFilter
Question 15
Not answered
Marked out of 1.00
Question 16
Not answered
Marked out of 1.00
Question 17
Not answered
Marked out of 1.00
An IntentFilter is used with a BroadcastReceiver to limit the Intents that it responds to.
Select one:
a. True
b. False
The correct answer is: True
BroadcastReceivers must be registered with the appropriate Manager to receive broadcast
Intents.
Select one:
a. False
b. True
The correct answer is: True
To use a sensor, you must instantiate a SensorEventListener.
Select one:
a. False
b. True
The correct answer is: True
Question 18
Not answered
Marked out of 1.00
Question 19
Not answered
Marked out of 1.00
Question 20
Not answered
Marked out of 1.00
Which of the following data is needed to start an Activity for a result?
Select one:
a. The name of the service to start and a result Intent
b. An Intent that identifies the service to start and a unique code to identify the result
c. The service to start and a timestamp for the request
d. An Intent that identifies the service to start and the BroadcastReceiver that will respond to the
result
The correct answer is: An Intent that identifies the service to start and a unique code to identify
the result
Which of the following best describes a BatteryManager, Power Manager, and StorageManager?
Select one:
a. Objects that are instantiated by an app to monitor the specific device
b. Objects that produce the appropriate event when status changes (for example, BatteryEvent).
c. System services that monitor the status of hardware on the Android device
d. Objects that listen for hardware status changes
The correct answer is: System services that monitor the status of hardware on the Android device
Before an image can be stored in the SQLite database, it must convert to a _____?
Select one:
a. Bitmap
b. ImageMap
c. Blob
d. ByteArray
The correct answer is: ByteArray
Question 21
Not answered
Marked out of 1.00
Question 22
Not answered
Marked out of 1.00
Question 23
Not answered
Marked out of 1.00
The launch image is recommended to contain information about the developers of the app.
Select one:
a. True
b. False
The correct answer is: False
Wiring up an action will add a method to the underlying code.
Select one:
a. True
b. False
The correct answer is: True
Eclipse is the IDE most commonly used to develop iOS apps.
Select one:
a. True
b. False
The correct answer is: False
Question 24
Not answered
Marked out of 1.00
Question 25
Not answered
Marked out of 1.00
Question 26
Not answered
Marked out of 1.00
How do you limit which iOS devices can download your app?
Select one:
a. By setting the app’s minimum Scheme number.
b. By setting the target device setting in the app’s Plist file.
c. Not possible. All iOS devices can download apps from the App Store.
d. By changing the Deployment Target setting on the Project Summary screen.
The correct answer is: By changing the Deployment Target setting on the Project Summary
screen.
A Universal iOS app is one that can run on iPads, iPhones, and iPod touches.
Select one:
a. False
b. True
The correct answer is: True
The app delegate contains graphics for use in the app.
Select one:
a. True
b. False
The correct answer is: False
Question 27
Not answered
Marked out of 1.00
Question 28
Not answered
Marked out of 1.00
Question 29
Not answered
Marked out of 1.00
A Universal iOS app can run on which of the following types of devices?
Select one:
a. iPad
b. iPod touch
c. All of the options mentioned
d. iPhone
The correct answer is: All of the options mentioned
Which of the following is NOT a graphic asset that is used with an iOS app?
Select one:
a. Profile picture
b. App Store icon
c. App Icon
d. Launch image
The correct answer is: Profile picture
What is the effect of changing the Scheme within Xcode?
Select one:
a. Changes the minimum iOS version that the app will target
b. Changes the look and feel of the app
c. Changes the device used by the simulator
d. Determines which set of icons to use in the app
The correct answer is: Changes the device used by the simulator
Question 30
Not answered
Marked out of 1.00
Question 31
Not answered
Marked out of 1.00
Question 32
Not answered
Marked out of 1.00
What is Apple’s recommendation about the content of the launch image?
Select one:
a. A blank version of the app’s first screen.
b. Information about the developers of the app and the app version number.
c. Nothing. A launch image is not recommended by Apple.
d. A splash screen with a graphic that represents the app.
The correct answer is: A blank version of the app’s first screen.
Ads on Android devices pay for both clicks and impressions.
Select one:
a. True
b. False
The correct answer is: False
Which type of app is likely to be able to command a price premium?
Select one:
a. Apps that solve business problems
b. Contact List apps
c. Apps that take advantage of most of the sensors on the device
d. High-graphic games
The correct answer is: Apps that solve business problems
Question 33
Not answered
Marked out of 1.00
Question 34
Not answered
Marked out of 1.00
Question 35
Not answered
Marked out of 1.00
After buying an app, the user will get free updates as long as the app stays in the app store.
Select one:
a. False
b. True
The correct answer is: True
Developers can make money from apps without selling the apps.
Select one:
a. False
b. True
The correct answer is: True
To avoid having Apple or Google take a cut of a developer's revenue, users can buy
subscriptions on the developer’s website.
Select one:
a. False
b. True
The correct answer is: True
Question 36
Not answered
Marked out of 1.00
Question 37
Not answered
Marked out of 1.00
Question 38
Not answered
Marked out of 1.00
Which framework allows for serving up ads on Android devices?
Select one:
a. AdSense
b. AdMob
c. gAd
d. iAd
The correct answer is: AdMob
Apps developed for one mobile platform can be recompiled to work on other platforms.
Select one:
a. False
b. True
The correct answer is: False
Which framework is needed to support in-app purchases on iOS?
Select one:
a. StoreKit
b. iAd
c. InAppKit
d. Google Play Billing Library
The correct answer is: StoreKit
Question 39
Not answered
Marked out of 1.00
Question 40
Not answered
Marked out of 1.00
Question 41
Not answered
Marked out of 1.00
Which mobile platform has the largest potential for generating revenue for developers?
Select one:
a. Windows Phone
b. iOS
c. Blackberry
d. Android
The correct answer is: iOS
Which framework is needed to support in-app purchases on Android?
Select one:
a. Google Play Billing Library
b. Google Purchasing API
c. Google StoreKit
d. AdMob
The correct answer is: Google Play Billing Library
Both Apple and Google require you to pay for each app you publish in the Play and App stores.
Select one:
a. True
b. False
The correct answer is: False
Question 42
Not answered
Marked out of 1.00
Question 43
Not answered
Marked out of 1.00
Question 44
Not answered
Marked out of 1.00
Publishing iOS apps in an organization requires a different license than the one needed to publish
an app in the App Store.
Select one:
a. True
b. False
The correct answer is: True
Testing an Android on a real device is required prior to publication. However, the Xcode
simulator is enough testing for an iOS
app.
Select one:
a. True
b. False
The correct answer is: False
What is the smallest number of screenshots required to publish an Android app?
Select one:
a. 1
b. 2
c. 5
d. 10
The correct answer is: 1
Question 45
Not answered
Marked out of 1.00
Question 46
Not answered
Marked out of 1.00
Question 47
Not answered
Marked out of 1.00
Publishing Android apps in the Play Store is free for any developer, but publishing in an
organization requires an Enterprise
License.
Select one:
a. False
b. True
The correct answer is: False
Who performs Alpha testing?
Select one:
a. Potential users
b. Management
c. The Play and App Stores
d. The organization that produced the app
The correct answer is: The organization that produced the app
What is the name of the iOS app market?
Select one:
a. iTunes
b. Play Store
c. Apple Market (iMarket)
d. App Store
The correct answer is: App Store
Question 48
Not answered
Marked out of 1.00
Question 49
Not answered
Marked out of 1.00
Question 50
Not answered
Marked out of 1.00
Which best describes how Android apps are distributed in an organization?
Select one:
a. It is emailed to the users.
b. From the Google developer console.
c. However the organization wants the distribution.
d. From a website purchased from Google.
The correct answer is: However the organization wants the distribution.
How are apps protected from illegal copying in Android?
Select one:
a. There is no copy protection on Android.
b. An encrypted key is generated and passed to the device when the app is purchased. The
operating system uses this key
to unlock the app.
c. The app is coded to check if the app has been legally purchased from the Play Store.
d. The app is encrypted.
The correct answer is: The app is coded to check if the app has been legally purchased from the
Play Store.
When are Android apps rejected because of policy violations?
Select one:
a. Prior to publication if they fail an automated review that is executed on the uploaded binary
b. Post publication if there are complaints and they fail a review initiated because of complaints
c. Post publication if they fail a review by Google employees
d. Prior to publication if they fail a review by Google employees
The correct answer is: Post publication if there are complaints and they fail a review initiated
because of complaints
Flag question
Question text
b. False
Feedback
The correct answer is: True
Question 2
Not answered
Marked out of 1.00
Flag question
Question text
b. False
Feedback
Flag question
Question text
The correct answer is: Positioning views in a list and determining when a view should be
recycled
Question 4
Not answered
Marked out of 1.00
Flag question
Question text
To get the full functionality of a list, the RecyclerView widget can have any @+id that makes
sense.
Select one:
a. True
b. False
Feedback
Flag question
Question text
b. True
Feedback
Flag question
Question text
d. RemoveOnClickListener() ;
Feedback
Flag question
Question text
After your app sets MyLocationEnabled to true, what do you need to do to detect the
device’s location?
Select one:
a. Add the onMyLocationChanged method to the Activity.
b. Add an OnMyLocationChangeListener to the Activity.
c. Nothing. Enabling this displays and reports GPS coordinates to the map.
Flag question
Question text
Which of the following will retrieve integer data from the second item in the current record
of the dataset?
Select one:
a. cursor.intValueOf(1) ;
b. cursor.getInt(1) ;
c. cursor.getInt(2) ;
d. cursor.intValueOf(2) ;
Feedback
Flag question
Question text
d. The MapFragment
Feedback
Flag question
Question text
How do you stop a widget from controlling all user actions on a list item?
Select one:
a. This does not need to be done. No widget can take over the parent list item.
b. Set the widget’s enabled attribute to false.
c. Set the widget’s focusAfterParent attribute to true.
The correct answer is: This does not need to be done. No widget can take over the parent
list item.
Question 11
Not answered
Marked out of 1.00
Flag question
Question text
An app requires a permission in its manifest to use the Camera but not the Phone.
Select one:
a. True
b. False
Feedback
Flag question
Question text
Access to the phone and camera is made through calls to their API.
Select one:
a. False
b. True
Feedback
Flag question
Question text
b. True
Feedback
Flag question
Question text
b. True
Feedback
The correct answer is: False
Question 15
Not answered
Marked out of 1.00
Flag question
Question text
An IntentFilter is used with a BroadcastReceiver to limit the Intents that it responds to.
Select one:
a. False
b. True
Feedback
Flag question
Question text
b. False
Feedback
b. True
Feedback
Flag question
Question text
Which of the following is the SQLite data type used to store a picture?
Select one:
a. blob
b. bitmap
c. bytearray
d. bytestream
Feedback
The correct answer is: An Intent that identifies the service to start and a unique code to
identify the result
Question 20
Not answered
Marked out of 1.00
Flag question
Question text
d. A URL identifies a location on the Web, whereas a URI can be used to identify a local
resource.
Feedback
The correct answer is: A URL identifies a location on the Web, whereas a URI can be used to
identify a local resource.
Question 21
Not answered
Marked out of 1.00
Flag question
Question text
b. False
Feedback
Flag question
Question text
b. False
Feedback
The correct answer is: Designing the user interface for the app
Question 24
Not answered
Marked out of 1.00
Flag question
Question text
The launch image is recommended to contain information about the developers of the app.
Select one:
a. True
b. False
Feedback
How do you limit which iOS devices can download your app?
Select one:
a. By setting the target device setting in the app’s Plist file.
b. By setting the app’s minimum Scheme number.
c. By changing the Deployment Target setting on the Project Summary screen.
d. Not possible. All iOS devices can download apps from the App Store.
Feedback
The correct answer is: By changing the Deployment Target setting on the Project Summary
screen.
Question 26
Not answered
Marked out of 1.00
Flag question
Question text
b. False
Feedback
b. True
Feedback
Flag question
Question text
d. The method that is called when the user interacts with a UI control
Feedback
The correct answer is: The method that is called when the user interacts with a UI control
Question 29
Not answered
Marked out of 1.00
Flag question
Question text
The correct answer is: The screen resolution is doubled in both directions.
Question 30
Not answered
Marked out of 1.00
Flag question
Question text
d. Email Address
Feedback
Developers can make money from apps without selling the apps.
Select one:
a. False
b. True
Feedback
Flag question
Question text
Apps developed for one mobile platform can be recompiled to work on other platforms.
Select one:
a. True
b. False
Feedback
Flag question
Question text
After buying an app, the user will get free updates as long as the app stays in the app store.
Select one:
a. True
b. False
Feedback
Flag question
Question text
b. True
Feedback
Flag question
Question text
Flag question
Question text
To avoid having Apple or Google take a cut of a developer's revenue, users can buy
subscriptions on the developer’s website.
Select one:
a. False
b. True
Feedback
Flag question
Question text
Google takes 30% of the app sales price for apps in the Play Store.
Select one:
a. False
b. True
Feedback
Flag question
Question text
d. InAppKit
Feedback
Flag question
Question text
Which mobile platform has the largest potential for generating revenue for developers?
Select one:
a. Blackberry
b. iOS
c. Android
d. Windows Phone
Feedback
Flag question
Question text
d. Ad-supported apps
Feedback
Flag question
Question text
Apple reviews all apps prior to publishing them in the App Store. Google does not review
apps prior to publication in the Play Store.
Select one:
a. False
b. True
Feedback
d. Play Store
Feedback
Flag question
Question text
Publishing Android apps in the Play Store is free for any developer, but publishing in an
organization requires an Enterprise License.
Select one:
a. False
b. True
Feedback
Both Apple and Google require you to pay for each app you publish in the Play and App
stores.
Select one:
a. True
b. False
Feedback
Flag question
Question text
Both Apple and Google require you to provide at least one screen shot for every app you
publish in the Play and App stores.
Select one:
a. False
b. True
Feedback
Flag question
Question text
Apple has strict requirements for apps published in the App Store, but Google does not
have any for the Play Store.
Select one:
a. True
b. False
Feedback
Flag question
Question text
An Android app requires extra programming by developers if they want it copy protected.
An iOS app does not.
Select one:
a. False
b. True
Feedback
Flag question
Question text
d. An encrypted key is generated and passed to the device when the app is purchased. The
operating system uses this key to unlock the app.
Feedback
The correct answer is: The app is coded to check if the app has been legally purchased from
the Play Store.
Question 49
Not answered
Marked out of 1.00
Flag question
Question text
What is the minimum number of real devices that an iOS developer should test his/her app
on?
Select one:
a. 0
b. Each device type and iOS version the app targets
c. 2 (iPad and iPhone)
d. 1
Feedback
The correct answer is: Each device type and iOS version the app targets
Question 50
Not answered
Marked out of 1.00
Flag question
Question text
What is the minimum number of real devices that Android developers should test their apps
on?
Select one:
a. 1
b. Each device type and OS version the app targets
c. 2 (phone and pad)
The correct answer is: Each device type and OS version the app targets