Write the vbscript code that initializes all the variables


Write the VBScript code that initializes all the variables in the numArray(100) to the value numArray(0)=1, numArray(1)=2,&#-123;,numArray(100)=101.

Write a VBScript procedure (or subroutine) called Swap(ByRef num1,ByRef num2) that accepts two number variables by reference and exchanges the two values whereby num1 is assigned the original value of num2, and num2 is assigned the original value of num1.

Write the VBScript code that defines the Scripting.FileSystemObject and the file C:\Data\DataFile.txt for writing. Make sure that the file will be created if it doesn't already exist, and ensure that the format is ASCII.

Assuming that you are connected to a database called Computers.mdb with the fields Computer, Hostname, Room_Num, CPU_Type, Num_CPUs, Bit_Size, OS_Type, Memory, and HDD_Size, write the SQL Query String sqlStr such that the fields Computer, Hostname, and CPU_Type will be displayed for all the records that indicate that CPU_Type is "AMD" and the Bit_Size is 64. The returned records should be sorted by Hostname.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Write the vbscript code that initializes all the variables
Reference No:- TGS01082373

Expected delivery within 24 Hours