0% found this document useful (0 votes)
1 views3 pages

Interview Q For Python

The document contains a comprehensive list of basic and advanced Python interview questions covering topics such as Python fundamentals, data types, functions, file handling, exception handling, and object-oriented programming concepts. It includes questions on lists, tuples, sets, dictionaries, decorators, generators, and various operations and methods associated with these data structures. Additionally, it addresses concepts like inheritance, polymorphism, encapsulation, and serialization in Python.

Uploaded by

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

Interview Q For Python

The document contains a comprehensive list of basic and advanced Python interview questions covering topics such as Python fundamentals, data types, functions, file handling, exception handling, and object-oriented programming concepts. It includes questions on lists, tuples, sets, dictionaries, decorators, generators, and various operations and methods associated with these data structures. Additionally, it addresses concepts like inheritance, polymorphism, encapsulation, and serialization in Python.

Uploaded by

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

BASIC PYTHON INTERVIEW Q

1.What is Python?
2.What is Compiler , Interpreter and Debugger?
3.History of Python?
4.Features of Python?
5.What is mean High level and Low level language?
6.Which IDE used for Python?
7.Python Identifiers(Rules and Regulations)
8.What is list and Properties of List?
9.What is List support indexing( forward and Reverse)
10.What is Ordered and unordered Over List , tuple and Set.
11.Explain List operations/Methods.
12.Difference between append and extend list op ?
13.Difference between remove and pop list op ?
14.What is Mutable and Unmutable data types.
15.What is tuple and Properties of tuple?
16.Explain tuple operations/Methods.
17.Why Tuple is faster than list ?
18.Can we insert new element into tuple?
19.can we define tuple inside list vice versa
20.list vs tuple on the basis of memory optimization(speed)
21.What is Set and Properties of Set?
22.Explain Set operations/Methods.
23.Difference between remove() , Discard() and Pop() in Set ?
24.Explain Math operation on set ?
25.Explain Boolen operation on set ?
26.What is Dictionary and Properties of Dictionary?
27.Explain Dictionary operations/Methods.
28.Difference between Pop () and Popitem() method ?
29.What is String and Properties of String ?
30.Explain all Operations of String ?
31.What is Type Casting ?
33.types of Operator in Python ?
34.What is function and why we use fun ?
35. explain diff types of function
36.Explain type of Arguments ?
37.Difference between *args vs **kwargs.
38.What local and Global Variable ?
ADV PYTHON INTERVIEW Q

1.What is Decorator , why we use it?


2.What is List Comprehension?
3.What is Lambda function in Python?
4.Difference bet Map() and filter()
5.What is Generator in python?
6. What is Iterator in python?
7.Diff bet Generator and Iterator?
8.Diff between return and yield keyword in fun
9.What is the use seek() and tell() fun in file handling
10.what is the use of exclusive mode in file handling.
11.diff bet readline() and readlines() in read mode
12.Write logic for copy contain one file to another file
13. Write logic for move contain one file to another file
14.How to check Particular file exist or not in computer
15.What is exception Handling.
16.which type of exception handles in exception handling
17.Which type of modes available in file handling
18.what is the use of finally block in exception handling
19.What is Object Serialization ? (Dict to json)
20. What is Object deSerialization ? (json to dict)
21.what is dumps() and dump() in Object Serialization
22.what is load() and loads() in Object deserialization
23.What is Class and Object
24.What is the use of Self object and –init- method in class
25.What is Inheritance and types of inheritance
26.What is the use of super() method in inheritance
27.what is abstraction and where u have used this concept in your project.
28. what is Encapsulation and where u have used this concept in your project.
29.diff bet Public , protected and private access specifier
30.What is polymorphism and where u have used this concept in your project.
31.What is method overloading and method overriding
32.What is Operator Overloading

You might also like