0% found this document useful (0 votes)
3 views2 pages

Mid-level Interview Questions

The document contains a series of questions covering various programming concepts, particularly related to Python, Django, and database management. Topics include mutable vs immutable types, abstract classes vs interfaces, caching, encapsulation, and various Django functionalities such as migrations and middleware. Additionally, it touches on concepts like multi-threading, async/await, and the request-response cycle in Django.

Uploaded by

X2 EnterTains
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Mid-level Interview Questions

The document contains a series of questions covering various programming concepts, particularly related to Python, Django, and database management. Topics include mutable vs immutable types, abstract classes vs interfaces, caching, encapsulation, and various Django functionalities such as migrations and middleware. Additionally, it touches on concepts like multi-threading, async/await, and the request-response cycle in Django.

Uploaded by

X2 EnterTains
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.What is mutable and immutable?

2.difference between abstract and interface?


3.what is cache?
4.what is encapsulation?
5.Until when private variable can access in a class?
6.Check number as even and odd without using condition?
7.Let suppose you have a hotel, at reception how will you show the client about
direction without using the database. Choose an alogrithm
8.Can we use a database in node js in django and how?
9.Let suppose, I make a migration, later deleted the table directly from the
database. And, later again create a migration. Will it gave me error or not?
10.How to check all the entry logs of the database?
11.What is guicorn on AWS?
12.what supervisior do?
13.How is project running using the guicorn? explain it.
14.what are generator? what the difference between yield and return?
15.a,b,c = [1,2,3] , print a, b and c. Check their values.
16.Difference between save and update method in django models and database.
17.what is cache and its type?
18.let suppose, we have used cache in a database but I want an updated field of a
model. Which method I will use?
19.find the 2nd maximum in the list
20.a = [1,3,4,6], add 7 in between 3 and 4.
21.related query name in django.

22.What is multi-threading?
23.What is async await in python?
24.What are mixins in python?
25.What is multi-inhertience?
26.What is merge-join in postgres?
27.What is present in jwt header?
28.what is middleware?
29.what is asgi and wsgi?
30.what are websockets, channels and redis?
31.What you recieve when you get a request from socket?
32.What the difference between get and filter in django query?
33.Do get query return a list or dict?
34.What is lazy loading?
35.Is django a monology or micro-service?
36.If we stop the django runserver, do the cronjob will also stop?
37.Can we perform raw queries in django?
38.level of inheritence in models?

39.What is Python
40.What are python data structures
41.What is the difference between List and Tuple
42.What is Set
43.How can one acheive overloading in python
44.If a function doesn’t have a return statement, is it valid?
45.What is the difference between Split and Slice
46.Reverse a string without using loop
47.What is the difference between OS and SYS modules
48.What is the difference between get and post
49."What is the difference between mutable and immutable objects
50.Immutable data types in python:

51.Mutable data types in python:


52.What is django Architecture
53.What is the request response cycle of django
54.what are fake migrations
55.What is the difference between middleware and decorators
56.What are searializers
57.How to run background processes in django
58.What are forms - and clean method
59.context processors
60.list comprehension
61.genrators
62.api view and viewset
63.select related and prefetch related
64.lazy queries

You might also like