انتقل إلى المحتوى
تحديات IQ
تحدي معلومات · علوم وصحة

Bitwise Operations - عمليات البتات

١٠ سؤال · لعبها ٣٠٠ شخص

اختر إجابة واحدة لكل سؤال، وتشوف مباشرة إذا كانت صح. في النهاية تطلع نتيجتك وتقدر تتحدى فيها أصحابك.

أرسله لصديق

نحسب نتيجتك…

أسئلة هذا التحدي (١٠)
  1. For the binary _____ operator, if the input is two 1s, the output is 0.
  2. For the binary _____ operator, if the input is two 0s, the output is 0.
  3. The unary _____ operator inverts its single input.
  4. To flip all the bits of a pattern, make a mask of all 1s and then _____ the bit pattern and the mask.
  5. To unset (force to 0) all the bits of a pattern, make a mask of all 0s and then _____ the bit pattern and the mask.
  6. To set (force to 1) all the bits of a pattern, make a mask of all 1s and then _____ the bit pattern and the mask.
  7. In two's complement representation with a 4-bit allocation, you get ____ when you add 1 to 7.
  8. To multiply a number by 2, use ______.
  9. To divide a number by 2, use ______.
  10. In two's complement representation with a 4-bit allocation, you get ____ when you add 5 to 5.

تحديات مشابهة

المزيد من علوم وصحة