Sail E0 Webinar

MCQs

Total Questions : 35 | Page 1 of 4 pages
Question 1.

Bitwise | can be used to set a bit in number.


  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes


Question 2.

Bitwise can be used to perform addition and subtraction.


  1.    Yes
  2.    No
 Discuss Question
Answer: Option B. -> No


Question 3.

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


  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes


Question 4.

Bitwise can be used to generate a random number.


  1.    Yes
  2.    No
 Discuss Question
Answer: Option B. -> No


Question 5.

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


  1.    Yes
  2.    No
 Discuss Question
Answer: Option B. -> No


Question 6.

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


  1.    Yes
  2.    No
 Discuss Question
Answer: Option B. -> No


Question 7.

Left shifting an unsigned int or char by 1 is always equivalent to multiplying it by 2.


  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True


Question 8.

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


  1.    Yes
  2.    No
 Discuss Question
Answer: Option A. -> Yes


Question 9.

On left shifting, the bits from the left are rotated and brought to the right and accommodated 

where there is empty space on the right?


  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False


Question 10.

Bitwise & can be used to divide a number by powers of 2


  1.    True
  2.    False
 Discuss Question
Answer: Option B. -> False


Latest Videos

Latest Test Papers