Python Multile Choice Questions (Test 2)

0%
6

Python Programming

Python Multiple Choice Questions (Test 2)

Python quiz helps us to increase our knowledge

1 / 20

Category: Python Programming

1. . A user-specified value can be assigned to a variable with this function ...

2 / 20

Category: Python Programming

2. For which type of error does the interpreter halts and reports the error but
does not execute the program?

3 / 20

Category: Python Programming

3. What is the name of the GUI that comes in-built as an interactive shell with
Python?

4 / 20

Category: Python Programming

4. 4. IDLE stands for ... ?

5 / 20

Category: Python Programming

5. Which of the following is used to initialize multiple variables with a common
value?

6 / 20

Category: Python Programming

6. What will be the output after the following statements?
x = 8
y = 2
print(x // y)

7 / 20

Category: Python Programming

7. Output displayed by the print function will add this invisible character at the
end of the line by default ...

8 / 20

Category: Python Programming

8. Python files are saved with the extension as ...?

9 / 20

Category: Python Programming

9. For which type of error does the interpreter runs the program and does not
report an error?

10 / 20

Category: Python Programming

10. What will be the output after the following statements?

x = 6
y = 3
print(x / y)

11 / 20

Category: Python Programming

11. User input is read as ...?

12 / 20

Category: Python Programming

12. 6. For which type of error does the interpreter runs the program but halts at
error and reports the error as an "Exception"?

13 / 20

Category: Python Programming

13. Which of the following will provide a * character as alternative line ending
for the print function?

14 / 20

Category: Python Programming

14. What will be the output after the following statements?
x = 5
y = 4
print(x % y)

15 / 20

Category: Python Programming

15. Which of the following version of Python was released in December, 2015 by
Python.org?

16 / 20

Category: Python Programming

16. Which of the following is an assignment operator in Python?

17 / 20

Category: Python Programming

17. Which of the following will provide an ! character as alternative separator
for the print function?

18 / 20

Category: Python Programming

18. Multiple values specified in parentheses to print function will display each
value separated with this by default ...

19 / 20

Category: Python Programming

19. The function to display a specified message on the screen is ... ?

20 / 20

Category: Python Programming

20. Comments in Python begin with ...?

Your score is

0%

Please rate this quiz

Leave a Comment

Exit mobile version