Interview Questions
Interview Questions
Neosoft Technologies:
1st Round:
● Difference between web server and app server
● Draw architecture of your current project
● Which one is faster: set or list
● Program :
Given a string: “ab123$zc2”
Output: “cz123$ba2”
(Note: without using direct swapping. Code should run for any given string)
● Git rebase
● HTTPS
● Use of Pandas
● Use of filezilla and putty
● Bubble sort
● Chmod permissions
● celery
2nd Round:
● Program:
1
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
● Diff between list and tuple
● Dictionary
● diff between array and dictionary
● deep copy and shallow copy
● what can be done to optimize speed of website
● diff between session and cookie
● What is cron jobs in ubuntu?
● diff between div and span
● diff between inner join and cross join
● SQL injection
KPMG:
● Difference between list tuple
● Why you use postgres?
● Difference between postgresql and mysql
● How to start postgres service?
● Advanced features of postgres
● Store procedures - DB
● Joins- join, inner join , Left join, Right join
● How do you send request and how you get response?
● You get response in which format?
● Real time scenario - for payment gateway
What if the amount got deducted from your account but you didn’t receive response
yet?
● Memory management in python
● Is memory management of python is best feature
● Advantages of python
● Pickling unpickling
● List python packages
● ORM methods of ODOO
● Decorators in python
● which is faster Tuple or list
● what is slicing
● what is negative indexing
● difference between copy and deepcopy
● can we trigger garbage collector?
● advantages of tuples
● how does joins work in oracle
● django architecture
Infobeans:
● Difference between range and xrange.
● Difference between list extend and append.
● What is the Zip in python?
● How to add pep8 plugin pycharm?
● How to write console output in file?
● What is lambda function in python?
● Fibonacci series without recursion.
● Methods in file handling.
● What is polymorphism in python?
● *args and **kwargs.
● Difference between .py and .pyc file.
Capgemini:
● Constructor overloading.
● Range and xrange difference.
● *args and **kwargs difference.
● Data types in python.
● Decorators in python.
● Suppose excel file have following data. Which python data type you will use to store this data
--------
--------
Will this throw an error or not, if yes what will be the error message?
● I have a list [[1, 2, ’ ‘], [3, ’ ‘, 4, ‘ ‘]], how to remove the ‘ ‘ from the list?
● Class Inheritance.
● How do we define multiple inheritance in Python?
● How garbage collection takes place in python?
● When do we define unit test in python?
● why do we use generator in python?
● Memory Management.
● Database connectivity using python.
Spinnaker llc:
● Range and xrange difference.
● Decorators in python.
● Find second largest salary.
● What is function and procedures in SQL?
● What is Aggregation in SQL?
● What is cursor in SQL?
Create a one DataFrame by merging 24 files in pandas without repeating the header.
● How to change the value 12.39- to -12.39 in a column?
Bank Of America:
● List comprehensions
● List slice operation
● How you create class or how to define class name in python process
● Type of class
● Type of Copy
● Difference between list and Tuple
● Feature of overriding
● Difference of overloading and overriding
● Live example of tuple in project
● Feature of Abstract classes
● data types
● oops concept
● pickling unpickling
● can we return multiple values from method? if yes, how?
● what is polymorphism, inheritance
● where you have used tuple in your application
● does dictionary stores duplicate values? if yes, if you are fetching with key, which
value it will return
● can we make object of class as key? if yes, how it works?
● private method in python
● memory management in python
● does developer have access to manage the memory?How can one manage it?
● What are the ways to optimize the code
TCS:
● How to run linux command by using python script?
● How to read text file?
● How to get particular value from apache response?
● How to create stack?? Write the program?
● How to create Queue? Write a programme?
● How to sort dictionary?
● How to connect postgresql by using python?
● What is the use of Pandas?? Which is more faster panda or numpy?
● Overriding example? And write the program?
● How to find file by using python and how to open it?
● diff between Mutable and immutable, Why string is immutable?
● Diff between Tuple and Dictionary?
● How to convert 2 list to dictionary?
● Operator Overloading
● Create and execute a customize command in Linux as well as execute it through python
Study Links:
Programiz