Total= 35 marks Duration: 1Hour 30minutes Date: 26-07-2019
6. Direct question -2 marks
7. Writing program - 2 marks
8. Program writing through function - 3 marks
Chapter-03 File Handling in Python: 10 marks
Chapter-04 Python Libraries: 10 marks
Chapter-05 Recursion in Python: 10 marks
Chapter-06 Idea of Efficiency: 05 marks
Details:
Chapter-03 File Handling in Python: 10 marks
1. Program writing for the content of the file -2 marks
2. Program writing for the content of the file -2 marks
3. Output finding -3 marks
4. Program writing -3 marks
Chapter-04 Python Libraries: 10 marks
5. Output finding -3 marks6. Direct question -2 marks
7. Writing program - 2 marks
8. Program writing through function - 3 marks
Chapter-05 Recursion in Python: 10 marks
9. Output finding for recursive program -2 marks
10. function writing through recursive: factorial/Fibonacci/binary search -4 marks
11. Output finding for recursive program -2 marks
12. Filling the blanks for written programming. -2 marks
10. function writing through recursive: factorial/Fibonacci/binary search -4 marks
11. Output finding for recursive program -2 marks
12. Filling the blanks for written programming. -2 marks
Chapter-06 Idea of Efficiency: 05 marks
13. Efficiency calculating with the help of order. -3 marks
14. run time calculate efficiency -2 marks
Library : It is a collection of modules
A module is a file containing Python definitions and statements. The file name is the module name with the suffix
Replace function
#m1
def cha(a):
c=[x*2 for x in a]
print(c)
#m2
def ch(a):
c=[x*x for x in a]
print(c)
from m1 import cha
from m2 import cha
#main
p=[3,4,5]
Library : It is a collection of modules
A module is a file containing Python definitions and statements. The file name is the module name with the suffix
.py
appended.Replace function
5Output :
Geeks for Geeks Geeks Geeks Geeks GeeksforGeeks for GeeksforGeeks GeeksforGeeks geeks geeks
#m1
def cha(a):
c=[x*2 for x in a]
print(c)
#m2
def ch(a):
c=[x*x for x in a]
print(c)
from m1 import cha
from m2 import cha
#main
p=[3,4,5]
No comments:
Post a Comment