Search Header Logo

python2-lesson01

Authored by hang zheng

Computers

2nd - 11th Grade

Used 95+ times

python2-lesson01
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

下列的变量命名中,哪个是不符和规范的?

number

number_01

123number

NUMBER_02

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

我们在使用键盘打字,对电脑来说是输入还是输出?

输入

输出

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

电脑将画面,文字显示给电脑面前的人,是输入还是输出?

输入

输出

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

现在想从键盘中输入一段文字,存放在变量txt中,下列代码正确的是?

txt=input("请输入一段文字")

txt=input(请输入一段文字)

txt=print("请输入一段文字")

txt=print(请输入一段文字)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

已知a=“测试文字”,现在想将a中的值输出到黑窗口上,下列代码正确的是?

a=print()

a=input()

print(a)

input(a)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

运行下图中的代码,产生的效果是?

程序报错

输出100行123

只输出1行内容:123123123123123123123123.......

什么都不输出

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

a=input(),当运行程序后,a的类型是?

数字

字符串

可以是任何类型,根据实际数据改变

有时是字符串,有时是文字

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?