gs gs109 Python Modules - Python Turtle Module - Quiz No.1
gs gs109 Python Quiz
This quiz belongs to book/course code gs gs109 Python of gs organization. We have 134 quizzes available related to the book/course Python. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Python Modules. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.
NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.
Question 3: The command which helps us to reset the pen (turtle):
turtle.reset
turtle.penreset
turtle.penreset()
turtle.reset()
Question 6: What will be the output of the following Python code?
import turtle t=turtle.Pen() for i in range(0,4): t.forward(100) t.left(90) t.penup() t.left(90) t.forward(200) for i in range(0,4): t.forward(100) t.left(90)
Error
1 square
2 squares, at a separation of100 units, joined by a straight line
2 squares, at a separation of 100 units, without a line joining them
Question 7: Which of the following functions does not accept any arguments?
position
fillcolor
goto
setheading()
Question 8: What will be the output of the following Python code?
import turtle t=turtle.Pen() t.goto(300,9) t.position()
300.00, 9.00
9, 300
300, 9
9.00, 300.00
Question 9: 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)
Trapezium
Parallelepiped
Tetrahedron
Star
Question 10: What will be the output of the following Python functions?
import turtle t=turtle.Pen() for i in range(0,3): t.forward(100) t.left(120) t.back(100) for i in range(0,3): t.forward(100) t.left(120)
Error
Two triangles, joined by a straight line
Two triangles, joined at one vertex
Two separate triangles, not connected by a line