Search Header Logo

python基础知识练习

Authored by He Yinying

Computers

1st Grade

Used 76+ times

python基础知识练习
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python语言属于(   )。

机器语言

汇编语言

高级语言

科学计算语言

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python程序文件的扩展名是(   )

A、.python

B、 .pyt

C、 .pt 

 D、 .py

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

以下叙述中正确的是(   )

A. Python 3.x与Python 2.x兼容

B. Python语句只能以程序方式执行

C. Python是解释型语言

D. Python语言出现得晚,具有其他高级语言的一切优点

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列标识符中合法的是(   )。

A. i'm

B. _

C. 3Q

D. for

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

如要使变量b存储整数5,下列赋值语句写法正确的(     )

A. b=‘5’

B. b=“5”

C. 5=b

D. b=5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

某同学先后给变量a赋值情况如下:

a=100

a=a+1

a=”abc”

你能告诉这个同学变量a到底存储的是哪个量吗?( )

A.100

B. abc

C.111

D.都有可能

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python表达式中,可以使用(   )控制运算的优先顺序。

A. 圆括号()

B. 方括号[]

C. 大括号{}

D. 尖括号<>

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?