ExamVeda
Login
Home
91
What will be the output of the following Python code?
import turtle
t=turtle.Pen()
for i in range(0,5):
        t.left(144)
        t.forward(100)
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
92
To sterilize an object hierarchy, the . . . . . . . . function must be called. To desterilize a data stream, the . . . . . . . . function must be called.
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
93
What will be the output shape of the following Python code?
import turtle
t=turtle.Pen()
for i in range(0,6):
	t.forward(100)
	t.left(60)
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
94
What is the purpose of the __doc__ attribute in a Python module?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
95
What will be the output of the following Python code?
import turtle
t=turtle.Pen()
t.color(1,1,1)
t.begin_fill()
for i in range(0,3):
	t.forward(100)
	t.right(120)
              t.end_fill()
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
96
What will be the output of the following Python code?
import turtle
t=turtle.Pen
t.tilt(75)
t.forward(100)
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
97
All modular designs are because of a top-down design process.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
98
What is the purpose of the __name__ variable in a Python module?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
99
What is output of print(math.pow(3, 2))?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
100
What will be the output of the following Python code?
pickle.HIGHEST_PROTOCOL
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board