Back
  • Qissba
  • Courses

      CBSE Class 12

      PYTHON

      Computer Science

      • Python
      • Computer System Overview
      • Computer Networks
      • society Law & Ethics
      • Data Representation
      • Boolean Logics
      Python Online Free Courses for Classes 11th and 12th
  • Blog
  • Shop
    • Cart
    • Checkout
    • My account
  • About Us
  • Contact
  • Career
Have any question?
(+91) 09897990175
qissba@gmail.com
RegisterLogin
Qissba
  • Qissba
  • Courses

      CBSE Class 12

      PYTHON

      Computer Science

      • Python
      • Computer System Overview
      • Computer Networks
      • society Law & Ethics
      • Data Representation
      • Boolean Logics
      Python Online Free Courses for Classes 11th and 12th
  • Blog
  • Shop
    • Cart
    • Checkout
    • My account
  • About Us
  • Contact
  • Career

    Computer Science

    Relational Operator in Python – CBSE Class12

    • Posted by Kabeer Sahib
    • Categories Computer Science

    Relational Operator

    Relational operators works with nearly all DATA TYPES IN PYTHON such as numbers stings, lists, tuples, etc. There are six types of relational operators, that python provides. 

    Table of Contents

    Toggle
    • Relational Operator
      • IMPORTANT PRINCIPALS 
        • 1.For numeric type
      • Why Relational Operators in Python?
      • Exam Time
    • IMPORTANT QUESTIONS : Asked in examinations of Class 12th Computer Science
        • structure of module in python
        • arithmetic operators
        • operators in python
        • types of operators
        • logical operators
        • membership operators
        • standard library module

    Relational-Operators

     

    Here in the term RELATIONAL OPERATOR, relation refers to the relationship of value in an expression, thus these operator determines the relationship among different operands

    In python programing, there are six relational operators for comparing value. These operators are also called comparison operators.

    If the comparison is true, the relational expression results into the Boolean value TRUE otherwise the result comes Boolean value FALSE.

    IMPORTANT PRINCIPALS 

    Relational operator works on the following principles,

    1.For numeric type

    1. 4 and 4.0 will be treated as equal because of removing trailing from 4.0, it becomes equal to 4 only.
    2. Strings are compared on the basis of lexicographical ordering (ordering of dictionary) i.e., alphabetical order
    3. Two lists or tuple are equal if they have same elements in the same order
    1. Boolean true is equivalent to / and Boolean false to 0 for comparison purpose.

     

    For instance, consider the following relational operations given 

    a = 3, b = 13, p = 3.0

    c = ‘n’, d = ‘g’, e = ‘N’,

    f = ‘god’, g = ‘God’, h =‘god’, j = ‘God’, k = “Godhouse”,

    L = [1,2,3], M = [2,4,6], N = [1,2,3]

    O =(1,2,3), P = (2,4,6), Q = (1,2,3)

     

    Why Relational Operators in Python?

    In this tutorial, we have learnt about Relational Operators in python for cbse class 11 & 12 and its related concepts according to CBSE syllabus.  This topic is 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 NAMEMARKS
    1Computational thinking and programming 40
    2Computer network 10
    3Database management 20
    4Practical30
    5Total100

     

    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 Relational Operators in Python.

     

    Exam Time

    Chapter : Relational operators


    IMPORTANT QUESTIONS : Asked in examinations of Class 12th Computer Science

    How many relational Operators Available in python?
    can relational operators used in strings?
    what are six relational operators in python?
    what are relational operators in python with example?
    What are relational and logical operators?
    What is the difference between relational and logical operators in Python?

         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

    Tag:basics of python, CBSE, class - 11, computer science, free python, free python tutorial, Mohammad Amees, Operators in Python, python notes, qissba, qissba technologies, relational operators, types of operators

    • Share:
    Kabeer Sahib

    A Trained Post Graduate Teacher with 10 years of experience and working as TGT/PGT–Computer Science including good Management and administration skills with managerial positions in previous work environments

    Previous post

    Binary Arithmetic Operators in Python - CBSE class12
    14 July 2022

    Next post

    Unary Arithmetic Operators in Python - CBSE Class 12
    14 July 2022

    You may also like

    Operator Precedence & Associativity in Python | CBSE Class 11| Computer Science
    24 June 2025

    Dear Class 11th STUDENTS, ! Welcome to this tutorial of Operators in Python from your CBSE class 11 of …

    basics-of-python-programming-languages-cbse-class-11
    Basics of Python Programming Language | CBSE Class 11| Computer Science
    3 June 2025
    encoding-schemes-cbse-class-11-computer-science
    Encoding Schemes | ASCII | ISCII | Unicode | CBSE Class 11| Computer Science
    21 May 2025

    Leave A Reply Cancel reply

    You must be logged in to post a comment.

    Search

    Categories

    • Computer Science
    • Education
    • Education News
    Computer Science : Python – CBSE Class 11

    Computer Science : Python – CBSE Class 11

    ₹1,999.00Free
    Computer Science : System Overview – CBSE Class 11

    Computer Science : System Overview – CBSE Class 11

    ₹999.00Free
    Computer Science : Python – CBSE Class 12

    Computer Science : Python – CBSE Class 12

    ₹1,999.00Free

    Login with your site account

    Lost your password?

    Not a member yet? Register now

    Log in

    Copyright @ 2021 ! QISSBA EDUCATION ! .

    • Privacy
    • Terms
    • Sitemap
    • About Us

    Login with your site account

    Lost your password?

    Not a member yet? Register now

    Register a new account

    Are you a member? Login now