What is wrong with the following VBScript code? 1 Select Case x 2 Case 1 3 Call MsgBox("1") 4 Case 2 5 Call MsgBox("2") 6 Case Else 7 Call MsgBox("?") 8 End Select

a) Nothing.
b) Line 1 should read Switch Case x and Line 8 should read End Switch.
c) There should be colons at the ends of lines 2, 4 and 6
d) There should be break statements after lines 3, 5 and 7.


Ans: (a)

Business

You might also like to view...

______________________________ is an XML-based language consisting of a set of tags that are used to unify the presentation of business reporting information into a single format, easily read by almost any software package, and easily searched by Web browsers

Fill in the blank(s) with correct word

Business

Which of the following is not a recommended way to generate alternative solutions when redefining the problem? 

A. logrolling B. nonspecific compensation C. brainstorming D. expanding the pie

Business

Every week, Gail puts together a summary of all the information about all the flights coming up in the next month and emails it to the client. This most likely allows her to:

A) cover her tracks so she can provide a record of customer service B) save on the transmission time it would take to fax the information C) leave the details to the client to arrange D) keep the client informed in real time as arrangements are made E) keep the client informed without overwhelming them with multiple emails

Business

Many U.S. companies first discovered marketing during the ________ era.

A. retailing-oriented B. market-oriented C. value-based marketing D. production-oriented E. sales-oriented

Business