Term - I (2023-24)
Std. :XI Marks: 70
Sub. : Informatics practices Time: 3 Hrs.
General instructions:
1. This Question paper contains 5 sections, section A to E.
2. All questions are compulsory
3. Section A have 18 questions carrying 01 marks each.
4. Section B has 07 Very short answer type questions carrying 02 marks each.
5. Section C has 05 short answer type questions carrying 03 marks each.
6. Section D has 03 long answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each.
8. All programming questions are to be answered using Python Language only.
—————————————————————————————————————
SECTION A
1. Flash memory is a type of memory. 1
a)Primary b)RAM c)Secondary d)All of these
2. In a computer, CU stands for . 1
a) Control Unit b)Cache Unit
c)Calculating Unit d)Communication Unit
3. Value 17.25 is equivalent to . 1
a)0.1725E-2 b)0.1725E+2 c)1725E2 d)0.1725E2
4. The default separator character of print() is . 1
a)tab b)space c)newline d)dot
5. Python is a/an language. 1
a)High level b) Object Oriented c)Procedural d)Difficult
6. Which of the following is not a Python IDE? . 1
a) IDLE b)Spyder c)Jupyter Notes d)Subline text
7. Which of the following is not an immutable type in Python? 1
a) String b)Tuples c)Ser d)Dictionary
8. What is the value of expression 10+3**3*2? 1
a)28 b)739 c)829 d)64
9. An empty/null statement in Python is . 1
a) go b)pass c)over d) ;
10. Consider the loop given below: 1
for I in range(3):
pass
What will be the final value of i after this loop?
a) 0 b) 1 c) 2 d) 3
11. What is the output produced when this code executes? 1
a=0
for i in range (4,8):
if i%2==0:
a=a+1
print(a)
a) 4 b) 8 c) 10 d) 18
12. Dictionaries are set of elements 1
a) Sorted b)Ordered c)Unordered d)Random
13. Which of the following functions will return the key, value pairs of a dictionary. 1
a) keys() b)values() c)items(). d)all of these
14. What is the output of following : 1
1=[None]*10
Print(len(1))
a) 10 b) 0 c)Syntax Error d)Error
15. To find the last element of list namely „smiles‟ in Python will be used. 1
a) smiles[0] b)smiles[-1] c)smiles[1pos] d)smiles[: -1]
16. Which of the following makes available its source code? 1
a) freeware b)free software c)OSS d)FLOSS
17. Select the reserved keywords in Python: 1
a) else b)import c)print d)all of these
18. Which of the following can copy a list to another list? 1
a) list() b)new() c)copy() d)=operator
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:
Percentage of marks Grade
Above 90% A
80% to 90% B
70% to 80% C
60% to 70% D
Below 60% E
Percentage of the marks obtained by the student is input to the program.
OR
Differentiate between append() and extend() methods of list.