Deck 8: Design Using a Datepicker on a Tablet

Full screen (f)
exit full mode
Question
The dialog box in the Android environment can be used for multiple activities, such as alerting the user, displaying progress bars, and so on.
Use Space or
up arrow
down arrow
to flip the card.
Question
A simple way to think of a tablet is as a large smartphone.
Question
Consumers of all ages are spending more time playing games on tablets.
Question
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
Question
AVD is short for ____.

A) Aftermarket Value Depreciation
B) Alternative Viewing Display
C) Android Virtual Devices
D) Anonymous Virtual Design
Question
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.
Question
The Android market includes an increasing number of tablet sales.
Question
To create a new column to a TableLayout, you cam simply ____.

A) add a view to a row
B) change the column property
C) drag the last row over
D) instantiate a column object
Question
The width of a table column is determined by the ____.

A) padding property
B) size of the screen
C) width of the largest cell in the column
D) width property
Question
Only smartphone Android platforms keep the system's current date and time.
Question
The Android ____ operating system is designed specifically for tablet use.

A) Donut
B) Gingerbread
C) Honeycomb
D) Ice Cream Sandwich
Question
When  you create an Android tablet app, the minimum required SDK should be set to ____ to cover the oldest Android tablets. ​

A) Cupcake
B) Donut
C) Froyo
D) Honeycomb
Question
A(n) ____ application is converted in real time to run on a variety of platforms.

A) emulated
B) native
C) soft
D) user
Question
All of the following options are navigation buttons except for ____ .

A) Back
B) Home
C) Multitasking
D) Next
Question
For an Android 3.0 application, the minimum SDK version is ____.

A) 7
B) 8
C) 11
D) 13
Question
When designing an app for use on both smartphones and tablets, you should create different experiences for each device.
Question
When designing Android apps, use dimension values px and pt rather than dp and sp.
Question
A(n) ____ application creates an optimal user experience based on common tablet screen size.

A) emulated
B) native
C) proprietary
D) turn-based
Question
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.
Question
Due to larger real estate available on tablets, it is best to keep launcher icons small, or no larger than 72 X 72 pixels.
Question
The ____ property can be used to offset the content of a control by a specific number of pixels.

A) buffer
B) padding
C) spacing
D) zoom
Question
To create a layout that contains a simple arrangement of rows and columns, you can use the ____.

A) BoxLayout
B) GridLayout
C) LandscapeLayout
D) TableLayout
Question
The code to set the custom theme of a tablet to Holo.Light in the manifest file is ____________________.
Question
What field manipulation method accesses the system date or time?

A) get
B) set
C) static
D) void
Question
____________________ applications are programs locally installed on a specific platform such as a phone or tablet.
Question
The ____ event is fired after the user sets a date selection.

A) onDateChosen
B) onDateSet
C) onDateUpdate
D) onTimeChange
Question
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
B) ChonoConverter
C) DateFormat
D) Time
Question
To set the style of text to a particular font family, you can use the ____ property.

A) fontfamily
B) kerning
C) text
D) typeface
Question
To create an instance of the Calendar class, you call ____.

A) Calendar.getInstance()
B) Runtime.calendarInstance()
C) System.getCalendar()
D) the Calendar's constructor
Question
The DatePickerDialog constructor requires ____ argument(s).

A) one
B) two
C) three
D) five
Question
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
Question
All of the following options are calendar controls except  for  ____ .

A) AnalogClock
B) Chronometer
C) DigitalClock
D) ScheduledClock
Question
The URL of the Android Design Web site is ____________________.
Question
The ____________________ button on an Android tablet opens a list of the apps that have been used recently.
Question
The set method changes the ____ date or time.

A) input
B) cached
C) current
D) default
Question
If you plan to design an app for tablet, you must target it to use the ____________________ version of the Android operating system.
Question
You can use the ____ method to display the DatePicker widget.

A) displayDialog
B) toastDialog
C) showDatePicker
D) show()
Question
The statement ____ sets the desired year in the onDateSet method.

A) set.C(Calendar.YEAR, year);
B) c.set(Calendar.DateYear, year); 
C) c.set(Calendar.YEAR, year); 
D) Set(Calendar.YEAR); 
Question
The Calendar class uses all the following constants to access different fields except  for ____ .

A) DAY_OF_MONTH
B) DAY_OF_WEEK
C) MONTH
D) YEAR
Question
The widget to select dates is called the ____ widget.

