XI-IP Term
XI-IP Term
SECTION B
19. What is the difference between RAM and ROM? 2
20. Define Freeware and Free Software. 2
21. Who developed Python programming language? 2
OR
How many types of string are supported in Python?
22. What will be the sizes of following constants? 2
i) „\a‟ ii) “it‟s”
23. How many integer types are supported by Python? Name them. 2
24. What is statement? What is the significance of an empty statement? 2
OR
What is the output of following code?
if(4+5==10);
print(“TRUE”)
else:
print(“FALSE”)
print(“TRUE”)
25. What are nested lists? 2
SECTION C
26. Write a program to enter names of employees and their salaries as input and store in 3
a dictionary.
27. What is the difference between sort() and sorted() function? 3
28. Write Python code to add the odd numbers up to (and including) a given value N
And print the result. 3
OR
What is the difference between error and exception?
29. What factor guide the choice of identifies in programs? 3
30. What are the advantages of Python program language? 3
OR
Define each of following:
i) byte
ii) megabyte
iii) terabyte
SECTION D
31. Give an example for each of system software and application software.
Explain function of each type. 5
32. W
rite a program to calculate profit percentage from the sales of goods that you made. 5
OR
What will be the output produced by the following code statement? State reasons.
i) bool(0)
ii) bool(„0‟)
iii) bool(“)
iv) bool(1)
v) bool(„1‟)
33. W
rite a program to create a dictionary to store assets, liabilities and capital of a 5
company. After creating the dictionary display, assets and liabilities of the companyand
test if the accounting equation holds true.
SECTION E
34. Compare and contrast: 4
i) Free software and Open source software
ii) OSS and FLOSS
OR
How are lists different from strings when both are sequences?
35. Write a program to find the grade of student when grades are allocated as given in 4
the table below: