1. Bitwise & can be used in conjunction with ~ operator to turn off 1 or more bits in a number.

A. Yes
B. No


Correct Answer: A. Yes

2. Bitwise can be used to reverse a sign of a number.

A. Yes
B. No


Correct Answer: B. No

3. Bitwise can be used to generate a random number.

A. Yes
B. No


Correct Answer: B. No

4. Bitwise | can be used to multiply a number by powers of 2.

A. Yes
B. No


Correct Answer: B. No

5. Bitwise | can be used to set multiple bits in number.

A. Yes
B. No


Correct Answer: A. Yes

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

19 − 12 =