Python Fundamentals Quiz 4

Share with others

Welcome to your Python Fundamentals Quiz 4

Q31. Which of the following is invalid variable name?

Q32. Write the output of the following.

def abc():
     print("abc")

Q33. Python is case sensitive.(T/F)

Q34. Which statement will display square of number (n)

Q35. What type of error is returned by the following statement?

print(eval(13))

Q36. Which statement is adding remainder of 8 divided by 3 to the product of 5 and 6?

Q37. Is a,b = 6 statement will return an error.(T/F)

Q38. Identify the invalid identifier.

Q39. Both the print statement will return same output (T/F)

a=9
b=a
print(id(a))
print(id(b))

Q40. Which keyboard key is used to run python programs?


Share with others

Leave a Reply

error: Content is protected !!