Python Assignments
Answer the following questions
1) What is programming language? Explain the different types of programming languages.
2) What is program debugging? Differentiate between Syntax Error and Logical error.
3) What is Python? Write the various features of Python.
4) What is data type? Explain the data types in python with suitable example.
5) Write short notes on types of operators in python with appropriate example
6) Explain briefly constant, variables, expression, keywords and statements available in python.
7) What is comment in Python? Why comments are used in Python?
8) What is variable? What are the rules for naming a variable in Python?
9) What is the difference between Lists and Tuples? Give an example for their usage.
10) What is Dictionary data type in Python? How to create and access Dictionary data type?
11) Explain the various conditional statements in Python with syntax and example.
12) Explain the various looping/Iteration statements in Python with syntax and example.
13) Differentiate between break and continue statements in Python with suitable example.
14) What is function in Python? Explain different types of function in Python with example.
15) Differentiate between Standard/Built-in function with User defined functions with example.
16) What is User-defined function in Python? How to define and call a function in Python.
17) What is Object oriented programming? Write the features of OOPs.
18) What is classes and objects? How classes and objects are implemented in Python?
19) What is Inheritance? Discuss various types of Inheritance implemented in Python.
20) What is a file? How to create and read the files in Python? Explain with suitable example.