Python Practice Set 9

1. What will be the output of the following Python function? all([2,4,0,6])


2. _______ is part of user documentation.


3. What does os.close(f) do?


4. A named sequence of statements is known as which of the following?


5. Which Python function is used to display text?


6. Which of the following can be used to create a directory?


7. What is the purpose of the def keyword in python?


8. What will be the output of the following Python function? sum(2,4,6) sum([1,2,3])


9. How is a function declared in python?


10. Python uses:


11. what does this code prints out? print(int(33.7))


12. CSV stands for


13. What is a recursive function?


14. Which character is always at the end of a function declartion?


15. Linus Torvalds developed which system?


16. Which of the following function stacks 1D arrays as columns into a 2D array?


17. Which of the following method creates a new array object that looks at the same data?


18. NumPy developed by


19. python pandas was developed by______


20. Which of the following option is true? fp.seek(10, 1)