1.
State any four applications where python is more popular
2. What are the features of python?
3. Python has developed as an open-source project. Justify this statement
4. What is cloning of List?
5. List the rules to name an identifier.
6. Differentiate between integer and floating-point numbers.
7. What is the difference between compiled and interpreted languages?
8. What are mutable and immutable types?
9. What is the difference between immediate mode and script mode?
10. c= a << 2; # 240 = 1111 0000
print "Line 5 - Value of c is ", c
Predict the output of the above code?
11. Briefly explain different data types used in Python.
12 Write a Python program to convert height in feet and inches to cm.
[1 feet = 12 inch and 1 inch= 2.54 cm] (Sample input: 2 feet 7 inch
Sample output: 78.74 cm)
13. What are the ways of specifying the comments in python?
14. Write a Python program to print all prime numbers less than 256.
15. Create two sets of integers, and compute their intersection and union by
using
& and | operator expressions.
16. What is Sequence in Python? Explain its operations with suitable examples.
17. Write the syntax of "for- loop"?
18. Give a short note on assigning values to variables?
19. What are lists?
20. How to get user input in python?
21. Write a python program to find the square root of a given number.
22. What is a set? Why sets?
23. What are the needs used for Function?
24. What is a tuple?
25. What is IDLE?
26. What is the use of type function in python?
27. What is literal? What are various types of literal constants used in python?
28. Write a Python program to find the given year is leap year or not.
29. Explain the complex data type in python.
30. Explain with an example, how + and * operators work with strings.
31. Write a Python program to compute distance between two points in a 2-
dimensional coordinate system.
32. Give a not on each of the below Python language constructs: (i) quotes (single,
double and triple) (ii) multiline statements (iii) indentation
33. How will you create a set in Python?
34. What is cloning of List?
35. List the rules to name an identifier.
36. Differentiate between integer and floating-point numbers.
37. What is the difference between compiled and interpreted languages?
38. What are mutable and immutable types?
39. What is the use of type function in python?
40. What is a tuple?
41. What is IDLE?
42. What are the needs used for Function?
43. What are keywords? Give examples.
44. Write a python program to print area and perimeter of a circle.
45. Differentiate list append and list extend
46. How will you find the subset and superset of the input in Python?
47. Explain built-in functions of Tuple?
48. Write a Python program that prints multiplication table of a given number.
49. State any four applications where python is more popular.
50. What are the features of python?
51. Python has developed as an open-source project. Justify this statement.
52. Give a short note on assigning values to variables?
53. What are lists?
54. How to get user input in python?
55. Write a python program to find the square root of a given number.
56. What is a set? Why sets?
57. Write the syntax of "for- loop"?
58. What are mutable and immutable types?
59. Explain about Identity operators in Python.
60. Write a program to find area and perimeter of parallelogram.
61. Explain the use of Tuple Assignment?
62. Write a program to convert Fahrenheit to Celsius.
63. What are the conditional branching statements in python?
64. Explain Aliasing and Cloning of a list.