Mind map
Data handling- Operators and Expressions

Map content
Data handling- Operators and Expressions
Operator
- Unary Operator
- Definition
- Operators that act on one operand
- Unary +
- Unary -
- Definition
- Binary operator
- Defintion
- Operators that act on two operands
- Arithmetic Operator
- Addition operator (+)
- Subtraction operator (-)
- Multiplication operator (*)
- Division Operator (/)
- Floor Division Operator (//)
- Modulus Operator (%)
- Exponentiation operator(**)
- Defintion
- Augmented Assignment Operator
- +=, -=, *=, /=, %=, //=, **=
- Relational Operator
- <, >, <=, >=, ==, !=
- Identity Operators
- is
- is not
- Logical Operator
- or, and, not
- Assignment operator
- =
- Membership operator
- in
- not in
- Operator precedence
- Operator precedence in Python dictates the order in which operations are performed in an expression
- Precedence Chart
- Operator precedence in Python dictates the order in which operations are performed in an expression
- Unary Operator
Expressions
- Definition
- Combinations of values and operators
- Type of expression
- Arithmetic Expressions
- Relational Expression
- Logical Expression
- String expression
- Evaluating Expressions
- Order of Operations
- Follow PEMDAS/BODMAS rules - Parentheses, Exponents, Multiplication/Division, Addition/Subtraction
- Precedence of Operators
- Hierarchy of operators
- Higher precedence evaluated first
- Order of Operations
- Type Conversion
- Implicit Type Conversion
- Implicit type conversion, also known as coercion, is the automatic conversion of data types by the Python interpreter during operations. For example, when adding an integer and a float, Python will implicitly convert the integer to a float before performing the addition, resulting in a float value.
- Explicit Type Conversion
- Explicit type conversion, also known as type casting, involves manually converting a value from one data type to another. This is done using built-in functions provided by Python. eg. int(), str()
- Implicit Type Conversion
- Definition
Debugging
- Debugging in Python involves identifying and resolving errors in code
- Type of Errors
- Compile Time Error
- Syntax Error
- Syntax errors in Python occur when the code violates the language's grammatical rules. eg. print('Hello)
- Semantic Error
- Error occurs when statements are not meaningful. eg. x * y= z
- Syntax Error
- Logical Error
- A logic error in Python occurs when the code executes without crashing but produces an incorrect or unexpected result due to a flaw in the program's logic
- Run Time Error
- A runtime error in a program is an error that occurs while the program is running after being successfully compiled.
- Compile Time Error
- Type of Errors
- Debugging in Python involves identifying and resolving errors in code
Images and files in the map
Information
- Description
- Mind Map on Data handling- Operators and Expressions, created by Suja Nair on 15/05/2025.
- Created by
- Suja Nair
- Views
- 0
- Rating