Python Programming (2180711) MCQs

MCQs of Advance Topics II

Showing 21 to 23 out of 23 Questions
21.
In which direction is the turtle pointed by default?
(a) North
(b) South
(c) East
(d) West
Answer:

Option (c)

22.
The command used to set only the x coordinate of the turtle at 45 units is:
(a) reset(45)
(b) setx(45)
(c) xset(45)
(d) xreset(45)
Answer:

Option (b)

23.
Which of the following functions results in an error?
(a) turtle.shape(“turtle”)
(b) turtle.shape(“square”)
(c) turtle.shape(“triangle”)
(d) turtle.shape(“rectangle”)
Answer:

Option (d)

Showing 21 to 23 out of 23 Questions