Evaluate 0xC9 OR 0x2A.

Prepare for the United Airlines Flight Simulator Technician Test. Explore flashcards and multiple choice questions with explanations. Ace your exam!

Multiple Choice

Evaluate 0xC9 OR 0x2A.

Explanation:
Bitwise OR looks at each bit position and puts a 1 there if either input bit is 1. To see it clearly, convert the hex values to binary: 0xC9 is 11001001 and 0x2A is 00101010. OR them bit by bit: 11001001 OR 00101010 equals 11101011, which is 0xEB. In decimal, that’s 235. The other options don’t match this bit-by-bit result, so 0xEB is the correct outcome.

Bitwise OR looks at each bit position and puts a 1 there if either input bit is 1. To see it clearly, convert the hex values to binary: 0xC9 is 11001001 and 0x2A is 00101010. OR them bit by bit: 11001001 OR 00101010 equals 11101011, which is 0xEB. In decimal, that’s 235. The other options don’t match this bit-by-bit result, so 0xEB is the correct outcome.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy