wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

第二学期ICT期中评价

Total questions: 30

Worksheet time: 1hrs 6mins

Name
Class
Date
1.

以下哪个函数用于绘制一个等边三角形?

a)

triangle(sl)

b)

forward(sl)

c)

left(120)

d)

random.randint(-200,200)

2.

在程序中,hideturtle() 的作用是什么?

a)

隐藏乌龟图标

b)

设置乌龟的颜色为蓝色

c)

 控制乌龟的移动速度

d)

绘制一个等边三角形

3.

以下哪个语句用于设置乌龟的颜色为蓝色?

a)

color("navy")

b)

speed(0)

c)
  • penup()


d)

goto(x,y)

4.

在程序中,x=random.randint(-200,200) 的作用是什么?

a)

随机生成一个坐标

b)

随机生成一个边长

c)

随机生成一个角度

d)

随机生成一个颜色

5.

以下哪个语句用于绘制一条边?

a)

triangle(sl)

b)

forward(sl)

c)

left(120)

d)

random.randint(-200,200)

6.

在程序中,goto(x,y) 的作用是什么?

a)

移动乌龟到指定坐标

b)

设置乌龟的颜色为蓝色

c)

控制乌龟的移动速度

d)

绘制一个等边三角形

7.

以下哪个语句用于设置乌龟的移动速度为最快?

a)

color("navy")

b)

speed(0)

c)

penup()

d)

goto(x,y)

8.

在程序中,sl = random.randint(8,16) 的作用是什么?

a)

随机生成一个坐标

b)

随机生成一个边长

c)

随机生成一个角度

d)

随机生成一个颜色

9.

在这个程序中,penup() 的作用是什么?

a)

隐藏乌龟图标

b)

设置乌龟的颜色为蓝色

c)

控制乌龟的移动速度

d)

抬起画笔,不绘制图形

10.

在这个程序中,left(120) 的作用是什么?

a)

使乌龟向左转120度

b)

使乌龟向右转120度

c)

控制乌龟的移动速度

d)

绘制一个等边三角形

11.

在程序中,hideturtle() 的作用是什么?

4 lines
12.

定义一个函数用于绘制一个等边三角形。

如def _______():

______

4 lines
13.

random.randint(-200,200) 的作用是什么?

4 lines
14.

哪个语句用于设置乌龟的颜色为金色?

4 lines
15.

sl = random.randint(8,16) 的作用是什么?

4 lines
16.

在程序中,goto(x,y) 的作用是什么?

4 lines
17.

在程序中,from turtle import * 的作用是什么?

4 lines
18.

哪个语句用于设置乌龟的移动速度为最快?

4 lines
19.

left(120) 的作用是什么?

4 lines
20.

for i in range(0,4):

forward(100)

left(90)

以上代码可以绘制什么图形?

4 lines
21.

penup() 的作用是什么?

4 lines
22.

pendown()的作用是什么?

4 lines
23.

如果要取一个3-15之间的随机数,怎么写代码?

如a = 3

4 lines
24.

def triangle(sl):

for i in range(0,3):

forward(sl)

left(120)

以上代码的作用是什么?

4 lines
25.

y = random.randint(-200,200)

的作用是什么?

4 lines
26.

fill_color("blue")的作用是____

4 lines
27.

begin_fill()的作用是____

4 lines
28.

def的作用是____

4 lines
29.

square(sl)是一个可以画正方形的函数
那么square(100)画的是什么?

4 lines
30.

创建变量,可以存储一个值
如果我想要存储多个值,我应该创建一个____

4 lines