Python (Python interview Questions) Top Most Important 04 Questions And Answers 2021

1. What is Python ? What are the Benefits of using Python ?

  Ans.  Python is a programming language with objects , threads , modules and automatic memory management . The benefits of pythons are that , it is simple and easy , portable ,built - in data structure and open source .  


2. What is Pickling and unpickling ?

Ans.  Pickle module accepts any python object and converts it into a string representation and dumps it into a file by using dump functions , this process is called pickling. 

While the process of retrieving original Python objects from the stored string representation is called unpickling.


3. What is PEP 8 ?

Ans .  PEP 8 is a coding convention , a set of representation , about how to write your Python code more readable.


4.How Python is interpreted ?

Ans.  Python language is an interpreted language. Python program runs directly from the source code . It converts the source code that is written by the programmer into an intermediate language , which is again translated into machine language that has to be executed.



Post a Comment

0 Comments