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 simple way to think of a tablet is as a large smartphone.
False
3
When you create an Android tablet app, what shou ld the minimum required SDK should be set to in order to cover the oldest Android tablets ?
A) API 14: Android 4.0.2 (Ice Cream Sandwich)
B) API 4: Android 1.6 (Donut)
C) API 10: Android 2.3.7 (Gingerbread)
D) API 13: Android 3.2 (Honeycomb)
A) API 14: Android 4.0.2 (Ice Cream Sandwich)
B) API 4: Android 1.6 (Donut)
C) API 10: Android 2.3.7 (Gingerbread)
D) API 13: Android 3.2 (Honeycomb)
D
4
Which layout creates a simple, clean interface containing rows and columns?
A) RelativeLayout
B) FrameLayout
C) ColumnLayout
D) LinearLayout
A) RelativeLayout
B) FrameLayout
C) ColumnLayout
D) LinearLayout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Which Android operating system is designed specifically for tablet use?
A) Donut
B) Gingerbread
C) Honeycomb
D) Ice Cream Sandwich
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
6
The DateFormat class in Java formats the date into a String value.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
When designing Android apps, use dimension values such as dp and sp rather than px and pt.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following applications creates an optimal user experience based on common tablet screen size?
A) emulated application
B) native application
C) proprietary application
D) turn-based application
A) emulated application
B) native application
C) proprietary application
D) turn-based application
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The Android system date can be accessed by using the Java DateTime class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
High prices and a small app marketplace are inhibiting growth in the Android tablet market.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
What is AVD short for?
A) Aftermarket Value Depreciation
B) Alternative Viewing Display
C) Android Virtual Devices
D) Anonymous Virtual Design
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
12
Which of the following is not a recommended design approach?
A) Fill the large screen with "cool" interactions
B) Keep screens uncluttered
C) Use flexible dimension values
D) Use larger fonts on tablets
A) Fill the large screen with "cool" interactions
B) Keep screens uncluttered
C) Use flexible dimension values
D) Use larger fonts on tablets
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
What are the three navigation buttons centered on the bottom of the Android tablet screen?
A) Home, Camera, Multitasking
B) Apps, Home, Back
C) Back, Home, Multitasking
D) Camera, Home, Apps
A) Home, Camera, Multitasking
B) Apps, Home, Back
C) Back, Home, Multitasking
D) Camera, Home, Apps
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
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
15
What is the width of a table column determined by?
A) padding property
B) size of the screen
C) width of the largest view
D) width property
A) padding property
B) size of the screen
C) width of the largest view
D) width property
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Due to larger real estate available on tablets, it is best to put as many icons and buttons on the screen as possible to make the interface easier to use.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
When designing an app for use on both smartphones and tablets, the screen size doesn't matter since all the content will scale automatically.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
To create a new column to a TableLayout, what do you do?
A) add a view to a row
B) change the column property
C) drag the last row over
D) instantiate a column object
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
19
Which type of application is converted in real time to run on a variety of platforms?
A) emulated application
B) native application
C) soft application
D) user application
A) emulated application
B) native application
C) soft application
D) user application
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
An emulated application is designed for a specific platform and screen size.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Which method can you use to display the device's system year, month, and day of the month in the Datepicker?
A) displayDialog
B) toastDialog
C) showDatePicker
D) show()
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
22
To create an instance of the Calendar class, what do you call?
A) Calendar.getInstance()
B) Runtime.calendarInstance()
C) System.getCalendar()
D) the Calendar's constructor
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
23
Which of the following does the Calendar class NOT use to access different fields?
A) DAY_OF_MONTH
B) WEEK_OF_MONTH
C) MONTH
D) YEAR
A) DAY_OF_MONTH
B) WEEK_OF_MONTH
C) MONTH
D) YEAR
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
The three navigation buttons centered on the bottom of the Android tablet are __________, Home, and Multitasking.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
If you plan to design an app for table\ts, you must target it to use at least the ____________________ version of the Android operating system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
A user interface design layout named TableLayout is composed of _________________ controls.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Which type of application is converted in real time to run on a variety of platforms?
A) Simulated
B) Emulated
C) Real time
D) Native
A) Simulated
B) Emulated
C) Real time
D) Native
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
Which statement creates an instance of the Calendar class?
A) Calendar.getInstance = Calendar(c;
B) c.Calendar = getInstance();
C) Calendar c = getInstance().Calendar;
D) Calendar c = Calendar.getInstance();
A) Calendar.getInstance = Calendar(c;
B) c.Calendar = getInstance();
C) Calendar c = getInstance().Calendar;
D) Calendar c = Calendar.getInstance();
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Which class is responsible for converting between a Date object and a set of integer fields such as YEAR, MONTH, and so on.
A) Calendar class
B) ChonoConverter class
C) DateFormat class
D) Time class
A) Calendar class
B) ChonoConverter class
C) DateFormat class
D) Time class
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Which layout can you use to create a layout that contains a simple arrangement of rows and columns?
A) BoxLayout
B) FrameLayout
C) LandscapeLayout
D) TableLayout
A) BoxLayout
B) FrameLayout
C) LandscapeLayout
D) TableLayout
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
In the Calendar class, which method changes the date or time?
A) change
B) edit
C) set
D) get
A) change
B) edit
C) set
D) get
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
To set the style of text to a particular font family, which property can you use?
A) fontfamily property
B) kerning property
C) text property
D) typeface property
A) fontfamily property
B) kerning property
C) text property
D) typeface property
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
What is the widget to select dates called?
A) Calendar widget
B) DateChooser widget
C) DatePicker widget
D) TimePicker widget
A) Calendar widget
B) DateChooser widget
C) DatePicker widget
D) TimePicker widget
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
Which event is fired after the user sets a date selection?
A) onDateChosen
B) onDateSetListener
C) onDateUpdateListener
D) onTimeChange
A) onDateChosen
B) onDateSetListener
C) onDateUpdateListener
D) onTimeChange
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Which of the following is not a calendar control?
A) AnalogClock
B) Chronometer
C) DigitalClock
D) ScheduledClock
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
37
Which of the following statements 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);
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
38
____________________ 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
39
What field manipulation method accesses the system date or time?
A) get
B) set
C) static
D) void
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
40
Which property can be used to offset the content of a control by a specific number of pixels?
A) buffer property
B) padding property
C) spacing property
D) zoom property
A) buffer property
B) padding property
C) spacing property
D) zoom property
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
The ______________________ method returns the ti me value in the Date object.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
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
43
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
44
The DatePickerDialog control must await user interaction by coding a(n) _________________________ , which listens for a callback, indicating the user is done filling in the date.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
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
46
The code to set the desired year in the calendar , given a cal en dar object named c, is ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
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
48
To create additional columns in a TableLayout, you add a(n) ____________ to a row.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
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
50
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