100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Comp 230 Quiz Week 6 (GRADED A) Questions and And Answer solutions | ALL CORRECT $10.99   Add to cart

Exam (elaborations)

Comp 230 Quiz Week 6 (GRADED A) Questions and And Answer solutions | ALL CORRECT

 3 views  0 purchase
  • Course
  • Institution

Comp 230 Quiz Week 6 1. Question : (TCO 6) What WSH object is used for VBScript File I/O? Student Answer: Scripting.FileSystemObject FileSystemObject Scripting.FileSystem WScript.FileSystem Object Instructor Explanation: Instructor Explanation: See Chapter 12, Doc Sharing files, and the Week 6 Lect...

[Show more]

Preview 2 out of 5  pages

  • May 5, 2022
  • 5
  • 2021/2022
  • Exam (elaborations)
  • Unknown
avatar-seller
Comp 230 Quiz Week 6

1. Question :
(TCO 6) What WSH object is used for VBScript File I/O?

Student Answer: Scripting.FileSystemObject

FileSystemObject

Scripting.FileSystem

WScript.FileSystemObject

Instructor Instructor Explanation: See Chapter 12, Doc Sharing files, and the Week
Explanation: 6 Lecture
Points Received: 0 of 2
Comments:

Question 2 Question :
. (TCO 6) What file attribute value in VBScript indicates that the file
is ReadOnly?

Student Answer: 0

1

2

4

Instructor Instructor Explanation: See Chapter 12, Doc Sharing files, and the Week 6
Explanation: Lecture
Points Received: 2 of 2
Comments:

Question 3 Question :
. (TCO 6) To move the file C:\Data\CustData.txt to
C:\BackUp\CustData.txt in VBScript, use the following command
(assuming fso is a Scripting.FileSystemObject) .

Student fso.MoveFile(“C:\Data\CustData.txt”,”C:\BackUp\CustData.txt”)
Answer:

This study source was downloaded by 100000845689434 from CourseHero.com on 05 -05-2022 11:33:57 GMT -05:00


https://www.coursehero.com/file/17498202/Comp-230-Quiz-Week-6/

, fso.MoveFile(”C:\BackUp\CustData.txt”, “C:\Data\CustData.txt”)


fso.FileMove(“C:\Data\CustData.txt”,”C:\BackUp\CustData.txt”)


fso.FileMove(”C:\BackUp\CustData.txt”, “C:\Data\CustData.txt”)

Instructor Instructor Explanation: See Chapter 12, Doc Sharing files, and the Week 6
Explanation: Lecture
Points Received: 2 of 2
Comments:

Question 4 Question :
. (TCO 6) To delete a file in VBScript, use the following command
(assuming fso is a Scripting.FileSystemObject) .

Student Answer: fso.FileDelete(Exists(“C:\Data\CustData.txt”)


fso.DeleteFile(Exists(“C:\Data\CustData.txt”)

fso.EraseFile(Exists(“C:\Data\CustData.txt”)

fso.FileErase(Exists(“C:\Data\CustData.txt”)

Instructor Instructor Explanation: See Chapter 12, Doc Sharing files, and the
Explanation: Week 6 Lecture
Points Received: 2 of 2
Comments:

Question 5 Question :
. (TCO 6) The following command opens a text file in VBScript.
Set file =
fso.OpenTextFile(“C:\Data\CustData.txt”, ?, ??, ???)

To create a new file if it doesn’t exist, the value of ??
must be .

Student Answer: the value of ?? must be 1

the value of ?? must be 2




This study source was downloaded by 100000845689434 from CourseHero.com on 05 -05-2022 11:33:57 GMT -05:00


https://www.coursehero.com/file/17498202/Comp-230-Quiz-Week-6/

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ProfGoodlucK. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

78252 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.99
  • (0)
  Add to cart