@@ -126,6 +126,7 @@ try x[10]:
126
126
except:
127
127
pass
128
128
``
129
+
129
130
Use pass keyword over there like:
130
131
``
131
132
if a>0:
@@ -357,5 +358,49 @@ Python is Call by Value or Call by Reference ?
357
358
What is Monkey patching ? Give example ?
358
359
What's the difference between py2.x and py3.x ?
359
360
Give examples of Python Framework ?
360
-
361
- [ Mind Boggling Python FAQ] ( https://docs.python.org/3/faq/programming.html )
361
+
362
+ What is Python , Explain features of Python.
363
+ How Python is interpreted.
364
+ Explain dict.
365
+ How to pass optional or keyword arguments.
366
+ Explain indexing and slicing.
367
+ What is lambda.
368
+ Difference between str() and repr().
369
+ Explain serialization and deserialization / Pickling and unpicking.
370
+ What is list / dict compression.
371
+ What are higher ordered functions.
372
+ How to copy object in Python. Diff between shallow copy and deep copy.
373
+ How to make array in python.
374
+ How to generate random numbers.
375
+ How to handle exceptions.
376
+ When to use list/tuple/set.
377
+ Disadvantageous of python.
378
+ Diff range() and xrannge()
379
+ What is PEP8
380
+ What is virtualenv
381
+ Diff between Python 2.* and 3.*
382
+ What is decorator, usage ?
383
+ With statement and its usage.
384
+ What is class and what is self.
385
+ Explain isinstance()
386
+ What is static method, class method and instance method
387
+ Treading in python
388
+ What are iterators and generators
389
+ Explain map, filter,reduce and lambda.
390
+ Difference between new styled classed and old styled classes.
391
+ What is diff between Python and Java
392
+ What is context processor.
393
+ What is exec() and eval ()
394
+ How to pass command line argument.
395
+ What is yield ?
396
+ What is ord() and chr()
397
+ What are Metaclasses.
398
+ What is descriptor ?
399
+ Any 10 python packages you have used.
400
+ What is namespace in Python? namespace vs scope ?
401
+ What is MRO ?
402
+ == vs is ?
403
+ mutable vs immutable
404
+
405
+
406
+ [ Mind Boggling Python FAQ] ( https://docs.python.org/3/faq/programming.html )
0 commit comments