SARAVANA12
SARAVANA12
mydoubler = myfunc(2)
mytripler = myfunc(3)
print(mydoubler(11))
print(mytripler(11))
# printing result
print("The extracted elements : " + str(res))
27. Write a function LShift(Arr,n) in Python, which accepts a list Arr of numbers
and n is a numeric value by which all elements of the list are shifted to left. Sample
Input Data of the list
Arr= [ 10,20,30,40,12,11], n=2
Output
Arr = [30,40,12,11,10,20]
29. i. Write any one advantage and one disadvantage of Coaxial cable.
(1)
ii. Expand the following:
(2)
(i) VoIP (ii) SMTP
(iii) TDMA
(iv) TCP/IP
Section-D
12. Python Program to print all Prime Numbers in an interval.
(OR)
Write a function Calles addDicti(dict, dict2) which computers the union of two
dictionaries . It should return a new dictionary, with all the items in both its
arguments (assumed to be dictionaries). if the same key appears in both arguments,
feel to pick a value from either.
13. Software Development Company has set up its centre at Rajpur for its office
and web-based activities, It has 4 blocks buildings named Block A, Block B, Block
C Block, Block D.
Number of Computers
Block A 25
Block B 50
Block C 125
Block D 10