Python

 

Results

QUIZ START

#1. In file handling, what does this terms means ‘r’,’a’?

Previous
Next

#2. Which function is used to read all the characters?

Previous
Next

#3. To open a file c:scores.text for writing, we use

Previous
Next

#4. What is the type of int?

Previous
Next

#5. Python supports the creation of anonymous functions at runtime, using a construct called __________

Previous
Next

#6. Python have

Previous
Next

#7. Which are the advantages of functions in python?

Previous
Next

#8. Suppose list1 is [3,5,25,1,3] what is min(list1)?

Previous
Next

#9. Suppose list1 is [3,5,25,1,3], what is max(list1)?

Previous
Next

#10. What is the default value of encoding in encode() windows?

Previous
Next

#11. How are variable length arguments specified in the function heading?

Previous
Next

#12. Which function is used to write all the characters?

Previous
Next

#13. To open a file c:scores.txt for appending data, we use

Previous
Next

#14. ________ exceptions are raised as a result of an error in opening a particular file.

Previous
Next

#15. Which of the following aren’t defined in the math module?

Previous
Next

#16. Which of the following is incorrect?

Previous
Next

#17. To insert 5 to the third position in list1, we use which command?

Previous
Next

#18. How do you get the name of a file from a file object(fp)?

Previous
Next

#19. Which of the following is invalid?

Previous
Next

#20. _______ represents an entity in the real world with its identify and behaviour.

Previous
Next

#21. Which of the following is an invalid statement?

Previous
Next

#22. To add a new element to a list we use which command?

Previous
Next

#23. Which operator is overloaded by _invert_()?

Previous
Next

#24. Suppose list1 is [2,33,222,14,25], what is list1[-1]?

Previous
Next

#25. Where is function defined?

Previous
Next

#26. Which of the following functions is a built-in-functions in python?

Previous
Next

#27. How are keyword arguments specified in the function heading?

Previous
Next

#28. What is the output of the expression:round(4.576)?

Previous
Next

#29. Evaluate the expression given below if A=16 and B=15.A%B||A

Previous
Next

#30. All keywords in the python are in

Previous
Next

#31. The expression a[5] will match ________ characters with the previous regular expression.

Previous
Next

#32. What does single-level inheritance mean?

Previous
Next

#33. What is the maximum possible length of an identifier?

Previous
Next

#34. Which of the following represents the bitwise XOR operator?

Previous
Next

#35. Suppose list1 is [1,5,9], what is sum(list1)?

Previous
Next

#36. Which of the following expressions can be used to multiply a given number “a” by 4?

Previous
Next

#37. _____ is used to create an object.

Previous
Next

#38. Suppose list1[4,3,5,2,3], what is list1[-2]?

Previous
Next

#39. In Python case sensitive when dealing with identifiers?

Previous
Next

#40. What is called when a function is defined inside a class?

Previous
Next

#41. Which of these is not a core datatype?

Previous
Next

#42. Which of the following best describes inheritance?

Previous
Next

#43. Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?

Previous
Next

#44. What does 3^4 evaluate to?

Previous
Next

#45. What datatype is the object below?L=[1,23,”hello”,1]

Previous
Next

#46. What is the output of the following expression if the value of x is 34?print(“%f%x”)

Previous
Next

#47. How many keyword arguments can be passed to a function in a single function call?

Previous
Next

#48. Select all options that print hello-how-are-you

Previous
Next

#49. How do you get the current position within the file?

Previous
Next

#50. Operators with the same precedence are evaluated in which manner?

Previous
Next

#51. What is answer of this expression, 22%3 is?

Previous
Next

#52. Say s=’hello’ what will be the return value of type(s)?

Previous
Next

#53. The assignment of more than one function to a particular operator is _________

Previous
Next

#54. Can one block of except statements handle multiple exception?

Previous
Next

#55. The output of the expression is:bin(29)

Previous
Next

#56. Which of the following will run without errors?

Previous
Next

#57. Which among the following list of operators has the highest precedence?+,-,*,%,/,,|

Previous
Next

#58. What is the biggest reason for the use of polymorphism?

Previous
Next

#59. Suppose list1 is [1,3,2], What is list1*2?

Previous
Next

#60. What is returned by math.ceil(3,4)?

Previous
Finish