Python Fundamental Quiz 2

Share with others

Enter details and click on Next

Q11. Which method is used to find the memory location of variable?

Q12. _________ method is used to find the data type of a variable.

Q13. ________ escape sequence is used for horizontal tab.

Q14. An escape sequence is represented by ______ slash followed by one or two characters.

Q15. Write the output of the following code :

>>> x = 4 - 7j
>>> print(x.imag, x.real)

Q16. Write the output of the following code :

>>> a=9
>>> x=str(a)
>>> b=5
>>> y=str(b)
>>> x+y

Q17. Write the output of the following code :

>>> 7+2//1**2 > 5+2**2//3

Q18. Write the output of the following code :

>>> s = None
>>> s

Q19. Which of the following assignment will return error?

Q20. Which of the following is wrong in reference to naming of variable?


Share with others

1 thought on “Python Fundamental Quiz 2”

Leave a Reply

error: Content is protected !!