Bitwise Operators in Python – CBSE class 12
Bitwise Operators
Python programming provide the following Bitwise Operators.
Bitwise Operators are similar to logical operator and the only difference is that they work on a smaller scale – on binary representation of data. Bitwise operator are used to change individual bites in an operand.
There are following types of operators:
Let us learn all these types of bitwise operators one by one

The Bitwise AND (&) Operator
when its operands are numbers, the & operations performs the bitwise AND functions on each parallel pair of bits in each operand. The AND functions set the resulting bit to 1 of if the corresponding bit in both operands is 1, as shown in the following table.

The Bitwise inclusive OR () Operator
When both of its operands are number, the  operator performs the inclusive OR operation. Inclusive OR means that if either of the two bits is 1, the result is 1. The following table shows the results of inclusive OR operations.

The Bitwise exclusive XOR (^) operator
Exclusive OR means that if the twooperand bit are different, the result is 1; otherwise, the result is 0. The following table shows the results of an exclusive OR operations

The Bitwise Complement (~) operator
the complement operator inverts the value of each bit of the operand : if the operand bit is 1 the result is 0 and if the operand bit is 0 the result is 1.
Why Bitwise Operators in Python?
In this tutorial, we have learnt about Bitwise Operators in python for CBSE class 11 & 12 and its related concepts according to CBSE syllabus and. This tutorial is useful for Central Board of secondary education (CBSE) student of class 11^{th and} 12^{th } , who opted computer science (Code 083) as an optional subject. This topic is also very important to start learning python programing language for beginners of class 11th and 12th.
You can check the latest CBSE syllabus for computer science Click here for syllabus OR Click here
UNIT NO.  UNIT NAME  MARKS 
1  Computational thinking and programming  40 
2  Computer network  10 
3  Database management  20 
4  Practical  30 
5  Total  100 
Unit II: Computational Thinking and Programming – 1
According to the syllabus , Unit II Computational Thinking and Programming – 1 has the above concepts for learning related to python Bitwise Operators in Python.
Exam Time
Chapter : Bitwise Operators in Python
IMPORTANT QUESTIONS : Asked in examinations of Class 12th Computer Science
What are Bitwise Operators in python? 
What is bitwise Operator example? 
What is Bitwise operator how do they work? 
What are the types of Bitwise operators in python? 
What is the use of bitwise operators in python? 
How bitwise NOT operators use in Python? 
What is bitwise right shift operators in python? 
What is bitwise XOR operators in python? 
What is bitwise operators in python with example? 
Read more
 structure of module in python
 arithmetic operators
 operators in python
 types of operators
 logical operators
 membership operators
 standard library module
 Identifiers in python