NEW
Font size
S
M
L
XL
Worksheets1.30 Turtle绘图测试1
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
在 python 中绘图库叫海龟,它的英文单词是:
a)
trutle
b)
total
c)
turtle
d)
tortoise
2.
在 python 中,海龟的头默认朝哪个方向?
a)
上
b)
下
c)
左
d)
右
3.
运行下列语句,会有什么作用:
import turtle
turtle.forward(-60)
a)
向左画了一条长度为 60 厘米的线
b)
向左画了一条长度为 60 像素的线
c)
向右画了一条长度为 60 厘米的线
d)
向右画了一条长度为 60 像素的线
4.
电脑键盘上粘贴的快捷键是:
a)
Crtl+C
b)
Crtl+X
c)
Crtl+V
d)
Crtl+A
5.
和 turtle.left(90)的执行效果相同的是:
a)
turtle.right(90)
b)
turtle.right(-90)
c)
turtle.left(270)
d)
turtle.left(-90)
6.
在 python 中,导入 turtle 库后,默认的形状是:
a)
turtle
b)
arrow
c)
classic
d)
circle
7.
下列选项中,能将笔的粗细设置为 6 的是:
a)
turtle pensize(6)
b)
turtle.pensize(“6”)
c)
turtle.pensize(6)
d)
turtle pensize(“6”)
8.
下列选项中,能将画笔的颜色设置为红色的是:
a)
turtle.bgcolor(“red”)
b)
turtle.fillcolor(“red”)
c)
turtle.pencolor(“red”)
d)
turtle.pencolor(“红色”)
9.
(判断)不导入 turtle 绘图库,turtle.forward(20) 也能画线。
a)
对
b)
错
10.
(判断)Turtle.begin_fill()和 Turtle.end_fill()都是成对出现的。
a)
对
b)
错
Reset
