Python Operators Questions and Answers

Take Exam

Python Programming - Operators Questions with Answers teach how to perform operations on data effectively. These Python Operators Questions are important for Infosys, Wipro, and SSC exams testing logical and arithmetic concepts

Python Operators

Showing 10 of 26 questions

21. Which operator performs bitwise XOR?

  • xor
  • ^
  • ~
  • !
Show Answer Report

22. What is the result of 2 + 3 * 4?

  • 20
  • 14
  • 24
  • 10
Show Answer Report

23. Which operator is used for logical NOT?

  • !
  • NOT
  • not
  • ~
Show Answer Report

24. What is the output of (2 + 3) * 4?

  • 20
  • 14
  • 24
  • 10
Show Answer Report

25. Which operator performs bitwise left shift?

  • <<
  • >>
  • <
  • >
Show Answer Report

26. What is the result of 8 >> 1?

  • 4
  • 8
  • 16
  • 2
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test