python2-lesson01

python2-lesson01

2nd - 11th Grade

10 Qs

quiz-placeholder

Similar activities

0610-Microbit

0610-Microbit

9th - 12th Grade

10 Qs

計時器概念

計時器概念

8th Grade

15 Qs

Word基本測驗

Word基本測驗

3rd - 5th Grade

10 Qs

打字測驗2

打字測驗2

3rd Grade

12 Qs

顺序结构复习

顺序结构复习

10th Grade

10 Qs

J3电脑系统

J3电脑系统

9th Grade

10 Qs

四年級中文打字期末評量

四年級中文打字期末評量

4th Grade

10 Qs

信義全方位不動產達人

信義全方位不動產達人

1st - 2nd Grade

15 Qs

python2-lesson01

python2-lesson01

Assessment

Quiz

Computers

2nd - 11th Grade

Medium

Created by

hang zheng

Used 92+ times

FREE Resource

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的类型是?

数字

字符串

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

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

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?