Deck 8: Design Using a Datepicker on a Tablet
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 8: Design Using a Datepicker on a Tablet
1
After deploying an app on the Android Market, it is a good idea to monitor user comments and reviews in order to improve the usability of the app.
True
2
A(n) ____ application creates an optimal user experience based on common tablet screen size.
A) emulated
C) proprietary
B) native
D) turn-based
A) emulated
C) proprietary
B) native
D) turn-based
B
3
A simple way to think of a tablet is as a large smartphone.
False
4
The Android ____ operating system is designed specifically for tablet use.
A) Donut
C) Honeycomb
B) Gingerbread
D) Ice Cream Sandwich
A) Donut
C) Honeycomb
B) Gingerbread
D) Ice Cream Sandwich
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Due to larger real estate available on tablets, it is best to keep launcher icons small, or no larger than 72 X 72 pixels.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
An Android 4.0 target device requires the ____ version of the operating system.
A) Cupcake
C) Froyo
B) Donut
D) IceCream
A) Cupcake
C) Froyo
B) Donut
D) IceCream
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
Only smartphone Android platforms keep the system's current date and time.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is not a recommended design approach?
A) Focusing primarily on "cool" interactions
B) Keeping screens uncluttered
C) Using flexible dimension values
D) Using larger fonts on tablets
A) Focusing primarily on "cool" interactions
B) Keeping screens uncluttered
C) Using flexible dimension values
D) Using larger fonts on tablets
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
To create a new column to a TableLayout, you just ____.
A) add a view to a row
C) drag the last row over
B) change the column property
D) instantiate a column object
A) add a view to a row
C) drag the last row over
B) change the column property
D) instantiate a column object
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
The dialog box in the Android environment can be used for multiple activities, such as alerting the user, displaying progress bars, and so on.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
The width of a table column is determined by the ____.
A) padding property
C) width of the largest cell in the column
B) size of the screen
D) width property
A) padding property
C) width of the largest cell in the column
B) size of the screen
D) width property
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
When designing an app for use on both smartphones and tablets, you should create different experiences for each device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
The Android market includes an increasing number of tablet sales.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
AVD is short for ____.
A) Aftermarket Value Depreciation
C) Android Virtual Devices
B) Alternative Viewing Display
D) Anonymous Virtual Design
A) Aftermarket Value Depreciation
C) Android Virtual Devices
B) Alternative Viewing Display
D) Anonymous Virtual Design
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
The Android platform is notoriously difficult to port to devices other than phones and tablets; therefore, it has not seen much use outside these markets.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
You can only use the DatePicker widget to select dates.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
For an Android 3.0 application, the minimum SDK version is ____.
A) 7
C) 11
B) 8
D) 13
A) 7
C) 11
B) 8
D) 13
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
A(n) ____ application is converted in real time to run on a variety of platforms.
A) emulated
C) soft
B) native
D) user
A) emulated
C) soft
B) native
D) user
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
The following options are navigation buttons except ____.
A) Back
C) Multitasking
B) Home
D) Next
A) Back
C) Multitasking
B) Home
D) Next
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Consumers of all ages are spending more time playing games on tablets.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
The code to set the custom theme of a tablet to Holo.Light in the manifest file is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
The widget to select dates is called the ____ widget.
A) Calendar
C) DatePicker
B) DateChooser
D) TimePicker
A) Calendar
C) DatePicker
B) DateChooser
D) TimePicker
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
The ____________________ button on an Android tablet opens a list of the apps that have been used recently.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
To set the style of text to a particular font family, you can use the ____ property.
A) fontfamily
C) text
B) kerning
D) typeface
A) fontfamily
C) text
B) kerning
D) typeface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
The DatePickerDialog constructor requires ____ argument(s).
A) one
C) three
B) two
D) five
A) one
C) three
B) two
D) five
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
The ____ keyword signifies that a method or variable can only be accessed by elements in its class.
A) protected
C) static
B) public
D) void
A) protected
C) static
B) public
D) void
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
To create an instance of the Calendar class, you call ____.
A) Calendar.getInstance()
C) System.getCalendar()
B) Runtime.calendarInstance()
D) the Calendar's constructor
A) Calendar.getInstance()
C) System.getCalendar()
B) Runtime.calendarInstance()
D) the Calendar's constructor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
The ____ class is responsible for converting between a Date object and a set of integer fields such as YEAR, MONTH, and so on.
A) Calendar
C) DateFormat
B) ChonoConverter
D) Time
A) Calendar
C) DateFormat
B) ChonoConverter
D) Time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
To create a layout that contains a simple arrangement of rows and columns, it is typically easiest to use the ____.
A) BoxLayout
C) LandscapeLayout
B) GridLayout
D) TableLayout
A) BoxLayout
C) LandscapeLayout
B) GridLayout
D) TableLayout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The ____ property can be used to offset the content of a control by a specific number of pixels.
A) buffer
C) spacing
B) padding
D) zoom
A) buffer
C) spacing
B) padding
D) zoom
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
____________________ applications are programs locally installed on a specific platform such as a phone or tablet.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
The switch statement only uses the ____ datatype for comparison.
A) char
C) int
B) float
D) String
A) char
C) int
B) float
D) String
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
The constant to use to display the TimePicker control is ____.
A) DIALOG_TIME_ID
C) TIME_DIALOG_ID
B) PICKER_TIME_ID
D) TIME_PICKER_ID
A) DIALOG_TIME_ID
C) TIME_DIALOG_ID
B) PICKER_TIME_ID
D) TIME_PICKER_ID
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
You can use the ____ method to display the DatePicker widget.
A) displayDialog
C) showDatePicker
B) toastDialog
D) showDialog
A) displayDialog
C) showDatePicker
B) toastDialog
D) showDialog
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
All of the following options are calendar controls except ____ .
A) AnalogClock
C) DigitalClock
B) Chronometer
D) ScheduledClock
A) AnalogClock
C) DigitalClock
B) Chronometer
D) ScheduledClock
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
The URL of the Android Design Web site is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
The ____ event is fired after the user sets a date selection.
A) onDateChosen
C) onDateUpdate
B) onDateSet
D) onTimeChange
A) onDateChosen
C) onDateUpdate
B) onDateSet
D) onTimeChange
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
What is the most important logistical reason to prefer a DatePicker over free-text date entry?
A) To fit the theme better
B) To avoid errors
C) To better use the increased screen size
D) To make it more attractive
A) To fit the theme better
B) To avoid errors
C) To better use the increased screen size
D) To make it more attractive
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
The Calendar class uses all the following constants to access different fields except ____ .
A) DAY_OF_MONTH
C) MONTH
B) DAY_OF_WEEK
D) YEAR
A) DAY_OF_MONTH
C) MONTH
B) DAY_OF_WEEK
D) YEAR
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
If you plan to design an app for tablet, you must target it to use the ____________________ version of the Android operating system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The code to use in the manifest to ensure that a LinearLayout object is horizontal is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
The Calendar method called ____________________ changes the current date or time.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
In order to retrieve what day of the year it is from a Calendar object c, use the code statement: ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
The static integer that identifies the dialog box displaying the calendar is typically named ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
In Europe, the date March 22, 2010 would be displayed in number format as ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
The numeric representation of January on the Android is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
When you click to "Add return statement" to an imported onCreateDialogTo method, a(n) ____________________ statement automatically appears within the method.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Within the XML layout file, an Android property named ____________________ is used to spread out the content displayed on the tablet.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
A(n) ____________________ variable is a program variable that does not vary and has the same value throughout execution of the application.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Using the typical constant for a calendar dialog box, the code to display the DatePicker is ____________________ .
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck