Change set

Pick exam & year, then Go.

Question map
Not attempted Correct Incorrect ★ Bookmarked
Loading…
Q132 (CISF/2020) Science & Technology › ICT, AI, Cybersecurity & Emerging Tech

Which of the following is/are bit manipulation operators ?
1. 11
2. ^
3. >>
4. <<
Select the correct answer using the code given below :

Explanation

Bit manipulation (or bitwise) operators are used to perform operations at the bit level. In most programming languages (like C, C++, Java, and Python):

  • ^ (Bitwise XOR) is a standard bitwise operator.
  • >> (Right Shift) and << (Left Shift) are bitwise shift operators used to move bits.
  • The symbol 11 in the question is likely a typographical error for a bitwise operator such as & (Bitwise AND) or | (Bitwise OR), or it represents the logical operator ||.

In standard technical MCQs of this format, the list typically includes three bitwise operators and one logical operator (like && or ||). Given the options, 1, 2, and 3 are classified as bit manipulation operators, assuming the fourth is a logical operator typo, which is a common pattern in such examination questions.

✓ Thank you! We'll review this.

SIMILAR QUESTIONS

CDS-I · 2019 · Q38 Relevance score: -4.54

Which of the following is/are state function / functions? 1. q + w 2. q 3. w 4. H - TS Select the correct answer using the code given below.

CISF · 2021 · Q6 Relevance score: -4.97

If a > b are two real numbers such that a + b = 10 and a2 + b2 = 52, then what is the value of a - b ?

CISF · 2021 · Q143 Relevance score: -5.61

Which one of the following bits is reserved for the sign bit in signed-magnitude representation?

CDS-II · 2025 · Q83 Relevance score: -6.14

Assuming the computer is a 4-bit computer, what result is produced after subtraction of 3 from 5 using the 2's complement representation ?