A.Monday
B.Tuesday
C.Wednesday
D.没有显示
第3题
给出如下代码
importturtle
defdrawLine(draw):
turtle.pendown()ifdrawelseturtle.penup()
turtle.fd(50)
turtle.right(90)
drawLine(True)
drawLine(True)
drawLine(True)
drawLine(True)
以下选项中描述错误的是()。
A.运行代码,在PythonTurtleGraphic中,绘制一个正方形
B.代码defdrawLine(draw)中的draw可取值True或者False
C.代码drawLine(True)中True替换为-1,运行代码结果不变
D.代码drawLine(True)中True替换为0,运行代码结果不变
第4题
给出如下代码
importturtle
defdrawLine(draw):
turtle.pendown()ifdrawelseturtle.penup()
turtle.fd(50)
turtle.right(90)
drawLine(True)
drawLine(0)
drawLine(True)
drawLine(True)
turtle.left(90)
drawLine(0)
drawLine(True)
drawLine(True)
以下选项中描述错误的是()
A.运行代码,在PythonTurtleGraphic中,绘制一个数码管数字2
B.代码drawLine(True)中True替换为0,运行代码结果不变
C.代码drawLine(True)中True替换为-1,运行代码结果不变
D.代码defdrawLine(draw)中的draw可取值0、1、-1等
第5题
A.A. The Value is:Dog
B.B. The Value is:Cat
C.C. The Value is:Human
D.D.The Value is:10
第6题
A.A. [‘H’, ‘ppy birthd’, ‘y to you!’]
B.B.“Happy birthday to you!”
C.C.运行出错
D.D. [‘Happy’, ‘birthday’, ‘to’, ‘you!’]
第8题
A.编写C程序的过程通常称为编辑,结果将得到 .c源文件
B.C源程序经过编译,将生成本机目标代码文件,扩展名为obj
C.链接过程通常是将目标代码文件和程序中使用到的其他代码连接在一起
D.运行结果不对,通常是由于语法错误引起的
第9题
A.3 3 3
B.3 4 5
C.4 4 4
D.4 5 6
第10题