Python MCQ Quiz Hub

MCQ For Python Fundamentals

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

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

Data items having fixed value are called _____





✅ Correct Answer: 4

Escape sequences are treated as _____.





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

Value 0.000615 is equivalent to





✅ Correct Answer: 4

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





✅ Correct Answer: 4

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





✅ Correct Answer: 4

Select the reserved keyword in Python.





✅ Correct Answer: 4

The input() returns the value as _____ type.





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

The default separator character of print() is _____.





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3