12.03.2016 Views

COMP 230 Final Exam Answers

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. (TCO 1) The NETSH command that will set the IP address of the interface name<br />

NIC to a DHCP-supplied IP address is _____.<br />

3. (TCO 1) From a 32-bit Windows CLI, the command used to open a new CLI<br />

window is _____.<br />

4. (TCO 1) Which one of the following Windows NET commands will allow other<br />

computers to access the C:\Data directory under the share name UserData?<br />

5. (TCO 5) What statement is used to indicate the end of a function?<br />

6. (TCO 5) What variable scope is preferable?<br />

7. (TCO 5) When writing named constant identifiers, it is a common convention to<br />

______.<br />

8. (TCO 5) What of the following would most likely be a named constant?<br />

9. (TCO 6) The following command opens a text file in VBScript.<br />

Set file = fso.OpenTextFile("C:\Data\CustData.txt", ?, ??, ???)<br />

To open a file for writing, the value of? Must be _____.<br />

10. (TCO 6) Once you have a file selected with file =<br />

fso.GetFile("C:\DataFile.dat"), what command will allow you to access the file<br />

attributes?<br />

11. (TCO 6) The following command opens a text file in VBScript.<br />

Set file = fso.OpenTextFile("C:\Data\CustData.txt", ?, ??, ???)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!