Python Programmer Interview Questions

5,405 python programmer interview questions shared by candidates

Round 1 Questions: 1. Python basics / Memory allocation 2. OOPs concepts - Polymorphism, Inheritance 3. Mutable and immutable python data structures 4. Difference between list and tuples 5. Find the second largest element in an array using single for loop 6. Water-jar puzzle 7. Decorators and Generators
avatar

Python Developer

Interviewed at Talentica

4
Aug 13, 2021

Round 1 Questions: 1. Python basics / Memory allocation 2. OOPs concepts - Polymorphism, Inheritance 3. Mutable and immutable python data structures 4. Difference between list and tuples 5. Find the second largest element in an array using single for loop 6. Water-jar puzzle 7. Decorators and Generators

#python 1) List- Tuple - Dict 2) Lambda 3) Decorator 4) Inheritance - multiple & multilevel 5) Pollymorphism - method overriding and method overloading 6) self keyword 7) deep & shallow copy 8) context manager 9) exception handle 10) list vs array 11) for and while loop 12) __init__ method #django 13) context processor 14) Django request response cycle 15) Django architecture 16) Django URL structure 17) MVT structure 18) signal 19) django migration 20)template inheritance 21)django session 22)Queryset and functions #mysql 23) primary key, unique key, foreign key 24) normalisation in table 25) database scema 27) join query example #DRF 28) what is drf #logical programme: 29) min value from list: input_list = [25,11,95,15,12,96] output = [11] 30) unique value from list : input_list = [1,1,2,2,3,3,1,2,3] output = [1,2,3] SECOND ROUND 1) Scenario based quetions in my case make a online exams management system candidate need to discuss proper with manager regarding tables and fields as well as relations of the tables. 2) Diff. Unique Key & Primary Key 3) Past Project discussion Logical Question: 4) arr = [1,2,3,4,5,6,7,11,5] find average value of the list and based on average number find nearest element from list.
avatar

Python Developer

Interviewed at Lucent Innovation

3.8
May 1, 2024

#python 1) List- Tuple - Dict 2) Lambda 3) Decorator 4) Inheritance - multiple & multilevel 5) Pollymorphism - method overriding and method overloading 6) self keyword 7) deep & shallow copy 8) context manager 9) exception handle 10) list vs array 11) for and while loop 12) __init__ method #django 13) context processor 14) Django request response cycle 15) Django architecture 16) Django URL structure 17) MVT structure 18) signal 19) django migration 20)template inheritance 21)django session 22)Queryset and functions #mysql 23) primary key, unique key, foreign key 24) normalisation in table 25) database scema 27) join query example #DRF 28) what is drf #logical programme: 29) min value from list: input_list = [25,11,95,15,12,96] output = [11] 30) unique value from list : input_list = [1,1,2,2,3,3,1,2,3] output = [1,2,3] SECOND ROUND 1) Scenario based quetions in my case make a online exams management system candidate need to discuss proper with manager regarding tables and fields as well as relations of the tables. 2) Diff. Unique Key & Primary Key 3) Past Project discussion Logical Question: 4) arr = [1,2,3,4,5,6,7,11,5] find average value of the list and based on average number find nearest element from list.

Viewing 1281 - 1290 interview questions

Glassdoor has 5,405 interview questions and reports from Python programmer interviews. Prepare for your interview. Get hired. Love your job.