1. (TCO 6) When you create a VBScript Scripting.FileSystemOb
1. (TCO 6) When you create a VBScript Scripting.FileSystemObject, you must start the code line with _____. (Points : 4) Let fso = CreateObject Set fso = CreateObject Let fso = GetObject Set fso = GetObject2. (TCO 6) To Create a new file in VBScript, use the following command (assuming fso is a Scripting.FileSystemObject) _____. (Points : 4)file = fso.CreateTextFile(“C:DataCustData.txt”)Set file = fso.CreateFile(“C:DataCustData.txt”) file = fso.CreateFile(“C:DataCustData.txt”)Set file = fso.CreateTextFile(“C:DataCustData.txt”)3. (TCO 6) To test to see if a file is not Read Only, use the following VBScript code _____. (Points : 4)If NOT file.Attributes OR 1 Then If NOT file.Attributes AND 1 Then If NOT file.Attributes XOR 1 Then If file.Attributes NOT 1 Then4.(TCO 6) The following command opens a text file in VBScript.Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???)To open a file for writing, the value of ? must be _____. (Points : 4)The value of ? must be 1 The value of ? must be 2The value of ? must be TrueThe value of ? must be False5.(TCO 6) The following command opens a text file in VBScript.Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???)To ensure that the file is formatted as ASCII instead of Unicode, the value of ??? must be _____. (Points : 4) The value of ??? must be 0The value of ??? must be -1The value of ??? must be 2The value of ??? must be -26. (TCO 6) In VBScript, to bypass reading the next line of text terminated by a newline (CR/LF), use the following method (assuming fileObj is a file object created with OpenTextFile) _____. (Points : 4)fileObj.SkipLines(1)fileObj.SkipLine( )fileObj.IgnoreLine(1)fileObj.NextLine( )