In: Computer Science
1.What standard methods can you use when handling file-reading and file-writing operations?
a. Java
b. Fragment-based methods
c. onClick
d. DDMS
2. What would this query return? SELECT * FROM Items WHERE OrderDate >= Date('Now')
a. All items in the database.
b. Nothing
c. Items that were ordered yesterday
d. Items that were ordered today.
3. What can you use to manage files within a desired directory and create subdirectories?
a. Subdirectory objects
b. Directory class
c. File objects
d. Context class
4. What class can you use to access external storage on the device?
a. The Fragment class
b. The Environment class
c. The External class
d. The Log class
4.The correct option is b. For external storage "Environment.getExternalStoragePublicDirectory" this parameter is used in Android system for external storage.