You are on page 1of 3

1. A term for large capacity data is?

a. large data
b. big data
c. massive data

2. Write the method to interest


a new item into dictionary

Answer: update()

3. Determine the output of the following code:

a. [11, 11, 22, 22, 33, 33, 44, 44]


b. [22, 44, 66, 88]
c. [11, 22, 33, 44, 11, 22, 33, 44]
4. Complete line 7 in code below

a. Line.append
b. List1.append
c. List.append
5. Fill the gap “Check if there is a value that will be deleted. Delete with the _____
method only if there is a value for deletion
a. delete
b. remove
c. eliminate
6. Determine Python data types
Answer: 1) __immutable data ______
2) _____mutable data____

7. Determine the output of the following code:

a. True
b. False
c. SyntaxError: Invalid syntax
8. Parameter is…
a. a variable defined in the function or method header
b. a data type that can store a collection of values
c. crucial term in every programming language
9. It refers to actual value passed when a function or method is called. What is it?
a. Function
b. Argument
c. Module
10. Determine the output of the following code:

a. {5}
b. {3,4,6,7}
c. {3, 4, 5, 6, 7}

11. Which deletes an item from list?


a. Split
b. Eliminate
c. Pop

12. Which is true about tuple?


a. Used to store all items in single list
b. it can be replaced by dictionary
c. it cannot be changed
13. If list_array is assigned to list 1 and then the value of list 1 is changed, will the value
of list_array also be changed?
a. Yes
b. No
14. Which operator is used to split list items?
a. : (colon)
b.
c. , (comma)
d. . (dot)
15. The most commonly used standard document for web services is UDDI
16. Characteristics of tuple are:
a. simple structure, but slow access speed
b. simple structure and quick access speed
c. complex structure and quick access speed
17. The key cannot be duplicated
a. True
b. False
18. How empty list is created?
a. With //
b. With []
c. With {}
19. Which of the following is a mutable data type?
a. int
b. set
c. str
20. To create the two in completely different memories, __________ function of the copy
module must be used
a. Cop.ind
b. Copy_deemodule
c. Copy.deecopy

You might also like