1.

Which of the following is not an advantage of bit array?(a) Exploit bit level parallelism(b) Maximal use of data cache(c) Can be stored and manipulated in the register set for long periods of time(d) Accessing Individual Elements is easyMy doubt stems from Bit Array topic in chapter Arrays Types of Data Structures & Algorithms II had been asked this question in an international level competition.

Answer»

Correct option is (d) Accessing Individual Elements is easy

To explain: Individual Elements are difficult to access and can’t be accessed in some programming languages. If random access is more common than SEQUENTIAL access, they have to be compressed to byte/word array. Exploit Bit parallelism, MAXIMAL USE of data cache and storage and manipulation for longer TIME in register set are all advantages of bit array.



Discussion

No Comment Found

Related InterviewSolutions