3. A complete list of the disk drive plus the hierarchy of directories in which
ID: 3695450 • Letter: 3
Question
3. A complete list of the disk drive plus the hierarchy of directories in which a file resides is its a. directory b. folder c. delimiter d. path 733 4 Which of the following statements creates a Path named p to a FileStream named f? a. Path p new PathC"C:JavaMyFile.txt") b. Path p fC"C:Java MyFile.txt" c. Path p - f.getPathC"C:1JavaMyFile.txt") d. Path p -getPath(new fC"C:1aval MyFile.txt")): A path that needs no other information to locate a file on a system is a an absolute path b. c. a inal path d. a constant path a relative path The Path class get FileName O method returns- a. the String representation of a Path b. c. d. 6. . an absolute Path the first item in a Path's list of name elements the last item in a Path's list of name elements 7. Which of the following statements always returns the same value as Files.exists(file)? a. file.checkAccessO b. file.checkAccess CEXISTS) c. file.checccess(READ, WRITE) d. file.checkAccess (file.existsO) 8. You cannot delete a Path . a. under any circumstances b. if it represents a directory c. if it represents a directory that is not empty d. if it represents more than five levels The data hierarchy occurs in the following order from the smallest to largest piece of data: 9. . character, field, record, file a. b. c. character, record, field, file character, file, record, field d. record, character, field, file 10. When records are accessed one after the other in the order in which they were stored, their file is being used as a a. random b. binary access file. d. sequentialExplanation / Answer
3.d
4.c
5.a
6.b
7.d
8.c
9.a
10.d
11.c
12.c
13.b
14.b
15.b
16.d
17.c
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.