n= range(0,10,2)result = map(lambda x : x**2,n)print(list(result))
A. {0,4,16,36,64}
B. [0,2,4,6,8]
C. [0,4,8,12,1]
D. [0,4,16,36,64]
numbers = range(-5,5)f = filter(lambda x:x>0,numbers)print(list(f))
A. [1,2,3,4,5]
B. [-5,-4,-3,-2,-1,1,2,3,4,5]
C. [1,2,3,4,]
D. [-4,-3,-2,-1,1,2,3,4]
Which of the following statements about copy constructor and conversion constructor is incorrect?
A. Both copy constructor and conversion constructor deal with the same data type
B. Copy constructor is used to create the same user-defined type
Conversion constructor can convert an object of a built-in type into an object of a user-defined type
D. Copy constructor means that the copy of a class object is a copy of each member, i.e. default member-wise initialization
Which of the following operators are overloaded by default by the compiler in every user defined classes even if user has not written?(1) comparsion operator (==)(2) assignment operator (=)
A. both (1) and (2)
B. only (1)
C. only (2)
D. none of the two