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.
a) Nothing.
You might also like to view...
The effect of the code shown in the accompanying figure is like highlighting the entire line containing the heading because the heading elements are ____________________ elements.
Fill in the blank(s) with the appropriate word(s).
?A standard user account can
A. ?install software that affects all users. B. ?change system settings that affect security. C. ?change user permissions. D. ?use most of the capabilities of the computer.
Network hardware does NOT include which of the following?
A. TCP/IP B. hubs C. routers D. switches
Separation of duties is often implemented between developers and administrators in order to separate which of the following?
A. More experienced employees from less experienced employees B. Changes to program code and the ability to deploy to production C. Upper level management users from standard development employees D. The network access layer from the application access layer