1.  deep. shallow

2.  memberwise, shallow

3.  shallow, deep

4.  deep, memberwise

4
Correct Answer :

shallow, deep


Explanation :
No Explanation available for this question

1.  True

2.  False

2
Correct Answer :

True


Explanation :
No Explanation available for this question

1.  [2, 4, 6, 8], shallow copy

2.  [2, 4, 6, 8], deep copy

3.  [1, 2, 3], shallow copy

4.  [1, 2, 3], deep copy

4
Correct Answer :

[1, 2, 3], shallow copy


Explanation :
No Explanation available for this question

1.  False, False

2.  False, True

3.  True, True

4.  True, False

4
Correct Answer :

True, False


Explanation :
No Explanation available for this question

1.  True

2.  False

3.  Error

4.  Address of l1

4
Correct Answer :

False


Explanation :
No Explanation available for this question

1.  [10, 20, 30, [40]][10, 20, 30, 90]

2.  Error

3.  [10, 20, 30 [90]][10, 20, 30, [40]]

4.  [10, 20, 30, [40]][10, 20, 30, [90]]

4
Correct Answer :

[10, 20, 30 [90]]
[10, 20, 30, [40]]


Explanation :
No Explanation available for this question

1.  shallow, deep

2.  memberwise, shallow

3.  deep, shallow

4.  deep, memberwise

4
Correct Answer :

shallow, deep


Explanation :
No Explanation available for this question

1.  [1, 2, 3, (4)][1, 2, 3, 4]

2.  [1, 2, 3, 4][1, 2, 3, (4)]

3.  [1, 2, 3, 4][1, 2, 3, 4]

4.  [1, 2, 3, (4)][1, 2, 3, (4)]

4
Correct Answer :

[1, 2, 3, 4]
[1, 2, 3, 4]


Explanation :
No Explanation available for this question

1.  False

2.  True

3.  1

4.  An exception is thrown

4
Correct Answer :

False


Explanation :
No Explanation available for this question

1.  n=0

2.  n=1

3.  A list of length one

4.  An empty list

4
Correct Answer :

A list of length one


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python