31. What does os.getlogin() return?
32. Which of the following can be used to create a symbolic link?
33. What will be the output of the following Python code?
import turtle
t=turtle.Pen()
t.color(0,1,0)
t.begin_fill()
for i in range(0,4):
t.forward(100)
t.right(90)
import turtle
t=turtle.Pen()
t.color(0,1,0)
t.begin_fill()
for i in range(0,4):
t.forward(100)
t.right(90)
34. The process of pickling in Python includes:
35. In top-down design every module is broken into same number of submodules.
36. What is the value returned by math.floor(3.4)?
37. To obtain a list of all the functions defined under sys module, which of the following functions can be used?
38. What will be the output of the following Python function if the random module has already been imported?
random.randint(3.5,7)
random.randint(3.5,7)
39. Is the output of the function abs() the same as that of the function math.fabs()?
40. What is the value returned by math.fact(6)?
Read More Section(Module in Python)
Each Section contains maximum 100 MCQs question on Module in Python. To get more questions visit other sections.