🧪 Python MCQ Quiz Hub

Python MCQS - Operators

Choose a topic to test your knowledge and improve your Python skills

1. print(4**2) will show ?




2. What is the use of the ** operator ?




3. print(4//2) will show ?




4. print(4++2) will show




5. print(3--5) will give




6. What is the use of the % operator ?




7. What will be output of the following program ? print(3%4)




8. What will it show ?, print(64%2)




9. What will the output of the following program, print(//)




10. From which of the following? , the output will be 32




11. print(9//2)




12. print(4<<2)




13. print(2<<1)




14. print(2>>3)




15. print(100>>4)




16. << operator is replace by




17. >> operator is replace by




18. or() is replaced by which of the following operator ?




19. Which type of behavior is shown by the | operator ?




20. AND is shown by which of the operator ?




21. & operator is show the




22. Which of the following is not valid operator in the python




23. Which of the following operator is valid in the python ?




24. print(4*5)




25. print(100 & 4)




26. print(100|4)




27. print(50&4)




28. print(50&&4)




29. print(1000||300)




30. print(1000&300)




31. print(1000|300)




32. print(1000|300&234)




33. print(1000|300|234)




34. print(1000&300&234)




35. print(121--1000&300&234%23++1//4)




36. print(121--1000&300&234++1//4)




37. Which of the following is not correct ?




38. Which type of operator is not supported in the python programming language ?




39. print(1000<300)




40. print(1000>300)




41. print(1000==300)




42. print(10=10)




43. print(10>10<20==9)




44. Which of the following line gives a true output ?




45. print(10<50 & 300)




46. print(print(45+3))




47. print(print(45&34))




48. print(print(print(print(print(45))))), How many time it will print the None in output ?




49. print(45%4)




50. print(237//7)