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

PWP Oral Questions

Oral questions for python 22616

Uploaded by

etesting356
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)
7 views3 pages

PWP Oral Questions

Oral questions for python 22616

Uploaded by

etesting356
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

Q1. What is the difference between list and tuples in Python?

Q2. What are the key features of Python?

Q3. What type of language is python? Programming or scripting?

Q4.Python an interpreted language. Explain.

Q6.What are the benefits of using Python?

Q7.What are Python namespaces?

Q8.What are the common built-in data types in Python?

Q10.What is slicing in Python?

Q11.What are Keywords in Python?

Q16. What is PYTHONPATH?

Q17. What are python modules? Name some commonly used built-in modules in Python?

Q18.What are local variables and global variables in Python?

Q19. Is python case sensitive?

Q20.What is type conversion in Python?

Q21. How to install Python on Windows and set path variable?

Q22. Is indentation required in python?

Q23. What are functions in Python?

Q24.What is __init__?

Q25.What is a lambda function?

Q26. What is self in Python?


Q27. How does break, continue and pass work?

Q28. How can you randomize the items of a list in place in Python?

Q29. What are python iterators?


Q30. How can you generate random numbers in Python?

Q31. How do you write comments in python?

Q32. How to comment multiple lines in python?

Q33.What are docstrings in Python?

Q34. What is the purpose of ‘is’, ‘not’ and ‘in’ operators?

Q35. What is a dictionary in Python?

Q36. How can the ternary operators be used in python?

Q37. What are Python packages?

Q38.How can files be deleted in Python?

Q39. What are the built-in types of python?

Q40. What advantages do NumPy arrays offer over (nested) Python lists?

Q41. How to add values to a python array?

Q42. Does Python have OOps concepts?

Q43. Explain Inheritance in Python with an example.

Q44. How are classes created in Python?

Q45. Does python support multiple inheritance?

Q46. What is Polymorphism in Python?

Q47. How to handle Exception in Python?

Q48. How do you do data abstraction in Python?

Q49.Does python make use of access specifiers?

Q50. How to create an empty class in Python?

Q51. What does an object() do?

Q52. Is python numpy better than lists?


Q53. What is the difference between NumPy and SciPy?

Q54. When will the else part of try-except-else be executed?

You might also like