python2-lesson01

python2-lesson01

2nd - 11th Grade

10 Qs

quiz-placeholder

Similar activities

scratch 小試身手

scratch 小試身手

3rd Grade

10 Qs

scratch

scratch

11th - 12th Grade

10 Qs

113.2國三第二章網路連接(2)

113.2國三第二章網路連接(2)

9th Grade

10 Qs

運算思維三

運算思維三

7th - 9th Grade

10 Qs

11301_電腦教室基本守則

11301_電腦教室基本守則

7th Grade

10 Qs

著作權 合理使用2

著作權 合理使用2

7th Grade

11 Qs

Scratch小測驗2

Scratch小測驗2

1st - 5th Grade

10 Qs

Operation System

Operation System

10th - 12th Grade

10 Qs

python2-lesson01

python2-lesson01

Assessment

Quiz

Computers

2nd - 11th Grade

Practice Problem

Medium

Created by

hang zheng

Used 92+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?