0% found this document useful (0 votes)
27 views6 pages

Python Core and Advanced

The document contains questions about Python core concepts and advanced topics. It covers various fundamental aspects like Python versions, self, __init__ method, deleting files. It also discusses OOP concepts like classes, inheritance, polymorphism. More advanced topics covered include regular expressions, exceptions, decorators, generators, multithreading and packages. The questions help assess knowledge on Python syntax, semantics, libraries and how to apply concepts to solve problems.

Uploaded by

inaharya27
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
27 views6 pages

Python Core and Advanced

The document contains questions about Python core concepts and advanced topics. It covers various fundamental aspects like Python versions, self, __init__ method, deleting files. It also discusses OOP concepts like classes, inheritance, polymorphism. More advanced topics covered include regular expressions, exceptions, decorators, generators, multithreading and packages. The questions help assess knowledge on Python syntax, semantics, libraries and how to apply concepts to solve problems.

Uploaded by

inaharya27
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 6

Python Core And Advanced

1). What is the current version of python?

2). What is self in Python?

3). What is __init__ method in python?

4). How do we delete a file in Python?

5).Is python Interpreted Language?

1) Why python is called a muliprogramming Paradigms supporting language?

2) What is the difference between Sqlite and mysql db?

3) .What are the different types of errors found in python code?.What do you mean by an

Exception?

4) .How many arguments can the range() function take?explain?

5) What do mean by a class?How we define a class in python?

1) .What are different statements used to add attributes from one module into another

module?Explain with example?

2) What is Regular Expression?How it is implemented in Python?

3) What do you mean by indentation?

4).What is lambda function?How does lambda function differ from a normal function in

python?

5).What is multiple Inheritance?Does Python support Multiple Inheritance?


1) What are the key features of Python language?Explain

2) What is Join operation In DB?What are the different join operation in Sqlite Db.Explain with

Example.

3) What is decorator function?Explain with example.

4).What is the difference between method overloading and method overriding?

5).What is list comprehension?


1) . Who developed the language Python?

2) . Which databases are supported in Python?

3) . Is python case sensitive when dealing with identifiers?

4) Does Python support Multiple Inheritance?

5) . What is the output of L[-2] if L=[1,23]

6) .What is slicing in Python?

7) .Differentiate between tuple and Dictionary?

8) What is a Module? Name three important built in modules?

9) .Why python is called a dynamically typed language?

10).How is Exception handling done in Python?

11)What are different loop control statements used in Python?Explain with example?

12)What do you mean by a scope?what are the different types of scopes available in python?

13)What are the different aggregate functions used in DB?

14)What is re module?Explain functions available in re module with example?

15)What are the different file accessing modes used in python?

16). Explain OOPs Principles

17)What is multi-threading?
1) .Is Python platform Independent?

2) . How do we create an empty class or empty function in python?

3) .What is the use of ‘//’ operator in Python?

4) .What does len() do?

5) .What is the output of tuple[0]+=1 if tuple=(1,’a’,’banana’)?

6.What is membership operator in Python? Explain with example?

7)What do you mean by primary key and foreign key?

8.How do you write comments in Python?

9).How will you create a dictionary using tuples in Python?

10)Explain the else and finally clauses in Exception?

1) .What is a package?And how it is different from normal folder?

2) Explain the Order by ,having,Distinct,like clauses used in Db Queries?

3) .What is the difference between mutable and immutable types?Explain with example?

4) What are the different types of function?Explain with recusive function?


5)What do you mean by Inheritance?What are the different types of inheritance supported by

Python?

6).What is Type casting?What are the different type conversion methods in python

7).What are the built in data types in Python?

8).What do you mean by *args and **kwargs?

You might also like