python 2 marks
python 2 marks
2. Define constant.
3. What is variable?
4. What is an identifier?
5. Write the naming rule to define an identifier in python.
6. List the basic data type supported by python.
7. How to convert the string into integer type?
8. Define array.
9. What is negative indexing in array?
10. What is comment?
11. How to define single line and multiline comment in python.
12. What is string?
13. Define expression.
14. List any four array methods.
15. List any four string handling methods.
16. Define operator.
17. What is the role of ** operator in python?
18. List any four features of python.
19. What is python?
20. Write the difference between python list and array.
21. Write the difference between local and global variable.
22. What is type conversion in Python?
23. What is input function in python?
24. What is output function in python?
25. Write the syntax to define an array in python.
26. List any four types of operators in python.
27. What is relational operator?
28. What is logical operator?
29. What is membership operator in python?
30. What is formatted output in python?