# Bit Array MCQs and answer with FREE PDF

## 150+ Bit Array MCQs and answer with FREE PDF

Here we have the best collection of the Bit Array MCQs and answer with FREE PDF. These Bit Array MCQs will help you to prepare for any competitive exams like: BCA, MCA, GATE, GRE, IES, PSC, UGC NET, DOEACC Exams at all levels – you just have to practice regularly.

## Bit Array MCQs and answer

##### 1. Which one of the following operations returns the first occurrence of bit 1 in bit arrays?

a) Find First Zero

b) Find First One

##### 2. What does Hamming weight/population count mean in Bit arrays?

a) Finding the number of 1 bit in a bit array

b) Finding the number of 0 bit in a bit array

c) Finding the sum of bits in a bit array

d) Finding the average number of 1’s and 0’s in bit arrays

Answer: Finding the number of 1 bit in a bit array

a) OR

b) NOT

c) XOR

d) NAND

a) BitSet

b) BitVector

c) BitArray

d) BitStream

##### 5. What is a bit array?

a) Data structure for representing arrays of records

b) Data structure that compactly stores bits

c) An array in which most of the elements have the same value

d) Array in which elements are not present in continuous locations

Answer: Data structure that compactly stores bits

a) OR

b) AND

c) XOR

d) NOR

a) OR

b) AND

c) XOR

d) NAND

a) OR

b) AND

c) XOR

d) NOT

##### 9. 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 easy

Answer: Accessing Individual Elements is easy

##### 10. Which of the following is not a disadvantage of bit array?

a) Without compression, they might become sparse

b) Accessing individual bits is expensive

c) Compressing bit array to byte/word array, the machine also has to support byte/word addressing

d) Storing and Manipulating in the register set for long periods of time

Answer: Storing and Manipulating in the register set for long periods of time