What windows cli command will display all current resources


1. Which statement best describes the following pseudocode?

if hoursWorked > 40 then

grossPay = 40 * rate + (hoursWorked - 40) * 1.5 * rate

else

grossPay = hoursWorked * rate

endif (Points : 4)
One condition/one action

One condition/two alternative actions

Multiple conditions/multiple actions

Multiple conditions/one action

Question 2. Which VBScript code produces the same result as the following?

if customerAge > 65 OR customerAge = 65 then

discount = 0.10

else

discount = 0.0

end if (Points : 4)

if customerAge >= 65 then

discount = 0.10

else

discount = 0.0

end if

if customerAge > 65 then

discount = 0.0

else

discount = 0.10

end if

if customerAge = 65 then

discount = 0.10

else

discount = 0.0

end if

if customerAge <= 65

discount = 0.0

else

discount = 0.10

end if

Question 3. Any one or more conditions in a chain of conditions in a Boolean expression must be true in order for the entire expression to be evaluated as true. This defines the _____ Boolean operator in VBScript.

XOR

Not

OR

AND

Question 4. In VBScript, the _____ Boolean operator can change a true expression to false and a false expression to true.

XOR

Not

OR

AND

Question 5. What Windows CLI command will display all current resources that your computer is making available to other network users?

Net share

Net use

Net view

Net display

Question 6. Which one of the following object definitions is used in a VBScript program to create, delete, copy, and move files and folders?

Set fso = CreateObject("Scripting.FileSystemObject")

Set fileServ = GetObject("WinNT://MyPC/LanManServer,FileService")

Set networkObj = WScript.CreateObject("WScript.Network")

set WshShell = WScript.CreateObject("WScript.Shell")

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: What windows cli command will display all current resources
Reference No:- TGS01087775

Expected delivery within 24 Hours