Critical Thinking QuestionsCase 9-2Another colleague shares the following code with you:Dim strEmployees(50) As String' Later in the codeReDim strEmployees(65).Which of the following lines could replace the line at the bottom of the code in the sample and retain the data in the elements 0 through 50?
a. ReDim Retain strEmployees(65)c. ReDim Restore strEmployees(65)b. ReDim Reserve strEmployees(65)d. ReDim Preserve strEmployees(65)

What will be an ideal response?


Answer: D

Computer Science & Information Technology

You might also like to view...

A key characteristic of viruses is their ability _____.

A. to see the contents of your screen B. to perform one function while actually doing something else C. to spread themselves from one computer to another D. to replicate themselves on the host computer

Computer Science & Information Technology

A(n) ____ cell reference tells Excel to substitute new cell references within the copied formulas as necessary.

A. mixed B. absolute C. relative D. parameter

Computer Science & Information Technology

?Identify a code that adds a label and a textarea element to a formto provide an opportunity for customers to ask questions.

A. ?Questions?? B. ?Questions? C. ?Questions? D. ?="questions"Questions?

Computer Science & Information Technology

IP addresses use binary numbers, meaning that they correspond to a series of bits and bytes.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology