Search Header Logo

8-期中总结

Authored by Yilin Chen

Computers

University

Used 14+ times

8-期中总结
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列是合适的 变量、函数、类 等的命名的是:

Python1_3Fun

class

Python3-me

4Python3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列数值变量运算错误的是?

7 / 4= 1.75

7 // 4 = 2

7 % 4 = 3

7 * 4 = 28

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

对列表进行一系列操作后,输出结果为:

[3,2]

[1]

[2]

[3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

已知列表A=[1,2,4,5],我们想要向列表中添加元素 3 得到列表[1,2,3,4,5],下列操作正确的是:

A.append(2,3)

A.append(3,2)

A.insert(2,3)

A.insert(3,2)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列变量a中不属于元组的是:

a = tuple([1,2,3,4])

a = 1,2,3,4

a = (1,)

a = (1)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列不能使用for循环进行遍历的数据类型是

list

tuple

string

int

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

通过下列的循环控制语句之后,输出的值为:

0

15

21

28

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?

Discover more resources for Computers