青少年软件编程(python一级)等级考试试卷-客观题(2024年6月)
turtle.go(150, 200)
turtle.go(200, 150)
turtle.goto(150, 200)
turtle.goto(200, 150)
Python 是一门面向对象的编程语言
Python 程序文件后缀是 .py
Python 程序只能在 IDLE 上运行
Python 程序支持多种操作系统
import turtle
import Turtle
turtle import
import turtle.Turtle
半径为4的圆
半径为360的圆
六边形
正方形
20%4
20**2
20*4
20//4
3 False
True 2
True 3
3 True
turtle.circle()指令只能绘制圆或者圆弧
turtle.circle()的参数为直径,turtle.circle(30)绘制的图形半径为15
turtle.dot()指令的作用是绘制圆点
turtle.dot()的参数为半径,turtle.dot(30)绘制的图形半径为30
turtle.color()
turtle.bgcolor()
turtle.pencolor()
turtle.fill_color()
吉祥 如意
吉祥如意
ab
a b
12
102
程序出错
‘10 2’
2024%3
2024//3
2024/3
2024\\3
print((0>1)or(2>1))
print(not 1)
print((1>=0)and(1>=2))
print(True!=1)
0
6
12
1
True and False
not False
3<4
4!=5
File中的Open
Edit中的Undo
Run中的Run Module
Options中的Configure IDLE
锲而舍之,朽木不折;
锲而不舍,金石可镂
锲而不舍,金石可镂。
锲而舍之,朽木不折;
锲而舍之,朽木不折;
锲而不舍,金石可镂。
True
False
17
39
“16 2”
18
162
16 2
for
if
else
Break
<=
or
==
%
-8
8
-7
7
发表评论 取消回复