Reference no: EM131091752
1. Which line will properly create the object for VBScript File I/O?
- Set fso = Scripting.FileSystemObject
- fso = CreateObject("Scripting.FileSystem")
- Set fso = CreateObject("Scripting.FileSystemObject")
- Set fso = CreateObject("WScript.FileSystemObject")
2. To create a new file in VBScript, use the following command (assuming fso is a Scripting.FileSystemObject) _____.
- 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. To copy the file C:DataCustData.txt to C:BackUpCustData.txt in VBScript, use the following command (assuming fso is a Scripting.FileSystemObject) _____.
- fso.FileCopy("C:DataCustData.txt","C:BackUpCustData.txt")
- fso.FileCopy("C:BackUpCustData.txt", "C:DataCustData.txt")
- fso.CopyFile("C:DataCustData.txt","C:BackUpCustData.txt")
- fso.CopyFile("C:BackUpCustData.txt", "C:DataCustData.txt")
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) _____.
- 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")
5. 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 _____.
- the value of ? must be 1
- the value of ? must be 2
- the value of ? must be true
- the value of ? must be false
6. The following command opens a text file in VBScript. Set file = fso.OpenTextFile("C:DataCustData.txt", ?, ??, ???) To create a new file if it doesn't exist, the value of ?? must be _____.
- the value of ?? must be 1
- the value of ?? must be 2
- the value of ?? must be false
- the value of ?? must be true
7. The following command opens a text file in VBScript. Set file = fso.OpenTextFile("C:DataCustData.txt", ?, ??, ???) To read data from this file, which condition will test to make we are not at the end of the line of text?
- While NOT file.EndOfLine
- While NOT file.AtEndOfFile
- While NOT file.EndOfFile
- While NOT file.AtEndOfLine
8. 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) _____.
- fileObj.Exit
- fileObj.End
- fileObj.Next
- fileObj.Close
9. In VBScript, to bypass reading the next four characters in a text file, use the following method (assuming fileObj is a file object created with OpenTextFile) _____.
- fileObj.Bypass(3)
- fileObj.Skip(3)
- fileObj.Ignore(3)
- fileObj.Move(3)
10. 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) _____.
- If fso.FolderCreated(folderName) Then
- If fso.FolderExists(folderName) Then
- If fso.FolderNotFound(folderName) Then
- If fso.FolderFound(folderName) Then
What are the potential downsides of co-branding
: Have you ever stopped at a gas station and caught a quick lunch at an Arby's or a Blimpie sub sandwich inside? Or have you ever noticed that Baskin-Robbins and Dunkin' Donuts often share the same building?
|
Provide distributed transaction concurrency
: Rank the cloud services options of Software as a Service, Platform as a Service and Infrastructure as a Service in terms of functionality, mobility, and ability to provide distributed transaction concurrency.
|
Provide cloud computing services
: Research the Internet for database vendors that provide cloud computing services and complete the following:
|
Vision and strategy of marks and spencer
: Marks and Spencer is a leading UK based merchandise and food company established in 1884. what different strategies company uses to sustain in this competitive environment. This report should be presented to the Board of Directors of M&S Company
|
Object for vb script file
: 1. Which line will properly create the object for VBScript File I/O?
|
What does the term early literacy mean
: What kinds of experiences would you encourage parents to do to support early literacy? What would you discourage parents from doing? Give reasons to support your points.
|
Revitalisation of airasia marketing strategy
: Revitalization of airasia Marketing Strategy Following QZ8501 Crash
|
What has happened to the company since the ipo
: Discuss important financial and other facts about the company from its SEC filings.
|
Determining the market-basket analysis
: Suppose you work at Costco or another major, national, big-box store, and you do a market-basket analysis and identify the 25 pairs of items in the store that have the highest lift and the 25 pairs of items that have the lowest lift.
|