Python Practice Set 1

1. Which of the following is not part of the execution flow during debugging?

2. Which symbol is used to test the condition in a flow chart?

3. the function of a compiler.

4. What will be the output of int(1011)?

5. What is the output of print(9//2)?

6. Which of the following is a python tuple?

7. Which of the following commands will form a list?

8. Which of the following refers to a mathematical function?

9. If a function does not have a return statement, then which of the following functions returns?

10. By using functions, we can avoid writing the same code over and over again in a program.

11. How do we install Numpy in the system?

12. Which of the following is not true about set ?

13. Which of the following is not a keyword?

14. A namespace is a dictionary of variable names (keys) and their corresponding objects (values).

15. Which of the following are integer values-

16. The keyword used to transfer control from a function back to the calling function is

17. Which of the following is wrong?

18. Which of the following precedence order is correct in Python?

19. Assert statement is used for error checking.

20. Who developed the Python Programming Language?

21. Which of the following is the correct extension of Python file?

22. Which keyword is used for function in Python language?

23. Which of the following character is used to give single-line comments in Python?

24. Which of the following is a truncation division operator in Python?

25. What is the output of min(max(False,-3,-4), 2,7)?