XII COMPUTER SCIENCE EM TEST 9
9. LISTS, TUPLES, SETS AND DICTIONARY
one mark questions :
Prepared by S. Saminathan, GHSS- MUKHASAPARUR, CUDDALORE DT
Sign in to Google to save your progress. Learn more
Register No *
Name *
School *
1. Pick odd one in connection with collection data type *
1 point
2. Let list1=[2,4,6,8,10], then print(List1[-2]) will result in *
1 point
3. Which of the following function is used to count the number of elements in a list? *
1 point
4. If List=[10,20,30,40,50] then List[2]=35 will result
*
1 point
5. If List=[17,23,41,10] then List.append(32) will result 
*
1 point
6. Which of the following Python function can be used to add more than one element within an existing list? *
1 point
7. What will be the result of the following Python code?
S=[x**2 for x in range(5)]
print(S)
*
1 point
8. What is the use of type() function in python? *
1 point
9. Which of the following statement is not correct? *
1 point
10. Let setA={3,6,9}, setB={1,3,9}. What will be the result of the following snippet?
print(setA|setB)
*
1 point
11. Which of the following set operation includes all the elements that are in two sets but not the one that are common to two sets? *
1 point
12. The keys in Python, dictionary is specified by *
1 point
13. list is an ordered collection of values enclosed within ...... *
1 point
14. ......is the beginning index value of a list. *
1 point
15. The ...........is a function used to generate a series of value in Python. *
1 point
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy