You are developing an application to assist the user in conducting electronic surveys.

You are developing an application to assist the user in conducting electronic surveys. The survey
consists of 25 true-or-false questions. You need to perform the following tasks:
Initialize each answer to true.Minimize the amount of memory used by each survey.
Which storage option should you choose?


A. BitVector32^ answers = gcnew BitVector32(1);
B. BitVector32^ answers = gcnew BitVector32(-1);
C. BitArray^ answers = gcnew BitArray(1);
D. BitArray^ answers = gcnew BitArray(-1);

 
Answer: B 

No comments:

Post a Comment