Case 8-2
Another colleague shares the following code with you:
 Dim strEmployees(50) As String
' Later in the code
ReDim strEmployees(65).
Which of the following is NOT true based on what you see in your colleague's code?

A. The strEmployees array originally is sized to hold 51 values.
B. The strEmployees array is reinitialized to hold 66 values.
C. If the array had been redimensioned to a smaller size, your colleague would not lose the items between the original upper-bound array size and the new smaller upper-bound array size.
D. When the array is redimensioned, all the data contained in the array is lost.


Answer: C

Computer Science & Information Technology

You might also like to view...

This allows you to connect to the network device via a web browser, using HTTPS to the device’s IP address and its designated TCP port.

What will be an ideal response?

Computer Science & Information Technology

(Recursive main) Can main be called recursively on your system? Write a program contain- ing a function main. Include static local variable count and initialize it to 1. Postincrement and print the value of count each time main is called. Compile your program. What happens?

What will be an ideal response?

Computer Science & Information Technology

When using Design view and with the Design tab ribbon active, the Insert Chart button is located in the ________ group

A) Reports B) Controls C) Tools D) Charts

Computer Science & Information Technology

You recently completed a network overhaul over the weekend. Everything seems to be functioning properly until you receive a swarm of help desk support requests, all originating from one specific floor in your building. After a few minutes on the phone with those affected, you determine that no one has indicator lights active on their NICs. What is the most likely problem?

A. The DHCP server has failed. B. A gateway is incorrectly configured. C. Static IP address settings have prevented the NIC from entering a usable state. D. A network switch is powered off.

Computer Science & Information Technology