Binary Arithmetic Operators in Python – CBSE class12
Binary Operators
when we need to perform arithmetic operations on more than one operands, python preferred the Binary Operators.
Types of Binary Operators
The operands of a binary operator a distinguished as the left and right operands, and the operator and operands together makes an expression.
All the Binary Operators and its symbols are given in the following list.
Let’s have an code example to understand the use of some of these binary operators.
Example 1
What will be the output produced by the following code ?
A , B , C , D = 9 . 2 ,2 . 0 ,4 , 21
print (A/4)
print(A//4)
print (D//B)
print (A%C)
Solution. 2.3
2.0
16.0
10.0
1.2
Example 2
Print the area of circle of radius 3.75 meters.
Solution.
Radius = 3.75
Area = 3.14159 * Radius ** 2
print (Area, ‘sq. Meter ’)
Read more
- Operators in python
- Types of operators in python
- Arithmetic operators
- Relational operators
- Identity operators
- Logical operators
- Bitwise operators
- Membership operator
- Assignment operators
- Shift operators
In this tutorial, we have learnt about Binary Arithmetic Operators in python for CBSE class 11 & 12 and its related concepts according to CBSE syllabus and these topics are very important to start learning python programing language for beginners of class 11th and 12th.
This tutorial is also useful for Central Board of Secondary Education (CBSE) student of class 11th and 12th , who opted computer science (Code 083) as an optional subject.
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 Standard Library Module in Python.
Exam Time
Chapter : Binary Arithmetic Operators
IMPORTANT QUESTIONS : Asked in examinations of Class 12th Computer Science
What are binary operators in python? |
Types of Binary operators in python with examples? |
What are the 4 binary operators? |
What are the 3 binary operations? |
How many binary operations are there? |
Which is not binary operator? |
What is binary operation table? |
What are binary operations Class 12? |
What is the name of binary operator and and? |
What are the 6 binary operations? |
What’s binary function? |
What is binary operation and give 3 examples? |
Is every function is a binary operation? |
What are the properties of binary operations? |
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