Python MCQ Quiz Hub

MCQ For Python Fundamentals

Choose a topic to test your knowledge and improve your Python skills

1. Special meaning words of Pythons, fixed for specific functionality are called _____.




2. Names given to different parts of a Python program are _____.




3. Data items having fixed value are called _____




4. Escape sequences are treated as _____.




5. Which of the following is an escape sequence for a tab character?




6. Which of the following is an escape sequence for a newline character?




7. Value 0.000615 is equivalent to




8. The lines beginning with a certain character, and which are ignored by a compiler and not executed, are called _____.




9. Which of the following functions print the output to the console ?




10. Select the reserved keyword in Python.




11. The input() returns the value as _____ type.




12. To convert the read value through input() into integer type, _____ () is used.




13. To convert the read value through input() into a floating point number, _____ () is used.




14. To print a line a text without ending it with a newline, _____ argument is used with print()




15. The default separator character of print() is _____.




16. To give a different separator with print() _____ argument is used.




17. Which of the following not a legal integer type value in Python?




18. Which of the following symbols are not legal in an octal value?