Compute 10100010 OR 01011101.

Enhance your programming skills with the RECF Programming Test. Features flashcards and multiple choice questions with hints and explanations. Prepare for success!

Multiple Choice

Compute 10100010 OR 01011101.

Explanation:
Bitwise OR combines two binary numbers by placing a 1 in each bit position where either input bit is 1. For each bit pair in 10100010 and 01011101, at least one of them is 1, so every position becomes 1: 1 OR 0 = 1, 0 OR 1 = 1, and so on. All eight positions end up as 1, giving 11111111.

Bitwise OR combines two binary numbers by placing a 1 in each bit position where either input bit is 1. For each bit pair in 10100010 and 01011101, at least one of them is 1, so every position becomes 1: 1 OR 0 = 1, 0 OR 1 = 1, and so on. All eight positions end up as 1, giving 11111111.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy