信息
You have already completed the 测验 before. Hence you can not start it again.
You must sign in or sign up to start the 测验.
测验 complete. Results are being recorded.
0 of 50 问题 answered correctly
Your time:
时间已经过去了
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
-
题 1 of 50
-
题 2 of 50
2:
print(4 + 8 // 2)的输出结果是?( )
-
题 3 of 50
3:
下列哪个软件不能进行Python代码编写?( )
-
题 4 of 50
-
题 5 of 50
5:
关于print语句,下列选项能够正确输出的是?( )
-
题 6 of 50
6:
运行下列代码,d输出的结果是?( )
a,b,c=23,13,3
d=(a+b)-c**c
-
题 7 of 50
7:
下列代码段
star_number1=”star2″
star_number2=”star3″
print(star_number1+star_number2)
结果是?( )
-
题 8 of 50
8:
Python中的余数运算符是用哪个符号表示的?( )
-
题 9 of 50
-
题 10 of 50
10:
在turtle库中的指令,执行以下代码指令后,画笔为以下哪种状态?( )
import turtle
turtle.color(‘pink’)
turtle.pensize(5)
-
题 11 of 50
11:
下列代码的运行结果是?( )
import turtle
turtle.color(‘red’)
turtle.circle(100)
turtle.fillcolor(‘yellow’)
turtle.begin_fill()
turtle.circle(100,steps = 6)
turtle.end_fill()
-
题 12 of 50
12:
下列哪一段代码是海龟走到指定坐标然后左转90度?( )
-
题 13 of 50
13:
下列关于turtle库的描述不正确的是?( )
-
题 14 of 50
14:
同学们排队做操,按名单顺序,每10个人一排,要问第n个人是第几排,下列
哪一种方法可以实现?( )
-
题 15 of 50
15:
在Python IDLE中输入print(’Hello‘);print(‘I am Python’);,并将这两个
语句写在一行,试分析,程序的运行结果是以下哪个选项?( )
-
题 16 of 50
16:
下列哪个命令可以将整个绘制屏幕的颜色设置成黑色?( )
-
题 17 of 50
17:
执行 print(3 > 2 or 4 < 5) 的结果是?( )
-
题 18 of 50
-
题 19 of 50
19:
为变量命名,并赋值为数字1,以下选项中,不符合要求的是?( )
-
题 20 of 50
20:
已知变量a = 5,执行下列哪个代码后,a的值为10。( )
-
题 21 of 50
-
题 22 of 50
22:
turtle.circle(90, 180)是绘制一个什么样的图形?( )
-
题 23 of 50
23:
下列代码执行后最有可能绘制出哪个图形?( )
import turtle
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(45)
turtle.goto(0,0)
turtle.hideturtle()
-
题 24 of 50
24:
关于Python,下列哪个表述是正确的?( )
-
题 25 of 50
25:
print(6+8/2)输出的结果是?( )
-
题 26 of 50
26:
下列程序运行的结果是?( )
s = ‘hello’
print(s+’world’)
-
题 27 of 50
27:
下列选项中不符合Python语言变量命名规则的是?( )
-
题 28 of 50
28:
在Python中,运行9//2,输出的结果是?( )
-
题 29 of 50
29:
下面哪一行代码的输出结果不是World2021?( )
-
题 30 of 50
30:
在Python中,输入3*4**2,运算结果是?( )
-
题 31 of 50
31:
关于比较运算符说法正确的是?( )
①!=表示为不等于,如果两个操作数不相等,则为False
②<=表示为小于等于,如果左边的数小于或等于右边的数,则为True
③若a=2,b=5则a!=b为True
-
题 32 of 50
32:
Python中的乘法是用哪个符号表示的?( )
-
题 33 of 50
33:
以下哪个选项可以作为Python文件的后缀名?( )
-
题 34 of 50
34:
要给三个整型变量a、b、c赋值为5,下面Python程序正确的是?( )
-
题 35 of 50
35:
以下哪段程序能在画出三角形并隐藏turtle?( )
-
题 36 of 50
36:
turtle.home() 的作用是下列哪一种?( )
-
题 37 of 50
37:
关于Turtle绘图,下列说法错误的是?( )
-
题 38 of 50
38:
在Python中,输入18/6//3,输出结果为?( )
-
题 39 of 50
39:
print(88-8)的运行结果是?( )
-
题 40 of 50
40:
分析下列程序,说法错误的是?( )
import turtle
turtle.color(‘blue’)
turtle.fillcolor(‘yellow’)
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()
turtle.forward(100)
turtle.color(‘red’, ‘aqua’)
turtle.begin_fill()
turtle.circle(50)
turtle.end_fill()
-
题 41 of 50
41:
Python环境中,以下代码注释正确的是?( )
-
题 42 of 50
42:
print(5%10+5)的输出结果是?( )
-
题 43 of 50
43:
下列哪一个函数可以将海龟顺时针旋转?( )
-
题 44 of 50
44:
在Python编程环境下,IDLE代表什么?( )
-
题 45 of 50
45:
如果某年的第1天也就是一月一日是星期一。星期一记作1,星期二记作2,以此类推,星期日记作0。要求这一年的第d天是星期几,下列哪一种方法可以实现?( )
-
题 46 of 50
46:
在初始状态下,执行以下命令后,turtle的坐标为?( )
turtle.forward(10)
turtle.left(90)
turtle.forward(20)
-
题 47 of 50
47:
下列运算符中,哪一个不是比较运算符?( )
-
题 48 of 50
48:
运行如下代码段,输出结果正确的是?( )
word1=”o”
word2=”n”
print(word2+word1)
-
题 49 of 50
49:
下面哪一个不是Python的保留字?( )
-
题 50 of 50
50:
下面哪个代码可以绘制一个直径为200的填充为红色,轮廓为蓝边的圆形?( )