Ask Macroeconomics Expert

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

Macroeconomics, Economics

  • Category:- Macroeconomics
  • Reference No.:- M91829675
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Macroeconomics

Economics assignment -topic evaluation of macroeconomic

Economics Assignment - Topic: Evaluation of Macroeconomic performance of Australia and New Zealand. Task Details: Complete a research-based analysis and evaluation of the relative macroeconomic performance of Australia a ...

Introductory economics assignment -three problem-solving

Introductory Economics Assignment - Three Problem-Solving Questions. Question 1 - Australia and Canada have a free trade agreement in which, Australia exports beef to Canada. a. Draw a graph and use it to explain and ill ...

Question in an effort to move the economy out of a

Question: In an effort to move the economy out of a recession, the federal government would engage in expansionary economic policies. Respond to the following points in your paper on the actions the government would take ...

Question are shareholders residual claimants in a publicly

Question: Are shareholders residual claimants in a publicly traded corporation? Why or why not? In some industries, like hospitals, for-profit producers compete with nonprofit ones. Who is the residual claimant in a nonp ...

Discussion questionsquestion 1 what are the main reasons

Discussion Questions Question 1: What are the main reasons why Nigerians living in extreme poverty? Justify. ( 7) Question 2: Why GDP per capita wouldn't be an accurate measure of the welfare of the average Nigerian? Exp ...

Question according to the definition a perfectly

Question: According to the definition, a perfectly competitive firm cannot affect the market price by any changing only its own output. Producer No. 27 in problem 2 decides to experiment by producing only 8 units. a. Wha ...

Question jones is one of 100000 corn farmers in a perfectly

Question: Jones is one of 100,000 corn farmers in a perfectly competitive market. What will happen to the price she can charge if: a. The rental price on all farmland increases as urbanization turns increasing amounts of ...

Question good x is produced in a perfectly competitive

Question: Good X is produced in a perfectly competitive market using a single input, Y, which is itself also supplied by a perfectly competitive industry. If the government imposes a price ceiling on Y, what happens to t ...

Question pepsico produces both a cola and a major brand of

Question: PepsiCo produces both a cola and a major brand of potato chips. Coca-Cola produces only drinks. When might it make sense for PepsiCo to divest its potato chip operations? For Coca-Cola to begin manufacturing sn ...

Question again demand is qd 32 - 15p and supply is qs -20

Question: Again, demand is QD = 32 - 1.5P and supply is QS = -20 + 2.5P. Now, however, buyers and sellers have transaction costs of $2 and $3 per unit, respectively. Compare the equilibrium values with those you calculat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As