Search Header Logo

turtle python

Authored by Assistant Chennai

Professional Development

Professional Development

Used 15+ times

turtle python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output shape of the following Python code?

import turtle

t=turtle.Pen()

for i in range(0,4):

t.forward(100)

t.left(120)

square

rectange

triangle

kite

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number of lines drawn in each case, assuming that the turtle module has been imported:

Case 1:

for i in range(0,10):

turtle.forward(100)

turtle.left(90)

Case 2:

for i in range(1,10):

turtle.forward(100)

turtle.left(90)

10,9

9,10

9,9

10,10

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command which helps us to reset the pen (turtle):

turtle.reset

turtle.penreset

turtle.penreset()

turtle.reset()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank such that the following Python code results in the formation of an inverted, equilateral triangle.

import turtle

t=turtle.Pen()

for i in range(0,3):

t.forward(150)

t.right(_____)

-60

120

-120

60

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output shape of the following Python code?

import turtle

t=turtle.Pen()

for i in range(1,4):

t.forward(60)

t.left(90)

Rectangle

Trapezium

Triangle

Square

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development