True / False For List Manipulation Class 11 Computer Science (CS), Informatics Practices (IP)
1. The list () and copy () are the similar functions.
2. The pop () and remove() are similar functions.
3. A = [] and A = list () will produce the same result.
4. Lists once created cannot be changed.
5. To sort a list, sort () and sorted (), both can be used.
6. The extend () adds a single element to a list.
7. The append() can add an element in the middle of a list.
8. The insert() can add an element in the middle of a list.
9. The del statement can only delete list slices and not single elements from a list
10. The del statement can work similar to the pop() function.
Answer :-
1. False
2. False
3. True
4. False
5. True
6. False
7. False
8. True
9. False
10. True
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )