KEMBAR78
Bitwise Operators (Most Imp) | PDF
0% found this document useful (0 votes)
9 views1 page

Bitwise Operators (Most Imp)

Bitwise Operators are used to perform operations on data in binary form, specifically for integer data types. They convert integers to binary format for bit-by-bit operations and return results in decimal format. In Python, there are six types of Bitwise Operators: Left Shift, Right Shift, OR, AND, Complement, and XOR.

Uploaded by

bb7608758
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Bitwise Operators (Most Imp)

Bitwise Operators are used to perform operations on data in binary form, specifically for integer data types. They convert integers to binary format for bit-by-bit operations and return results in decimal format. In Python, there are six types of Bitwise Operators: Left Shift, Right Shift, OR, AND, Complement, and XOR.

Uploaded by

bb7608758
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

=============================================

5. Bitwise Operators (Most Imp)


=============================================
=>The puropose of Bitwise Operators is that "To Perform the operations on the data
in the form of Bits".
=>Bitwise Operators are applicable on Integer data only but not applibale to float
type values bcoz float
can't maintain certainity.
=>All Types of Bitwise Operators Converts given Integer data into Binary Format and
starts operating in
the form of Bit by Bit and finally gives the result in Decimal Number System
format and hence these operator are named as Bitwise Operators.
=>In Python Programming, we have 6 types of Bitwise Operators. They are

1. Bitwise Left Shift Operator ( << )


2. Bitwise Right Shift Operator ( >> )
3. Bitwise OR Operator ( | )
4. Bitwise AND Operator ( & )
5. Bitwise Complement Operator ( ~ )
6. Bitwise XOR Operator ( ^ )
=======================================x===============================

You might also like