PYTHON
₹413.70
Python Interview Q&A Vol 1.0
Description
Python Interview Q&A Vol 1.0
Questions 50
Check the complete list of questions:
- What is python?
- List some features of python?
- Is python a case sensitive language?
- What are the supported built-in data types in Python?
- What is the output of print str if str = ‘Hello World!’?
- Write the output of statement print str[2:5] if str = ‘Hello World!’?
- What will be the output of print str * 2 if str = ‘Hello World!’?
- What are tuples in Python?
- List the main differences between tuples and lists in Python?
- What are Python’s dictionaries?
- How will you create a dictionary in python?
- What is the purpose of ** operator?
- What is the purpose of “is” operator?
- Which command is used to get a random item from a list or tuple?
- How will you capitalize first letter of string?
- Which method is used to remove all leading whitespace in string?
- Which method is used swap case of all letters in string?
- How will you reverse a list?
- What is lambda function in python?
- Is Python platform independent?
- Write a function to give the sum of all the numbers in list?Sample list − (10, 15, 20, 25, 30)Expected output − 100
- Write a code in Python to reverse a string without using any built-in function of reverse string?
- How Python is interpreted?
- What are some of the tools that help to find bugs or perform static analysis?
- What is namespace in Python?
- What is module and package in Python?
- Explain how can you generate random numbers in Python?
- Is indentation required in python?
- What is __init__?
- What is self in Python?
- How does break, continue and pass work?
- What are docstrings in Python?
- Does Python have OOPs concepts?
- What are Python libraries? Name a few of them.
- List the built-in types of python?
- What is the use of “is”, “not” and “in” operators?
- Explain Inheritance in Python?
- How are classes created in Python?
- What is Polymorphism in Python?
- Define encapsulation in Python?
- Explain data abstraction in Python?
- What is a constructor in OOP?
- What is operator overloading in OOP?
- Define exception handling in OOP?
- What is an Inline function?
- What is the main difference between a class and an object?
- What are the access modifiers?
- What are the various types of constructors?
- What is ‘this’ pointer?
- What is static and dynamic Binding?
Reviews
There are no reviews yet.