E. 【202509一级】选择题

    客观题

【202509一级】选择题

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。


选择题

单选题

  1. 在交互模式下输入 1+2+3+4,按回车键后,显示的结果为? {{ select(1) }}
  • 3
  • 10
  • 4
  • 1
  1. 下面程序运行后显示的结果是? {{ select(2) }}

    str(123)+123
    
  • 显示:123
  • 显示:246
  • 会报错
  • 显示:123123
  1. 小会编写了一个程序,运行后显示的结果为? {{ select(3) }}

    a=100
    b=a
    a=b+10
    print('a=',a)
    print('b=',b)
    
  • a=100 b=110
  • a=110 b=100
  • a=110 b=110
  • a=100 b=100
  1. 下面选项中,能够同样计算出正确结果的是? {{ select(4) }}

    shui=108
    meiren=108/6/6
    print('每人分配矿泉水数=',meiren)
    
  • shui=108
    meiren=108/6
    
  • shui=108
    meiren=108/6**2
    
  • shui=108
    meiren=108/6*6
    
  • shui=108
    meiren=(108/6)*6
    
  1. 下列哪个函数可以将字符串转换为整数? {{ select(5) }}
  • float()
  • bool()
  • int()
  • str()
  1. 已知 x=5,y=10,则表达式 x < y and x != 5 的值为? {{ select(6) }}
  • True
  • False
  • 5
  • 10
  1. 下列哪个表达式的结果为 False? {{ select(7) }}
  • 3 > 2
  • 7 == 7
  • 4 >= 5
  • 4 != 5
  1. 关于代码注释,下列说法正确的是? {{ select(8) }}
  • 注释只能写在程序最后
  • 多行注释会影响程序运行速度
  • 不可以多行注释
  • 可以使用 """ """ 进行多行注释
  1. 关于 turtle.color(color1,color2) 说法正确的是? {{ select(9) }}
  • color1 代表填充颜色
  • color2 代表画笔颜色
  • 指令中的参数可以只写一个
  • 两个颜色不能相同
  1. 关于 turtle.circle() 的用法,说法错误的是? {{ select(10) }}
  • turtle.circle(100,180) 画半圆
  • turtle.circle(100) 画半径为100的圆
  • turtle.circle(100,360) 画完整圆
  • turtle.circle(100,step=3) 是画半径为3的弧
  1. 在 IDLE 中可以直接打开的 Python 文件是? {{ select(11) }}
  • speech语音.exe
  • speech语音.Py3
  • speech语音.python
  • speech语音.py
  1. 正确导入 turtle 库的语句是? {{ select(12) }}
  • turtle import
  • import turtle
  • use turtle
  • get turtle
  1. 从 (0,0) 移动到 (120,120) 的正确代码是? {{ select(13) }}
  • turtle.goto(0,0)
  • turtle.backward(120)
  • turtle.goto(120,120)
  • turtle.backward(120)turtle.backward(120)
  1. print(13-2*3) 的输出结果为? {{ select(14) }}
  • 33
  • 报错
  • 7
  • 37
  1. turtle.forward(100) 默认绘制方向是? {{ select(15) }}
  • 向左
  • 向右
  • 向上
  • 向下
  1. 在导入turtle库后,只执行了turtle.forward(100)这一命令,请问以下哪一项不能让画笔回到初始位置? {{ select(16) }}
  • turtle.backward(100)
  • turtle.goto(0,0)
  • turtle.right(100)
  • turtle.home()
  1. 运行代码后,变量 a 的值为? {{ select(17) }}

    a = 3
    b = 5
    a += b
    
  • 3
  • 5
  • 8
  • 15
  1. 变量 a 为整数类型的是? {{ select(18) }}
  • a=float(input())
  • a=str(input())
  • a=input()
  • a=int(input())
  1. “三选一” 正确的逻辑表达式是? {{ select(19) }}
  • 汉堡 and 炸鸡 and 卤肉卷
  • 汉堡 or 炸鸡 or 卤肉卷
  • 汉堡 and 炸鸡 or 卤肉卷
  • 汉堡 or 炸鸡 and 卤肉卷
  1. a=a+5 等价的是? {{ select(20) }}
  • a=+5
  • a+=5
  • a+5=a
  • a+5=5
  1. 程序输出结果为? {{ select(21) }}

    a = int(7.7)
    a+=2
    print(a)
    
  • 10
  • 9
  • 7.7
  • 9.7
  1. 在 Turtle 库中,需将窗口大小设为宽 600 像素、高 400 像素,窗口初始位置距屏幕左边缘 150 像素、距屏幕上边缘 250 像素。以下哪个选项能实现此需求?( ) {{ select(22) }}
  • turtle.setup(150,250,600,400)
  • turtle.setup(600,400,150,250)
  • turtle.setup(400,600,250,150)
  • turtle.setup(250,150,400,600)
  1. 统计班级兴趣,喜欢足球的有 12 人,喜欢篮球的有 10 人,两样都喜欢的有 3 人。问:班级至少有多少人? {{ select(23) }}
  • 25
  • 16
  • 22
  • 19
  1. print(16 == 16.0) 输出结果是? {{ select(24) }}
  • False
  • 3
  • True
  • 3.0
  1. 运算优先级最高的是? {{ select(25) }}
  • =
  • >
  • *
  • not

一级测评

未参加
状态
已结束
规则
乐多
题目
6
开始于
2026-1-3 13:15
结束于
2026-1-17 10:15
持续时间
333 小时
主持人
参赛人数
10