Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

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

Question principles of macroeconomicsworksheet on keynesian

Question: Principles of Macroeconomics Worksheet on Keynesian Demand Management The economy of Trickstoland is currently producing $450 billion of output, while enduring 12% cyclical unemployment. The natural rate of une ...

Topics - mergers amp acquisition capital structure stock

Topics - Mergers & Acquisition, Capital Structure, Stock Trading etc. Q1. Develop an extensive form game with imperfect information (in which one of the players can be two or more types) that models any stylized economic ...

Principles of macroeconomics assessment - supply and demand

PRINCIPLES OF MACROECONOMICS ASSESSMENT - Supply and Demand, and Equilibrium Analysis Assume: Demand Curve: Q D = 80 - 10P; and Supply Curve: Q S = 10P 1. Using the above information, complete the schedules for Quantity ...

Analyze the concept of exchange rateexplain how the dollar

Analyze the concept of exchange rate. Explain how the dollar price of Euros is determined. Identify a factor that can increase the dollar price of Euros. Identify a factor that can decrease the dollar price of Euros. Exp ...

Question assume that a firm has a monopoly its demand curve

Question: Assume that a firm has a monopoly. Its demand curve is given by the equation P = 60 - Q. It produces its output subject to the following short-run cost equation: C = Q 2 + 20. a. Draw a graph of the monopolist' ...

1explain four types of unemployment2explain the advantages

1. Explain four types of unemployment 2. Explain the advantages and disadvantages of:(a) A flexible exchange rate regime (b) A fixed exchange rate regime 3. Suppose the Reserve Bank of Australia increases the interest ra ...

Question - a 1000 utility bond with 14 years remaining

Question - A $1000 utility bond with 14 years remaining before maturity can now be purchased for $760. It pays interest of $20 each 6-month period. What rate of return is earned by purchasing the bond at the current mark ...

Question why might a parent company like mcdonalds or

Question: Why might a parent company like McDonalds or Hilton choose to franchise its local outlets rather than own them and staff them with employees? In many smaller cities all McDonald's outlets are owned by the same ...

Question - please write down the amount of turkeys energy

Question - Please write down the amount of Turkey's energy consumption, renewable energy consumption, non-renewable energy consumption, electricity consumption, electricity production, electricity consumption from renewa ...

Question 1 graphically illustrate the minimum wage note

Question: 1) Graphically illustrate the minimum wage. Note the deadweight (welfare loss) loss and the loss or redistribution from job search. 2) Assume that you have two periods: 2011 and 2012 for a pickup truck. Price 2 ...

  • 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