
python考级培训课后测验-day3

Quiz
•
Computers
•
2nd - 12th Grade
•
Easy

hang zheng
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python 自带的编程环境是?( )
PyScripter
Spyder
Notepad++
IDLE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
关于以下代码的说法正确的是?( ) t = int(turtle.textinput('边数','几边形:')) turtle.circle(50, steps=t) turtle.done()
circle 是画圆的代码,因此该程序运行后的图案一定是圆
运行该程序后,需要用户自己输入边数,确定画 “几边形”
变量 t 没有给出具体的数值,因此该程序运行有错误
该程序运行后,会画出 50 个圆
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
幂运算运算符为?( )
*
*+
**
/
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
这段代码的运行结果是?( )
import turtle
g = turtle.Pen()
g.fillcolor("red")
g.begin_fill()
g.circle(50)
g.pencolor("yellow")
g.fillcolor("green")
g.circle(50, steps=5)
g.end_fill()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
假设 a=20,b=3,那么 a or b 的结果是?( )
20
0
1
3
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
假设 a=2,b=3,那么 a-b*b 的值是?( )
-3
-2
-7
-11
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
以下选项中不符合 Python 变量命名规则的是?( )
name
2_to
_Go
Tea
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
第四章:输入装置

Quiz
•
10th Grade
12 questions
Python_基礎觀念

Quiz
•
9th Grade
15 questions
六年级TMK 单元3 编程与测试

Quiz
•
6th Grade
18 questions
S08.2 作业系统

Quiz
•
11th Grade
12 questions
Scratch介绍与动画基础

Quiz
•
3rd - 6th Grade
12 questions
S07.2 常见的应用软体

Quiz
•
10th Grade
16 questions
S10.5+10.6 通讯媒介传输装置+网络架构

Quiz
•
11th Grade
10 questions
Scratch 交換

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
12 questions
3-5 Digital Citizenship: Appropriate Use

Quiz
•
3rd - 5th Grade
20 questions
logo quiz

Quiz
•
3rd Grade
11 questions
Spanish - English Cognates 4th

Quiz
•
4th - 5th Grade