Python Interview Questions

6,405 python interview questions shared by candidates

i got a call from Naukri, first round is written test having one coding and 20 django mcqs 2nd round is tech discussion on python ques are : 1) diff btw list and tuple 2) implement a decorator which will take a arguments 3) multi threading in python 4) a=[[]]*5 a[1].append(20) what is the output? 5)write SQL query to fetch 3rd highest salary 6) what is the django architecture and explain each component? 7) what are views and types of views 8) ques related to django middleware and custom middleware 2nd tech discussion round the interviewer was a senior architect ques are 1) student_result name, subject, department, mark get the second topper of each subject from each department 2) ques related to Django restframe work 3) what are the best practices to implement rest apis in django 4) how to authenticate and make a connection with SQL data base what are the best practices 5) write yml code to build a simple pipeline for a simple python based application deployment 6) how to write test cases in python 7) what is docker and ques related to docker file docker compose 8) experience in cloud 9) how to implement queues in redis
avatar

Python Developer

Interviewed at Tiger Analytics

4
Jan 31, 2025

i got a call from Naukri, first round is written test having one coding and 20 django mcqs 2nd round is tech discussion on python ques are : 1) diff btw list and tuple 2) implement a decorator which will take a arguments 3) multi threading in python 4) a=[[]]*5 a[1].append(20) what is the output? 5)write SQL query to fetch 3rd highest salary 6) what is the django architecture and explain each component? 7) what are views and types of views 8) ques related to django middleware and custom middleware 2nd tech discussion round the interviewer was a senior architect ques are 1) student_result name, subject, department, mark get the second topper of each subject from each department 2) ques related to Django restframe work 3) what are the best practices to implement rest apis in django 4) how to authenticate and make a connection with SQL data base what are the best practices 5) write yml code to build a simple pipeline for a simple python based application deployment 6) how to write test cases in python 7) what is docker and ques related to docker file docker compose 8) experience in cloud 9) how to implement queues in redis

More on Python, Programs, Inbuilt Data strucutres - various approaches for the same problem statement 2 nd round is very practical and in-depth. It was on Framework design, components like PyTest, Behave framework, Selenium explicit wait, REST API tokens, authentication, etc., Managerial discussion is behavioral round
avatar

Principal Software Engineer (Senior Python SDeT)

Interviewed at Accion Labs

3.9
Mar 18, 2021

More on Python, Programs, Inbuilt Data strucutres - various approaches for the same problem statement 2 nd round is very practical and in-depth. It was on Framework design, components like PyTest, Behave framework, Selenium explicit wait, REST API tokens, authentication, etc., Managerial discussion is behavioral round

Viewing 4131 - 4140 interview questions

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