python2-lesson01

python2-lesson01

2nd - 11th Grade

10 Qs

quiz-placeholder

Similar activities

2024年第一学期编程复习

2024年第一学期编程复习

9th - 12th Grade

11 Qs

顺序结构复习

顺序结构复习

10th Grade

10 Qs

网络与通讯2

网络与通讯2

10th Grade - University

14 Qs

計時器概念

計時器概念

8th Grade

15 Qs

Makecode Microbit 28.7.2021

Makecode Microbit 28.7.2021

6th Grade

10 Qs

人工智能

人工智能

8th Grade

10 Qs

2024年编程语言总结

2024年编程语言总结

9th - 12th Grade

11 Qs

運算思維

運算思維

8th - 9th Grade

10 Qs

python2-lesson01

python2-lesson01

Assessment

Quiz

Computers

2nd - 11th Grade

Medium

Created by

hang zheng

Used 88+ 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?