Unary Arithmetic Operators in Python – CBSE Class 12
Unary Operators
There are two types of unary operator that python provides.
-
Unary (+) PLUS
-
Unary (-) MINUS
Let’s learn both one by one
A. Unary Operators (+)
The operator unary (+) always proceeds an operand, The operand / value on which the operator operates must be an arithmetic type.
Example
If a = 9 then +a is 9
If a=0 then +a is 0
If a = -3 then +a is -3
B. Unary Operators (-)
The operator Unary (-) also proceeds an operand and the operand of unary (-) must have an arithmetic type, then the result is the negation of its operands value.
Example :-
If a = 5 then -a is -5
If a = 0 then -a is 0
If a = -4 then -a is -4
Why Structure of Module in Python
In this tutorial, We have learnt about Unary Arithmetic Operators in python for CBSE class 11 & 12 and its related concepts according to CBSE syllabus. This tutorial is useful for Central Board of secondary education (CBSE) student of class 11th & 12th, who opted computer science (Code 083) as an optional subject. This topic is also 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.
Here, we are also giving a short introduction of syllabus.
SYLLABUS OF COMPUTER SCIENCE (PYTHON) CBSE CLASS 12TH
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 Structure of Module in Python.
Exam Time
Chapter : Operators in Python
Computer Science
IMPORTANT QUESTIONS : Asked in examinations of Class 12th
QUESTIONS ARE COMING SOON
Read more…
- Operators in python.
- Types of operators.
- Arithmetic operators.
- Relational operators.
- Identity operators.
- Logical operators.
- Bitwise operators.
- Membership operators.
- Assignment operators.
- Shift operators.
- Binary arithmetic operators.
In this tutorial, we shall be learning about Unary Arithmetic Operators in python 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.
Also after learning this tutorial, you will be able to answer the following questions.
Important Questions
Q-1. what are arithmetic operators in python?
Q-2. List of arithmetic operators in python.
Q-3. Arithmetic Operator in Python with example ?
Q-4. How many types of operators used in python?
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. As you can see blow.
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 following concepts for learning related to python operators
- Operators
- Arithmetic operators
- Relational operators
- Logical operators
- Assignment operator
- Augmented assignment operators
- Identity operators(is, is not)
- Membership operators(in, not in)