A) Calendar
B) DateChooser
C) DatePicker
D) TimePicker
Question
The DatePickerDialog is launched in the ____________________ method.
Question
Within the XML layout file, an Android property named ____________________ is used to spread out the content displayed on the tablet.
Question
The code to use in the manifest to ensure that a LinearLayout object is horizontal is ____________________.
Question
When the user selects a date from the DatePickerDialog, the ____________________ method automatically obtains the date selected by the user.
Question
The Calendar constant ____________________ displays the day number of the current year. 
Question
In Europe, the date March 22, 2016 would be displayed in a number format (with one space between each of the three numbers) as ____________________.
Question
In order to retrieve what day of the year it is from a Calendar object c , use the code statement: ____________________.
Question
The code to set the desired year in the calendar is ____________________.
Question
The getTime() method returns the ____________________ value in the Date object.
Question
A(n) ____________________  application is converted in real time to run on a variety of platforms.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 8: Design Using a Datepicker on a Tablet
1
The dialog box in the Android environment can be used for multiple activities, such as alerting the user, displaying progress bars, and so on.
True
2
A simple way to think of a tablet is as a large smartphone.
False
3
Consumers of all ages are spending more time playing games on tablets.
True
4
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
AVD is short for ____.

A) Aftermarket Value Depreciation
B) Alternative Viewing Display
C) Android Virtual Devices
D) Anonymous Virtual Design
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
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
7
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
8
To create a new column to a TableLayout, you cam simply ____.

A) add a view to a row
B) change the column property
C) drag the last row over
D) instantiate a column object
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The width of a table column is determined by the ____.

A) padding property
B) size of the screen
C) width of the largest cell in the column
D) width property
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
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
11
The Android ____ operating system is designed specifically for tablet use.

A) Donut
B) Gingerbread
C) Honeycomb
D) Ice Cream Sandwich
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
When  you create an Android tablet app, the minimum required SDK should be set to ____ to cover the oldest Android tablets. ​

A) Cupcake
B) Donut
C) Froyo
D) Honeycomb
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) ____ application is converted in real time to run on a variety of platforms.

A) emulated
B) native
C) soft
D) user
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
All of the following options are navigation buttons except for ____ .

A) Back
B) Home
C) Multitasking
D) Next
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
For an Android 3.0 application, the minimum SDK version is ____.

A) 7
B) 8
C) 11
D) 13
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
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
17
When designing Android apps, use dimension values px and pt rather than dp and sp.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
A(n) ____ application creates an optimal user experience based on common tablet screen size.

A) emulated
B) native
C) proprietary
D) turn-based
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
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.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
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
21
The ____ property can be used to offset the content of a control by a specific number of pixels.

A) buffer
B) padding
C) spacing
D) zoom
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
To create a layout that contains a simple arrangement of rows and columns, you can use the ____.

A) BoxLayout
B) GridLayout
C) LandscapeLayout
D) TableLayout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
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
24
What field manipulation method accesses the system date or time?

A) get
B) set
C) static
D) void
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
____________________ 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
26
The ____ event is fired after the user sets a date selection.

A) onDateChosen
B) onDateSet
C) onDateUpdate
D) onTimeChange
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
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
B) ChonoConverter
C) DateFormat
D) Time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
To set the style of text to a particular font family, you can use the ____ property.

A) fontfamily
B) kerning
C) text
D) typeface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
To create an instance of the Calendar class, you call ____.

A) Calendar.getInstance()
B) Runtime.calendarInstance()
C) System.getCalendar()
D) the Calendar's constructor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The DatePickerDialog constructor requires ____ argument(s).

A) one
B) two
C) three
D) five
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
All of the following options are calendar controls except  for  ____ .

A) AnalogClock
B) Chronometer
C) DigitalClock
D) ScheduledClock
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
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
34
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
35
The set method changes the ____ date or time.

A) input
B) cached
C) current
D) default
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
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
37
You can use the ____ method to display the DatePicker widget.

A) displayDialog
B) toastDialog
C) showDatePicker
D) show()
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
The statement ____ sets the desired year in the onDateSet method.

A) set.C(Calendar.YEAR, year);
B) c.set(Calendar.DateYear, year); 
C) c.set(Calendar.YEAR, year); 
D) Set(Calendar.YEAR); 
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  for ____ .

A) DAY_OF_MONTH
B) DAY_OF_WEEK
C) MONTH
D) YEAR
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The widget to select dates is called the ____ widget.

A) Calendar
B) DateChooser
C) DatePicker
D) TimePicker
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The DatePickerDialog is launched in the ____________________ method.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
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
43
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
44
When the user selects a date from the DatePickerDialog, the ____________________ method automatically obtains the date selected by the user.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
The Calendar constant ____________________ displays the day number of the current year. 
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
In Europe, the date March 22, 2016 would be displayed in a number format (with one space between each of the three numbers) as ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
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
48
The code to set the desired year in the calendar is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
The getTime() method returns the ____________________ value in the Date object.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
A(n) ____________________  application is converted in real time to run on a variety of platforms.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.