Completed: / exercises

Bitwise operations in C

Let's practise first bitwise operations and later bit masks for I/O operations..

Bitwise operations (1.5p)

Complete the 10 bitwise operations. If you make a mistake, you will need to succeed a longer number of operations. So be careful. These numbers have 8-bit size.
Hot tip! Its a good idea to use pen and paper first, before sending an answer.
Hot tip 2! Remember using right notation for the number system you are using for your response(e.g. 0b00001111 in binary, 0x2f for hexadecimal, or 23 if you are using a decimal number)

Warning: You have not logged in. You cannot answer.
?