网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()
A

Compilation fails.

B

Nothing is added to the file system.

C

Only a new file is created on the file system.

D

Only a new directory is created on the file system.

E

Both a new file and a new directory are created on the file system.


参考答案

参考解析
解析: 暂无解析
更多 “单选题Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()A Compilation fails.B Nothing is added to the file system.C Only a new file is created on the file system.D Only a new directory is created on the file system.E Both a new file and a new directory are created on the file system.” 相关考题
考题 Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()A.If the compile is successful, Utils.class is added to the source directory.B.The compiler returns an invalid flag error.C.If the compile is successful, Utils.class is added to the classes directory.D.If the compile is successful, Utils.class is added to the bigProject directory.

考题 Given that the current directory is empty, and that the user has read and write privileges to the current, and the following:Which statement is true?() A.Compilation fails.B.Nothing is added to the file system.C.Only a new file is created on the file system.D.Only a new directory is created on the file system.E.Both a new file and a new directory are created on the file system.

考题 Given that the current directory is empty, and that the user has read and write permissions, and the following:Which statement is true?() A.Compilation fails.B.The file system has a new empty directory named dir.C.The file system has a new empty directory named newDir.D.The file system has a directory named dir, containing a file f1.txt.E.The file system has a directory named newDir, containing a file f1.txt.

考题 A user is attempting to access files shared on a remote computer. The file share permissions allowthe user to have full control; however, the NTFS permissions allow the user to have read access.Which of the following is the user’s resulting access level for the remotely shared directory?()A.ModifyB.Full controlC.WriteD.Read

考题 Which of the following statements is TRUE about mounting a file system?() A.A file system cannot be mounted on a directory containing data.B.Mounting a file system on a mount point containing data will delete the data.C.Mounting a file system on a amount point containing data will make the data temporarily inaccessible.D.A systems administrator must manually create an empty directory prior to mounting an AIX JFS.

考题 Given a portion of a valid Java EE web application’s directory structure: MyApp | |-- File1.html | |-- Directory1 ||-- File2.html| |-- META-INF |-- File3.html You want to know whether File1.html, File2.html, and/or File3.html will be directly accessible by your webclient’s browsers. Which statement is true?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.E、Only File1.html and File2.html are directly accessible.

考题 Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()  A、FileOutputStream has no constructors matching the given arguments.B、An IOExeception will be thrown if a file named "data" already exists.C、An IOExeception will be thrown if a file named "data" does not already exist.D、If a file named "data" exists, its contents will be reset and overwritten.E、If a file named "data" exists, output will be appended to its current contents.

考题 A user is attempting to access files shared on a remote computer. The file share permissions allow the user to have full control; however, the NTFS permissions allow the user to have read access. Which of the following is the user’s resulting access level for the remotely shared directory?()A、ModifyB、Full controlC、WriteD、Read

考题 A file named "core" exists in the current directory.  Which of the following commands should be used to determine what created the "core" file?()A、 dump -t core B、 strings core C、 trace -a core D、 crash core /unix_up

考题 Which determines if “prefs” is a directory and exists on the file system?()  A、 Boolean exists=Directory.exists (“prefs”);B、 Boolean exists=(new File(“prefs”)).isDir();C、 Boolean exists=(new Directory(“prefs”)).exists();D、 Boolean exists=(new File(“prefs”)).isDirectory();E、 Boolean exists=true;  Try{  Directory d = new Directory(“prefs”);  } catch (FileNotFoundException e) {  exists = false;  }

考题 Given a portion of a valid Java EE web application’s directory structure:MyApp | |--Directory1 ||--File1.html| |--META-INF|  |--File2.html| |--WEB-INF |--File3.html You want to know whether File1.html, File2.html,and/or File3.html is protected from direct access by yourweb client’s browsers. What statement is true?()A、All three files are directly accessible.B、Only File1.html is directly accessible.C、Only File2.html is directly accessible.D、Only File3.html is directly accessible.

考题 Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()  A、Vector filelist = ((Directory) file).getList();B、String[] filelist = file.directory();C、Enumeration filelist = file.contents();D、String[] filelist = file.list();E、Vector filelist = (new Directory(file)).files();

考题 10. class MakeFile {  11. public static void main(String[] args) {  12. try {  13. File directory = new File(”d”);  14. File file = new File(directory,”f”);  15. if(!file.exists()) {  16. file.createNewFile();  17. }  18. } catch (IOException e) {  19. e.printStackTrace  20. }  21. }  22. }  The current directory does NOT contain a directory named “d.” Which three are true?()A、 Line 16 is never executed.B、 An exception is thrown at runtime.C、 Line 13 creates a File object named “d”.D、 Line 14 creates a File object named “f‟.E、 Line 13 creates a directory named “d” in the file system.F、 Line 16 creates a directory named “d” and a file “f”  within it in the file system.G、 Line 14 creates a file named "f " inside of the directory named “d” in the file system.

考题 Examine the following command:ALTER SYSTEM SET enable_ddl_logging=FALSE;Which statement is true?()A、None of the data definition language (DDL) statements are logged in the trace file.B、Only DDL commands that resulted in errors are logged in the alert log file.C、A new log.xml file that contains the DDL statements is created, and the DDL command details are removed from the alert log file.D、Only DDL commands that resulted in the creation of new database files are logged.

考题 Examine the following command; ALTER SYSTEM SET enable_ddl_logging = TRUE; Which statement is true?()A、Only the data definition language (DDL) commands that resulted in errors are logged in the alert log file.B、All DDL commands are logged in the alert log file.C、All DDL commands are logged in a different log file that contains DDL statements and their execution dates.D、Only DDL commands that resulted in the creation of new segments are logged.E、All DDL commands are logged in XML format in the alert directory under the Automatic Diagnostic Repository (ADR) home.

考题 Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()A、If the compile is successful, Utils.class is added to the source directory.B、The compiler returns an invalid flag error.C、If the compile is successful, Utils.class is added to the classes directory.D、If the compile is successful, Utils.class is added to the bigProject directory.

考题 In which of the following scenarios is a tablespace recovery required?()A、 when recovering a lost read-only tablespace from a read-only tablespace backupB、 when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in  ARCHIVELOG modeC、 when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in  NOARCHIVELOG mode and the changes in the online redo log files have been overwrittenD、 when recovering a lost read-only tablespace from a read-only tablespace backup using the backup of the control file, the control file was created using the ALTER DATABASE BACKUP CONTROLFILE TO TRACE statement, and this statement was issued when the tablespace was read-only

考题 In which scenario will you issue the following command?()      SQL RECOVER DATABASE UNTIL TIME ’2005-10-04 : 12:09:08’ USING        BACKUP CONTROLFILE;A、 when all the control files are missing and only a binary backup of the current control file existsB、 when a multiplexed copy of the current control file is missingC、when all the control files are missing and only a script containing the CREATE CONTROLFILE statement existsD、 when the SPFILE is missing

考题 单选题A file named "core" exists in the current directory.  Which of the following commands should be used to determine what created the "core" file?()A  dump -t core B  strings core C  trace -a core D  crash core /unix_up

考题 单选题In which scenario will you issue the following command?()      SQL RECOVER DATABASE UNTIL TIME ’2005-10-04 : 12:09:08’ USING        BACKUP CONTROLFILE;A  when all the control files are missing and only a binary backup of the current control file existsB  when a multiplexed copy of the current control file is missingC when all the control files are missing and only a script containing the CREATE CONTROLFILE statement existsD  when the SPFILE is missing

考题 单选题Which determines if “prefs” is a directory and exists on the file system?()A  Boolean exists=Directory.exists (“prefs”);B  Boolean exists=(new File(“prefs”)).isDir();C  Boolean exists=(new Directory(“prefs”)).exists();D  Boolean exists=(new File(“prefs”)).isDirectory();E  Boolean exists=true;  Try{  Directory d = new Directory(“prefs”);  } catch (FileNotFoundException e) {  exists = false;  }

考题 单选题Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()A If the compile is successful, Utils.class is added to the source directory.B The compiler returns an invalid flag error.C If the compile is successful, Utils.class is added to the classes directory.D If the compile is successful, Utils.class is added to the bigProject directory.

考题 单选题Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()A Compilation fails.B Nothing is added to the file system.C Only a new file is created on the file system.D Only a new directory is created on the file system.E Both a new file and a new directory are created on the file system.

考题 单选题A user is attempting to access files shared on a remote computer. The file share permissions allow the user to have full control; however, the NTFS permissions allow the user to have read access. Which of the following is the user’s resulting access level for the remotely shared directory?()A ModifyB Full controlC WriteD Read

考题 单选题In which of the following scenarios is a tablespace recovery required?()A  when recovering a lost read-only tablespace from a read-only tablespace backupB  when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in  ARCHIVELOG modeC  when recovering a lost read-only tablespace from a read-write tablespace backup when the database is running in  NOARCHIVELOG mode and the changes in the online redo log files have been overwrittenD  when recovering a lost read-only tablespace from a read-only tablespace backup using the backup of the control file, the control file was created using the ALTER DATABASE BACKUP CONTROLFILE TO TRACE statement, and this statement was issued when the tablespace was read-only

考题 单选题Which of the following statements is TRUE about mounting a file system?()A A file system cannot be mounted on a directory containing data.B Mounting a file system on a mount point containing data will delete the data.C Mounting a file system on a amount point containing data will make the data temporarily inaccessible.D A systems administrator must manually create an empty directory prior to mounting an AIX JFS.

考题 单选题Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()A FileOutputStream has no constructors matching the given arguments.B An IOExeception will be thrown if a file named data already exists.C An IOExeception will be thrown if a file named data does not already exist.D If a file named data exists, its contents will be reset and overwritten.E If a file named data exists, output will be appended to its current contents.

考题 单选题Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()A Vector filelist = ((Directory) file).getList();B String[] filelist = file.directory();C Enumeration filelist = file.contents();D String[] filelist = file.list();E Vector filelist = (new Directory(file)).files();