Backend Python Developer Interview Questions

108 backend python developer interview questions shared by candidates

what I do in my current organization? the next set of questions were related to python and computer science concepts. 1. what is GIL(global interpreter lock) in python. 2. what is deep copy and shallow copy with example on an online editor 3. which code works faster? 1. with open("input.txt") as f: data = f.readlines() for line in data: process(line) -------------------------------- 2. with open("input.txt") as f: for line in f: process(line) 4. iterator,generator,event loop 5. set ,dict tuple 6. mutable and immutable what are these data types 7. what is lazy eval 8. concurrency vs parallelism 9. memory allocation in python
avatar

Backend Developer (Python)

Interviewed at Fynd

3.6
Jun 25, 2021

what I do in my current organization? the next set of questions were related to python and computer science concepts. 1. what is GIL(global interpreter lock) in python. 2. what is deep copy and shallow copy with example on an online editor 3. which code works faster? 1. with open("input.txt") as f: data = f.readlines() for line in data: process(line) -------------------------------- 2. with open("input.txt") as f: for line in f: process(line) 4. iterator,generator,event loop 5. set ,dict tuple 6. mutable and immutable what are these data types 7. what is lazy eval 8. concurrency vs parallelism 9. memory allocation in python

Cod assignment: They asked me to create a web server with three math APIs(e.g. Fibonacci, ...) and to log the runtime of APIs, they gave me a review about my code, that the logger that I implemented is not efficient and so simple, but the point is that when I received the code assignment, I asked them about how do they need the logger to be implemented, is it OK to just write a simple custom logger or there are some other expectations that need to be satisfied, and they told me that I can write a custom one
avatar

Senior Python Backend Developer

Interviewed at Klarna

3.1
Sep 15, 2021

Cod assignment: They asked me to create a web server with three math APIs(e.g. Fibonacci, ...) and to log the runtime of APIs, they gave me a review about my code, that the logger that I implemented is not efficient and so simple, but the point is that when I received the code assignment, I asked them about how do they need the logger to be implemented, is it OK to just write a simple custom logger or there are some other expectations that need to be satisfied, and they told me that I can write a custom one

Viewing 11 - 20 interview questions

Glassdoor has 108 interview questions and reports from Backend python developer interviews. Prepare for your interview. Get hired. Love your job.