Compute 0x19 AND 0x1A in hexadecimal.

Prepare for the United Airlines Flight Simulator Technician Test with this comprehensive guide. Study with multiple-choice questions and detailed explanations to ace your exam and secure your dream career as a flight simulator technician with United Airlines!

Multiple Choice

Compute 0x19 AND 0x1A in hexadecimal.

Explanation:
Bitwise AND keeps a 1 only where both numbers have a 1 in the same bit position. Write both hex numbers in binary with the same width: 0x19 is 0001 1001 and 0x1A is 0001 1010. AND them bit by bit: 0001 1001 0001 1010 =0001 1000 That result is 0x18, which is 18 hex. The two least-significant bits don’t both equal 1, so they drop out, and only the higher bits where both inputs have 1 remain.

Bitwise AND keeps a 1 only where both numbers have a 1 in the same bit position. Write both hex numbers in binary with the same width: 0x19 is 0001 1001 and 0x1A is 0001 1010. AND them bit by bit:

0001 1001

0001 1010

=0001 1000

That result is 0x18, which is 18 hex. The two least-significant bits don’t both equal 1, so they drop out, and only the higher bits where both inputs have 1 remain.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy