Django
Django
Python:
1. What is data type (this is first question asked b y all interviewer)
2.list, tuple, dict diff
3.list sorting without using generic function
4.can we use list as key in dict?
5. Dict sorting both key and value sorting
6.what is Listcomprehension and where you use it?
7. What is iterator, generator?
8. How to get traceback? expalin
9.how to write class
10.what is __init__
11.what is self
12.wts is constructor
13.wts decorator ? How it works? How to write custom decorator?
14. Wts is __init__ and __new
15.wts is super function in python and where you will use
16.hv u used set ()? If so wr (Note that Set () depreciated in python 2.6)
17.single linked list?
18. Which version you are using?
19. Deprecation in python latest version or version which you are working
Database:
1. If we modify models, then error will arise while accessing admin? How can we fix it? Data
shouldn’t miss from table
2.if the modified models filed is primary then how can we do that?
3. If the primary key is override then how can we do it?
4. If the primary key is from another table as foreign key, then how can we do it?
5. DB master, slave, cluster?
6. Table joining query