9 years, 2 months ago.  This question has been closed. Reason: Duplicate question

Logical Operators Misunderstanding

I've got to ask, tried looking online not much luck, could someone talk through logical operators? like questions in a quiz was find u when u = 5<<2 or u = 9|1 and u=5^5 i get that << is shift in binary but when the numbers get to 100 or 76 how would you figure it out without spending ages looking at the binary values sheet? and also is ^ just arithmetic subtraction? and don't understand too much about | i get that is a NOT and flips the binary value but can someone explain in more detail please?

Question relating to:

STUDENTS Team School of Computing Electronics and Mathematics Plymouth University UK