0% found this document useful (0 votes)
2 views

python 2 marks

The document provides definitions and explanations of fundamental programming concepts in Python, including literals, constants, variables, identifiers, and data types. It also covers comments, string manipulation, operators, and the differences between lists and arrays. Additionally, it outlines features of Python and various functions related to input and output.

Uploaded by

sumi
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)
2 views

python 2 marks

The document provides definitions and explanations of fundamental programming concepts in Python, including literals, constants, variables, identifiers, and data types. It also covers comments, string manipulation, operators, and the differences between lists and arrays. Additionally, it outlines features of Python and various functions related to input and output.

Uploaded by

sumi
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/ 1

1. Define literal.

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?

You might also like