Posts

Showing posts from May, 2021

Frequently Asked Python Interview Question

  Practice Set 1 01)  How Python code Execute? 02)  Why Python is interpreted language? 03)  Why Python is known as a scripting language? 04)  What is PVM? 05)  How Python manages its memory? 06)  What is namespace in Python? 07)  What are built-in data types in Python? 08)  What is literal? 09)  What is docstring? 10)  How to create a custom datatype in Python? 11)  What is the difference between List, Tuple, and Set? 12)  What is faster between List and Tuple? Explain Why? 13)  What is the difference between Python List and Array? In both cases how memory allocates? 14)  If I want to update a Tuple how can I do it? 15)  How many types of dictionaries present in Python? 16)   What is the difference between Dict and OrderDict? 17)   What is the advantage of using Dict? 18)  You have a list how can you make sure all the elements in the list should be unique? 19)  What is  monkey patching in Python? 20)  What is a  Decorator in Python? Why we use it? 21)  What is filter method in Python?