Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
123 views

Python Interview Questions

The document discusses various Python concepts including: - Mutable and immutable data structures like tuples and lists and when each would be used - Dynamic typing in Python and how everything is an object - Call by value vs reference and how to preserve order in dictionaries - Built-in functions like enumerate, args, kwargs - Class vs instance variables and .py vs .pyc files - Map, reduce, filter functions and lambda functions - List comprehensions, __init__ functions, generators and iterators - Method resolution order, inheritance, and multi-threading in Python - Decorators, memory management, and regular expressions

Uploaded by

riyaz husain
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views

Python Interview Questions

The document discusses various Python concepts including: - Mutable and immutable data structures like tuples and lists and when each would be used - Dynamic typing in Python and how everything is an object - Call by value vs reference and how to preserve order in dictionaries - Built-in functions like enumerate, args, kwargs - Class vs instance variables and .py vs .pyc files - Map, reduce, filter functions and lambda functions - List comprehensions, __init__ functions, generators and iterators - Method resolution order, inheritance, and multi-threading in Python - Decorators, memory management, and regular expressions

Uploaded by

riyaz husain
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

What are Mutable and Immutable Data structures in Python ?

What are tuples ?


What is difference between tuple and list ? Where will you use tuple and where will
you use list ?
What is Dynamic Typing ?
Justify this statement : Everything is object in Python ?
Python is Call by Value or Call by Reference ?
How do you create a dictionary which can preserve the order of pairs?
Can you use mutable Data Structure as key in Dictionaries ?
What is the use of enumerate() in Python?
What are *args, **kwargs ?
How instance variables are different from class variables?
Differentiate between �*.py� file and �*.pyc� file?
Explain difference between Map vs Reduce Vs Filter ?
What are Lamda Functions ?
What is List comprehension ?
What is __init__ functions ?
What are Generators ?
What are Iterators ?
Can generator be used to create Iterators ? Give example
Can iterators be used to create generator ?
Differentiate between Range and Xrange ?
What is Method Resolution Order ?
Python supports Multi-Level Inheritance or Multiple Inheritance or Both ?
Does Python supports multi-threading ?
What is multi-threading? What is GIL(Global interpreter lock) issue ?
What are decorator ? How to create custom decorator ?
How memory is managed in Python ?
How does Python's garbage collection work?
What are Regular Expressions ?
Differentiate between append() and extend() methods ?
What is Web Scraping? How do you achieve it in Python?
Explain the use �with� statement in python?
What are Middlewares ?
What is Monkey patching ? Give example ?
What's the difference between py2.x and py3.x ?
Give examples of Python Framework ?

You have a previous working experience on micro services based architecture.


You should have a good understanding on Monolithic vs Micro services design.
Expert in Python, with knowledge of at least one Python web framework such as
Django, Flask, etc
You should be familiar with REST API and should be able to integrate multiple data
sources and databases into one system
Understanding of the threading limitations of Python, and multi-process
architecture
Understanding of accessibility and security compliance.
Knowledge of user authentication and authorization between multiple systems,
servers, and environments
Understanding of fundamental design principles behind a scalable application
Strong unit test and debugging skills
Proficient understanding of code versioning tools such as Git, Mercurial or SVN
Working knowledge on R
Basic understanding of front-end technologies, such as JavaScript, Angular JS,
HTML5, and CSS
Familiarity with marshmallow, Swagger, containerization using Docker.
Good understanding on at least one of the message brokering technologies IBM MQ,
RabbitMQ, Kafka, Active MQ
Deep understanding of server-side templating languages Jinja 2, Mako etc
Familiarity with some ORM (Object Relational Mapper) libraries
Familiarity with event-driven programming in Python

You might also like