Posted: September 5th, 2020
COMP 230 VBScript Week 6 Quiz
Assessment Brief
Question 1.
1.
(TCO 6) Which line will properly create the object for VBScript File I/O?
(Points : 2)
Can I Request a Specific Writer?
Yes, if you have worked with a writer before, you can request them again for consistency and familiarity with your needs. This ensures a smooth, tailored experience. Writer continuity helps maintain consistent style and understanding of your preferences. Browse profiles or contact support to make your choice. Essay writer relationships build over time for increasingly personalized academic support.
Set fso = Scripting.FileSystemObject
fso = CreateObject(“Scripting.FileSystem”)
Set fso = CreateObject(“Scripting.FileSystemObject”)
Set fso = CreateObject(“WScript.FileSystemObject”)
Question 2.
2.
(TCO 6) Once you have file selected with file =
fso.GetFile(“C:DataFile.dat”), what command would allow you to access
the file attributes?
(Points : 2)
file.Attrib
fso.Attributes
file.Attributes
fso.Attrib
Question 3.
3.
(TCO 6) To test to see if a file is not Read Only, use the following VBScript code _____.
(Points : 2)
How Do You Ensure On-Time Delivery?
We assign writers immediately and monitor progress, with backup plans to guarantee your paper arrives on schedule. Your deadlines are our priority. Our project tracking system alerts us to potential delays for proactive intervention. Rest assured, we will deliver when you need it. My assignment help includes stringent deadline monitoring for reliable punctual delivery.
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 Then
Question 4.
4.
(TCO 6) To move the file C:DataCustData.txt to
C:BackUpCustData.txt in VBScript, use the following command (assuming
fso is a Scripting.FileSystemObject) _____.
(Points : 2)
fso.MoveFile(“C:DataCustData.txt”,”C:BackUpCustData.txt”)
fso.MoveFile(”C:BackUpCustData.txt”, “C:DataCustData.txt”)
fso.FileMove(“C:DataCustData.txt”,”C:BackUpCustData.txt”)
fso.FileMove(”C:BackUpCustData.txt”, “C:DataCustData.txt”)
Question 5.
5.
(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 : 2)
Can You Help with Reflective Essays?
Our writers craft thoughtful reflective essays, blending personal insight with academic structure to meet your goals. We capture your voice perfectly. Reflective writing requires balancing personal experience with scholarly analysis. Share your story or guidelines to get started. Research study bay professionals excel at combining personal narrative with academic rigor.
the value of ? must be 1
the value of ? must be 2
the value of ? must be true
the value of ? must be false
Question 6.
6.
(TCO 6) The following command opens a text file in VBScript. Set file = fso.OpenTextFile(“C:DataCustData.txt”, ?, ??, ???) To open a file for appending, the value of ? must be _____.
(Points : 2)
the value of ? must be 1
the value of ? must be 2
the value of ? must be 8
the value of ? must be true
Question 7.
7.
(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 : 2)
the value of ??? must be 0
the value of ??? must be -1
the value of ??? must be 2
the value of ??? must be -2
What Is Your Quality Control Process?
Every paper is reviewed by editors for accuracy, style, and originality, ensuring it meets high academic standards. We use advanced tools to guarantee quality. Our multi-tiered review system includes both automated checks and expert human evaluation. Your paper will exceed expectations every time. Paper writing quality assurance involves multiple verification stages before delivery.
Question 8.
8.
(TCO 6) To complete the Read, Write, or Append operation in
VBScript, use the following method (assuming fileObj is a file object
created with CreateTextFile( ) or OpenTextFile) _____.
(Points : 2)
fileObj.Exit
fileObj.End
fileObj.Next
fileObj.Close
Question 9.
9.
(TCO 6) To delete a folder in VBScript, use the following
command (assuming fso is a Scripting.FileSystemObject) _____.
(Points : 2)
fso.FolderDelete(folderName)
fso.DeleteFolder(folderName)
fso.EraseFolder(folderName )
fso.FolderErase(folderName)
Question 10.
10.
(TCO 6) To test to see if a directory (or folder) exists
before you write data to it in VBScript, use the following command
(assuming fso is a Scripting.FileSystemObject) _____.
(Points : 2)
Can You Include Specific Sources?
Yes, provide your sources or let our writers find credible ones, properly cited to support your paper. Every source is cited perfectly. We integrate your required readings seamlessly while maintaining academic citation standards. Share your materials in the order form for best results. Assignment writer expertise ensures proper source integration and citation accuracy.
If fso.FolderCreated(folderName) Then
If fso.FolderExists(folderName) Then
If fso.FolderNotFound(folderName) Then
If fso.FolderFound(folderName) Then
Order | Check Discount
Tags: Research Essay Support, PhD Dissertation Help, Online Homework Help, Custom Essay Writing