GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Data handling- Operators and Expressions

Suja Nair Englisch

Data handling- Operators and Expressions

Inhalt der Mindmap

Data handling- Operators and Expressions

  1. Operator

    • Unary Operator
      • Definition
        • Operators that act on one operand
      • Unary +
      • Unary -
    • 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(**)
    • 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
  2. 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
    • 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()
  3. 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
        • 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.

Bilder und Dateien der Mindmap

  • Data handling- Operators and Expressions

Informationen

Beschreibung
Mindmap am Data handling- Operators and Expressions, erstellt von Suja Nair am 15/05/2025.
Erstellt von
Suja Nair
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck